Repository navigation
SP-3478: Add config versions list command - #443
Merged
Merged
Conversation
List all created versions of a package or branch through pacman's public versions endpoint. Co-Authored-By: Claude <noreply@anthropic.com> Includes-AI-Code: true
Co-Authored-By: Claude <noreply@anthropic.com> Includes-AI-Code: true
|
Buqeta (Buqeta)
marked this pull request as ready for review
October 27, 2026 12:42
Zgjim Haziri (ZgjimHaziri)
approved these changes
Oct 27, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Adds
content-cli config versions list --packageKey <key> [--json], which lists all created versions of a package or a branch (<projectKey>@<branchKey>). Team-to-Team Copy needs it so users can pick which version of a CCM package or branch to copy; content-cli had no command that lists versions (config versions getreturns a single version only).GET /pacman/api/core/packages/{packageKey}/versions(PublicPackageVersionController.findAll, samecanViewPackageVersionscheck asconfig versions get). No pacman change needed.Package <key> has no versions.With--json, the list is written to a file (the form content-deployment-pipeline will read).docs/user-guide/config-commands.mdand added todocs/command-graph.html.Relevant links
Checklist
config-version-list.spec.ts: lists versions; branch key with--json; empty list.tests/integration/commands/configuration-management.spec.ts: CLI parsing passes the branch key and--jsonthrough; rejects a missing--packageKey.tests/commands/configuration-managementand the integration spec pass;tscpasses. Not run against a live tenant yet.Co-Authored-By: Claude noreply@anthropic.com
Includes-AI-Code: true