Bernd Ahlers
1b5b45907b
Add github rulesets command
2024-03-06 00:20:29 +01:00
Bernd Ahlers
945d3effaa
Update go-github to v60
2024-03-06 00:19:32 +01:00
dependabot[bot]
0313c001b5
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 ( #42 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 14:43:54 +01:00
Marco Pfatschbacher
76468a9b1b
Add checkout --merge-in-base support ( #40 )
...
* Add checkout --merge-in-base support
When using this option, the checkout will try to merge in the
base branch into each module by running:
`git merge --no-edit origin/<base-branch>`
Retain the unmodified "BaseRevision" info in the Module struct
so it can be used in case it was overwritten by
`applyPullRequestsOverride()`
* only merge base if necessary
* Check if baseRevision is set
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com >
---------
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com >
0.41.0
2023-12-05 09:53:02 +01:00
Bernd Ahlers
e0a372ca7a
Remove explicit type parameters
...
Go will infer the types.
0.40.0
2023-11-07 12:21:38 +01:00
Bernd Ahlers
a193bdb951
Update dependencies
2023-11-07 12:19:10 +01:00
Marco Pfatschbacher
754e4fcd3f
Support reading gh app key directly from env ( #39 )
...
* Support reading gh app key directly from env
Pass the app-key directly via GPC_GITHUB_APP_KEY env instead
of reading a file.
A file can still be used with the `app-key-file` flag.
* Fix error output for loading key file
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com >
---------
Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com >
2023-11-07 12:09:42 +01:00
Bernd Ahlers
429d8122c6
Bump to Go 1.21
2023-10-23 10:31:38 +02:00
Bernd Ahlers
f15a846e4c
Push changelog commits after rotation
0.39.0
2023-10-23 10:26:16 +02:00
Bernd Ahlers
9f81c49957
Add TODO about pushing changelog commits
2023-08-08 17:48:17 +02:00
Bernd Ahlers
385ec22572
Print all errors at the end of update command
...
This makes it easier to spot any errors when updating the project
repositories by displaying them at the end of the command.
2023-08-08 17:47:05 +02:00
Bernd Ahlers
a231cc4729
No issues or pulls are fine for GHSA changelog snippets
0.38.1
2023-08-02 17:30:32 +02:00
Bernd Ahlers
9ea92aae7d
Don't print usage for project render errors
2023-08-02 17:14:49 +02:00
Bernd Ahlers
b350599887
Don't print usage for render errors
2023-08-02 17:13:33 +02:00
Bernd Ahlers
fef668e21b
Render error logs on stderr instead of stdout
2023-08-02 17:10:53 +02:00
Bernd Ahlers
36b98bb1ba
Make changelog lint command work without repository checkout
0.38.0
2023-08-02 15:57:59 +02:00
Bernd Ahlers
74cc0f4054
Add --strict flag to changelog lint command
...
In strict mode the command exits with an error if no files can be found.
2023-08-02 15:57:25 +02:00
Bernd Ahlers
10719444e3
Extend lint command to render each snippet
2023-08-02 09:23:09 +02:00
Bernd Ahlers
18dda2d75a
Add --render-no-changes parameter
2023-05-25 19:20:18 +02:00
Bernd Ahlers
87b47beabd
Update dependencies
2023-05-25 14:50:04 +02:00
Bernd Ahlers
46de571cf1
Render a note when a changelog doesn't contain any changes
2023-05-25 14:41:39 +02:00
Bernd Ahlers
22b0129a75
Add --allow-pre-release flag to changelog release:path command
2023-05-03 18:36:42 +02:00
Bernd Ahlers
0f689e6644
Allow pre-relase versions in Applier#ChangelogRelease
0.37.1
2023-05-03 14:49:18 +02:00
Bernd Ahlers
4d9a8a4f3e
Handle changelog rotation when creating new branches during a release
0.37.0
2023-05-02 19:27:56 +02:00
Bernd Ahlers
08df78a399
Fix error message
2023-05-02 19:02:08 +02:00
Bernd Ahlers
27e54d23eb
Add --skip-invalid-snippets parameter to project-changelog render
2023-04-17 15:30:03 +02:00
Bernd Ahlers
d323ca4dac
Show error messages in quiet mode
2023-04-17 15:22:28 +02:00
Bernd Ahlers
bcbae96236
Support GitHub URLs with credentials and remove/redact them
0.36.1
2023-03-29 17:02:05 +02:00
Bernd Ahlers
ce79ae6828
Return current version in graylog-version command with no --set option
0.36.0
2023-03-29 15:25:13 +02:00
Bernd Ahlers
9195c91f6f
Add --quiet flag to root command
0.35.0
2023-02-17 13:08:55 +01:00
Jan Heise
cde5874357
Added a first version of a data-node startup config in Intellij ( #36 )
...
Co-authored-by: Bernd Ahlers <bernd@graylog.com >
2023-02-17 13:08:34 +01:00
Bernd Ahlers
faf746748e
Sign Windows binary ( #37 )
2023-02-17 12:13:43 +01:00
Bernd Ahlers
2c7e1f5120
Update to Go 1.20
0.34.0
2023-02-17 11:35:02 +01:00
Bernd Ahlers
65aab90ef1
Add --md-header-base-level CLI option
2023-02-17 10:26:00 +01:00
Bernd Ahlers
9397b54c8f
Correctly set SkipHeader config
2023-02-17 10:06:34 +01:00
Bernd Ahlers
69d2007ae6
Support reading snippets from stdin and skip header
2023-02-15 19:04:33 +01:00
Bernd Ahlers
d323121ae9
Update dependencies
2023-02-15 18:30:13 +01:00
Bernd Ahlers
73996d0fa1
Skip changelog generation if the the target path already exists
...
This avoids a build error when we have to rebuild a release and the
changelog was already rotated in a previous build attempt.
0.33.1
2023-02-01 14:36:13 +01:00
Bernd Ahlers
fc5ee6c5a3
Replace go-spew with pp
2023-01-13 12:46:51 +01:00
Bernd Ahlers
08e384f468
Add command to generate a GitHub app installation access token
...
Disable the branch-protection command. We don't use it anymore and it's
now dangerous to use because it would override our manualy brancht
protection configuration.
2023-01-13 12:46:45 +01:00
Bernd Ahlers
5d8da4be51
Add github.com/golang-jwt/jwt/v4 dependency
2023-01-04 18:04:57 +01:00
Bernd Ahlers
44091ebc0a
Add project-changelog render command
...
This can be used to render the changelog for all modules in the project.
2023-01-04 15:43:38 +01:00
Bernd Ahlers
7063cbf08d
Add support for selecting modules based on their assembly
2023-01-04 15:43:33 +01:00
Bernd Ahlers
d2e73d2cbb
Add support for template files with ".xml-tmpl" suffix ( #35 )
...
Keep support for ".xml.tmpl" template file suffixes for backwards
compatibility.
Fixes #33
0.33.0
2023-01-03 15:39:46 +01:00
Bernd Ahlers
0435d365be
Check if response is nil before accessing the status code
...
Fixes a potential null pointer access.
2023-01-03 12:40:14 +01:00
Bernd Ahlers
06380afc7e
Fix unreachable statement issue
...
The logger.Fatal call already calls os.Exit so the usage info wouldn't
be shown. Use logger.Error instead.
2023-01-03 12:36:22 +01:00
Bernd Ahlers
452c9899b0
Add fallback if git tag retrieval doesn't work
...
This can happen when the repository doesn't contain any tags. (e.g. on
default Jenkins builds)
2023-01-03 11:41:02 +01:00
Bernd Ahlers
18c32108f1
Update dependencies
2023-01-03 11:17:10 +01:00
Bernd Ahlers
604bb1f211
Skip changelog release if there is no unreleased path
0.32.1
2022-12-14 16:39:25 +01:00
Bernd Ahlers
9ad899dcf8
Use curl -fsSL flags
2022-12-05 13:49:45 +01:00