Commit Graph

128 Commits

Author SHA1 Message Date
Bernd Ahlers
290d8e3b8f Fix concurrency 2022-12-13 17:58:53 +01:00
Bernd Ahlers
6bddf052cd Add dependency-review and concurrency 2022-12-13 17:55:42 +01:00
Bernd Ahlers
7564a9488d Add CodeQL 2022-12-13 17:51:30 +01:00
Bernd Ahlers
9ad899dcf8 Use curl -fsSL flags 2022-12-05 13:49:45 +01:00
Bernd Ahlers
6e44b035b5 Add "changelog release:path" command
This command can be used when you want to release a changelog for a
repository that is not part of a graylog-project setup.
0.32.0
2022-11-30 17:45:19 +01:00
Bernd Ahlers
7eb37f4760 Skip changelog release for pre-releases 0.31.0 2022-11-29 17:52:51 +01:00
Bernd Ahlers
f5840b9abc Check if the changelog target path already exists 2022-11-29 15:38:23 +01:00
Bernd Ahlers
4090eba32d Rotate changelog in the release process 2022-11-29 15:35:01 +01:00
Bernd Ahlers
07aa9ed97f Add Windows support 2022-11-29 12:39:04 +01:00
Bernd Ahlers
c3c7218398 Add lint command to check snippets for syntax and content errors 2022-11-29 12:28:20 +01:00
Bernd Ahlers
bed5cf969c Add golang.org/x/exp dependency 2022-11-29 12:10:05 +01:00
Bernd Ahlers
f9b4d2e5ad Render contributors 2022-11-24 17:30:29 +01:00
Bernd Ahlers
74a8655142 Support rendering multiple snippets directories into one changelog 2022-11-24 16:47:16 +01:00
Bernd Ahlers
b503ee3584 Improve output for render errors 2022-11-24 16:27:11 +01:00
Bernd Ahlers
b3fad6a86f Add "assembly_platforms" field to manifest 0.30.0 2022-11-15 14:35:31 +01:00
Bernd Ahlers
d1a314012b Tidy go.sum 2022-11-15 14:35:07 +01:00
Bernd Ahlers
971c2233bc Polish the changelog commands
- Fix default gemplate spacing
- Provide feedback about written files
- Make message validator in interactive mode less strict
- Better usage information in command line help
0.29.1
2022-10-21 14:05:55 +02:00
Bernd Ahlers
f9d422b9fa Fix GitHub asset upload for darwin binaries 2022-08-31 14:28:27 +02:00
Bernd Ahlers
c590f4df83 Update README with new commands 0.29.0 2022-08-31 14:15:02 +02:00
Bernd Ahlers
ae581ada0e Remove manifest generate question that we always answer with Yes
Fixes #30
2022-08-31 13:54:07 +02:00
Bernd Ahlers
d580127551 Add changelog management commands (#31)
* Update cobra and viper to their latest versions
* Start a changelog command
* Start changelog release command
* Add Document360 specific HTML formatter
* Add "new" command to create a new changelog entry
* Hide unfinished changelog release command for now
* Use Go version 1.19
* Update golang.org/x/sys to fix build error
* Clean workspace after each build
* Disable CGO for tests
* Remove wrong git checkout
* Update dependencies
2022-08-31 13:37:09 +02:00
Bernd Ahlers
f67d6eee10 Remove GC specific options from server run configuration
This should make it work for JDK 8 and 17.
2022-08-24 12:34:15 +02:00
Bernd Ahlers
b7971db06a Improve verbose status output
Allow multiple "-v" flags to increase the verbosity.
2022-07-06 11:58:45 +02:00
Bernd Ahlers
85fff0cd39 Don't set runner env variables for default ports
This allows the usage of these env variables in a .env file for
docker-compose.
2022-06-28 19:37:11 +02:00
Bernd Ahlers
938f9e1bc9 Build ARM64 binaries for macOS 2022-02-08 21:45:25 +01:00
Bernd Ahlers
8f63511bae Change commit ID position in status output
This puts the branch first as it was before the introduction of the
commit ID. This makes it easier in interactive use to see the branch.
2021-11-30 18:39:36 +01:00
Bernd Ahlers
47b840c8d2 Use long commit ID for the binary metadata
To avoid future ambiguities.
2021-11-16 15:00:41 +01:00
Marco Pfatschbacher
aac1e8d22a Print commit IDs with the status command (#29)
That makes it easier to identify if a build contained a certain change or not.

Co-authored-by: Bernd Ahlers <bernd@graylog.com>
0.28.0
2021-11-16 14:55:35 +01:00
Donald Morton
82e2d05042 Merge pull request #28 from supahgreg/feature/use-actual-executable-name
Use the actual executable name in usage output.
2021-11-07 13:16:47 -06:00
supahgreg
f60fc05979 Use the actual executable name in usage output.
The executable might be named differently than 'graylog-project-cli' (e.g. https://github.com/Graylog2/graylog-project shows renaming to 'graylog-project').
2021-11-06 09:53:53 -05:00
Bernd Ahlers
fd58a3eb5b Print go version during build 0.27.0 2021-11-05 11:40:04 +01:00
Bernd Ahlers
9375d41870 Use red color for error output in GitErrOk function 2021-11-05 11:37:10 +01:00
Bernd Ahlers
b4118fbeb2 Add "--skip-tests" flag to apply-manifest command
This will use the `-DskipTests` property to run the maven build command.
2021-11-05 11:32:29 +01:00
Bernd Ahlers
10f1137e77 Use relative paths in "web-modules.json"
This makes the checkout usable in other environments where the
directories might be mounted into a different location. (e.g. a Docker
container)
0.26.1
2021-10-28 14:19:33 +02:00
Bernd Ahlers
b733609bcc Don't set parent for server module in maven-parent command 0.26.0 2021-01-28 10:39:46 +01:00
Donald Morton
a3fc628c71 Add ansi color to release output when running on Jenkins (#26)
Co-authored-by: Bernd Ahlers <bernd@graylog.com>
2021-01-27 18:01:34 +01:00
Bernd Ahlers
72b8cd19d8 Support PR HTTP URLs for the --pull-requests option of checkout
This makes it possible to use a full HTTP URL to a pull request.
0.25.0
2020-12-17 13:18:35 +01:00
Bernd Ahlers
426e406521 Pretty-print JSON output in web-modules.json 0.24.0 2020-11-20 09:54:54 +01:00
Bernd Ahlers
d13abae65a Output web-modules.json into server web module 2020-11-20 09:50:45 +01:00
Bernd Ahlers
c77cbd2239 Use projectstate.Sync where applicable 2020-11-19 23:10:21 +01:00
Bernd Ahlers
e94d5776ff Add projectstate.Sync function
This takes care of creating the .xml files in the project repo and
writes the available web modules into the server repo as
web-modules.json.
2020-11-19 23:09:09 +01:00
Bernd Ahlers
a3a9275675 Less verbose logging in xmltemplate.WriteXmlFile 2020-11-19 19:09:05 +01:00
Bernd Ahlers
4ed9c780f0 Update vendor directory 2020-11-19 17:37:55 +01:00
Bernd Ahlers
a5120b262b Update dependencies 2020-11-19 17:37:36 +01:00
Bernd Ahlers
04a4de495d Change license to SSPL
See the following links for more details:

- https://www.graylog.org/post/graylog-announces-4-0-release-of-its-log-management-platform
- https://www.graylog.org/post/graylog-v4-0-licensing-sspl
2020-11-16 17:19:14 +01:00
Donald Morton
eb20310dab Add a bit more documentation. 2020-09-21 15:16:50 -05:00
Bernd Ahlers
0ff8279521 Fix repository detection for --pull-requests in checkout command 0.23.1 2020-08-03 15:47:50 +02:00
Donald Morton
725050913b Clean up old builds and artifacts more agressively. 2020-06-25 09:23:06 -05:00
Donald Morton
6884dce274 Merge branch 'master' of github.com:Graylog2/graylog-project-cli 2020-06-11 13:32:08 -05:00
Donald Morton
51ea721b92 Don't run build on branch indexing 2020-06-11 13:29:51 -05:00