-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[githubgen] PR feedback follow-ups (#655)
* add template for repo name Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * fix tests, add chlog Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * add default code owner flag and use it Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * move constants to separate file Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * update deprecated github client Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * extract function Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * make func more testable, generate test file Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * add happy path test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * mock getgithubmembers Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * refactoring, make unit test more better Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * refactoring with unit test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * make github org for membership check configurable, make path suffix trimming configurable Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * add back to versions.yaml Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * add more cmd line flag defaults Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * adjust changelog msg Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * add better method doc comment Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * update readme with new flags Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * fix test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * make precommit Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * fix templates Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * fix markdown line length Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * remove pretty repo name from input flags and file templates Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * remove otel specific membership hint from file templates, remove hardcoded otel github org usage Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * fix test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * Update githubgen/README.md Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * exchange confmap provider metadata reading for normal yaml unmarshal * move constant * use default code owners instead of exiting with error when a component doesnt have codeowners * handle file read/writing relative to the configured folder * linter Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * distributions unit test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * add license header Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * refactoring plus test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * typo Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * another unit test Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * adapt codeowners file to latest PR Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * adapt error message Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> * fix linter issue Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> --------- Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
- Loading branch information
Showing
15 changed files
with
598 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: 'enhancement' | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. crosslink) | ||
component: githubgen | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Enhanced githubgen tool with more options to better fit arbitrary repos, added unit tests | ||
|
||
# One or more tracking issues related to the change | ||
issues: [655] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.