This is an automated email from the ASF dual-hosted git repository. royteeuwen pushed a commit to branch feature/SLING-13289-complete-image-rename in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git
commit 3abc65ed48fec3137a7634dd8368001da5d1d64e Author: Roy Teeuwen <[email protected]> AuthorDate: Fri Aug 14 21:24:35 2026 +0200 SLING-13289 - complete the Docker image rename Three references to the old apache/sling-cli image were left behind. The one that matters is CommandProcessor: it sets picocli's program name, so every usage message the tool prints told the user to run an image that no longer exists. run.sh had the same problem, and two README examples were missed because they were added while the rename was in flight. --- README.md | 4 ++-- run.sh | 2 +- src/main/java/org/apache/sling/cli/impl/CommandProcessor.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 07152c3..88f7cba 100644 --- a/README.md +++ b/README.md @@ -224,12 +224,12 @@ After `release:perform` has staged the artifacts, drive the rest with the CLI: docker run --env-file=./docker-env \ -v "$HOME/.sling-cli:/root/.sling-cli" \ - apache/sling-cli release finalize --repository=$STAGING_REPOSITORY_ID --execution-mode=AUTO + apache/sling-committer-cli release finalize --repository=$STAGING_REPOSITORY_ID --execution-mode=AUTO The news page is deliberately *not* part of `finalize` — the release guide only asks for a news entry when a release warrants an announcement. Run it by hand for those: - docker run --env-file=./docker-env apache/sling-cli release update-news --release "Apache Sling Foo 1.2.0" --link /documentation/bundles/foo.html --execution-mode=AUTO + docker run --env-file=./docker-env apache/sling-committer-cli release update-news --release "Apache Sling Foo 1.2.0" --link /documentation/bundles/foo.html --execution-mode=AUTO If the vote does not pass, **drop** the staging repository: diff --git a/run.sh b/run.sh index 5200cf9..d8c579e 100755 --- a/run.sh +++ b/run.sh @@ -12,4 +12,4 @@ # and limitations under the License. # ---------------------------------------------------------------------------------------- -docker run -it --env-file=./docker-env apache/sling-cli $@ +docker run -it --env-file=./docker-env apache/sling-committer-cli $@ diff --git a/src/main/java/org/apache/sling/cli/impl/CommandProcessor.java b/src/main/java/org/apache/sling/cli/impl/CommandProcessor.java index e03aca8..dc5d2a0 100644 --- a/src/main/java/org/apache/sling/cli/impl/CommandProcessor.java +++ b/src/main/java/org/apache/sling/cli/impl/CommandProcessor.java @@ -46,7 +46,7 @@ import static org.osgi.service.component.annotations.ReferenceCardinality.MULTIP import static org.osgi.service.component.annotations.ReferencePolicy.DYNAMIC; @CommandLine.Command( - name = "docker run -it --env-file=./docker-env apache/sling-cli", + name = "docker run -it --env-file=./docker-env apache/sling-committer-cli", description = "Apache Sling Committers CLI") @Designate(ocd = Config.class) @Component(service = CommandProcessor.class)
