Skip to content

docs: fix addreleases packageType example + clarify --branch is a Feature Set for Products#28

Merged
taleodor merged 3 commits into
mainfrom
2026-05-addreleases-oci-docfix
May 31, 2026
Merged

docs: fix addreleases packageType example + clarify --branch is a Feature Set for Products#28
taleodor merged 3 commits into
mainfrom
2026-05-addreleases-oci-docfix

Conversation

@taleodor-claude

@taleodor-claude taleodor-claude commented May 31, 2026

Copy link
Copy Markdown
Contributor

Two CLI documentation corrections surfaced while wiring a real rearm-actions/add-multi-release batch in CI (card-shuffle-multi-release) against a live ReARM org.

1. packageType example: OCICONTAINER

The addreleases batch example (--help long text and README §20) used "packageType": "OCI". OCI is not a valid PackageType enum value (MAVEN/NPM/NUGET/GEM/PYPI/CONTAINER); addReleasesProgrammatic rejects it with No value found for name 'OCI'. Container-image deliverables use CONTAINER.

2. getlatestrelease --branch is a Feature Set for Products

For a Component, getlatestrelease --branch is the VCS branch name. For a Product it is the Feature Set name — e.g. the default one is "Base Feature Set", not main; getlatestrelease --branch main on a Product silently returns nothing. Clarified the flag help + the getlatestrelease README section. (A Product Feature Set is the product-level equivalent of a Component branch.)

Note: this clarification applies only to getlatestrelease. For addrelease and getversion, --branch is always the VCS branch (it populates the Component branch) and never a Feature Set — those flag helps are left as "Name of VCS Branch used".

Test plan

  • go build passes
  • packageType: CONTAINER batch verified end-to-end via add-multi-release (3 component releases → single product auto-integrate)
  • Confirmed Product base branch is Base Feature Set; getlatestrelease --branch "Base Feature Set" returns the product release

taleodor-claude and others added 2 commits May 31, 2026 17:36
…-> CONTAINER)

The batch example used "packageType": "OCI", which is not a valid PackageType
enum value (MAVEN/NPM/NUGET/GEM/PYPI/CONTAINER) — addReleasesProgrammatic rejects
it with "No value found for name 'OCI'". Container image deliverables use
CONTAINER. Caught while wiring a real add-multi-release batch in CI.

ReARM-Agentic-Session: cli-docs-oci-fix-1780248945
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
For a Component the --branch flag (addrelease, getversion, getlatestrelease) is
the VCS branch name; for a Product it is the Feature Set name — a Product's
Feature Set is the product-level equivalent of a Component branch (e.g. the
default one is "Base Feature Set", not "main"). Standardizes the flag help and
README wording so callers query Product releases with the right name.

ReARM-Agentic-Session: cli-docs-oci-fix-1780248945
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
@taleodor-claude taleodor-claude changed the title docs(addreleases): fix packageType example (OCI -> CONTAINER) docs: fix addreleases packageType example + clarify --branch is a Feature Set for Products May 31, 2026
…CS branch only)

For addrelease and getversion, --branch is always the VCS branch name (it
populates the Component branch); it never denotes a Product Feature Set. Revert
those two flag-help strings to "Name of VCS Branch used". The Feature Set
clarification is correct only for getlatestrelease (and its README section),
which is left as-is.

ReARM-Agentic-Session: cli-docs-oci-fix-1780248945
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
@taleodor
taleodor merged commit 6bba481 into main May 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants