Hi Daniel,
> On 23 Aug 2019, at 14:59, Daniel Klco <[email protected]> wrote:
>
> I'm just not convinced of the
> value re-implementing in Java brings vs a few simple bash commands.
Sure, it’s more work to do, but you’d benefit from a nice command line menu and
we would unify the tooling. Here are a few examples:
$ docker run -it --env-file=./docker-env apache/sling-cli
Usage: docker run -it --env-file=./docker-env apache/sling-cli [COMMAND]
Apache Sling Committers CLI
Commands:
help Displays help information about the specified command
release Performs release-related operations
$ docker run -it --env-file=./docker-env apache/sling-cli release help
Usage: docker run -it --env-file=./docker-env apache/sling-cli release [COMMAND]
Performs release-related operations
Commands:
create-new-jira-version Creates a new Jira version, if needed, and
transitions any unresolved issues from the version being released to
the next one
list Lists all open releases
prepare-email Prepares an email vote for the releases found in the
Nexus staged repository
tally-votes Counts votes cast for a release and generates the
result email
update-local-site Updates the Sling website with the new release
information, based on a local checkout
update-reporter Updates the Apache Reporter System with the new
release information
help Displays help information about the specified command
$ docker run -it --env-file=./docker-env apache/sling-cli release prepare-email
help
Usage: docker run -it --env-file=./docker-env apache/sling-cli release
prepare-email -r=<repositoryId> [-x=<executionMode>] [COMMAND]
Prepares an email vote for the releases found in the Nexus staged repository
-r, --repository=<repositoryId>
Nexus repository id
-x, --execution-mode=<executionMode>
execution mode: DRY_RUN, INTERACTIVE, AUTO; default: DRY_RUN
Commands:
help Displays help information about the specified command
To help with this I’ve already pushed some code for verifying release
signatures in a branch [2], which could easily be integrated with the rest.
Checking build status is trivial by comparison.
Regards,
Radu
[2] -
https://github.com/apache/sling-org-apache-sling-committer-cli/commit/1c6ea560ddd03947c0fd0b4e14104a1db13b55d6
<https://github.com/apache/sling-org-apache-sling-committer-cli/commit/1c6ea560ddd03947c0fd0b4e14104a1db13b55d6>