Repository navigation
feat: getlatestrelease --env, releasebyversion as OBOM, replacetags product+env - #40
Merged
Merged
Conversation
…placetags product+env - getlatestrelease --env now sends approvedEnvironment: only releases approved for that environment (DEV, BUILD, TEST, SIT, UAT, PAT, STAGING, PRODUCTION) are considered, orthogonal to --lifecycle and the approval conditions. The flag was parsed but never sent before. With --cdx this is the ReARM equivalent of the old exportbundle --env. - releasebyversion: help and README now say what it outputs, the OBOM of the exact version (CycloneDX 1.6), which the backend already returned. - devops replacetags: --product with --version uses the exact-version OBOM, --product with --env uses the latest release approved for the environment on the product's base feature set. The environment-only mode and the two helpers behind it called operations that no longer exist on the backend; they are gone, and --env without --product now errors with the reason. - README and docs/devops.md document all of the above, including that environment approvals are add-only. - getlatestrelease --branch is no longer required by the CLI: a Product defaults to its base Feature Set on the backend. - replacetags provenance names the product and environment. ReARM-Agentic-Session: obom-env-version-1788648636 ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b Co-Authored-By: Claude Fable 5.1 <[email protected]>
getlatestrelease --component, releasebyversion --component and devops replacetags --product now take either a UUID or a name. A value that does not parse as a UUID is sent as componentName and resolved by ReARM within the key organization: case-insensitive, active components and products only, exactly one hit required -- an unknown or ambiguous name is an error. Docs updated. ReARM-Agentic-Session: obom-by-name-1788651732 ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b Co-Authored-By: Claude Fable 5.1 <[email protected]>
…es uuid or name The CLI no longer decides whether --component / --product is a uuid or a name. The value is sent as the component reference and ReARM resolves it: a uuid, or with an organization-scoped key the unique active name (unknown or ambiguous names error). Removes the client-side uuid check and the separate componentName field. ReARM-Agentic-Session: obom-by-name-backend-1788653662 ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b Co-Authored-By: Claude Fable 5.1 <[email protected]>
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.
What
getlatestrelease --envnow works: it sendsapprovedEnvironment, so only releases approved for that environment (DEV, BUILD, TEST, SIT, UAT, PAT, STAGING, PRODUCTION) are considered, orthogonal to--lifecycleand the approval-entry conditions. The flag was parsed but never sent before. With--cdxthis is the ReARM equivalent of the old Reliza Hubexportbundle --env.--branchis no longer CLI-required: a Product defaults to its base Feature Set on the backend (needs the matching backend release).releasebyversion: help and README now say what it outputs -- the OBOM of the exact version as CycloneDX 1.6 -- which the backend already returned. This is the exact-version OBOM export.devops replacetags:--productwith--versionuses the exact-version OBOM;--productwith--envuses the latest ASSEMBLED release approved for the environment on the product's base Feature Set. The environment-only mode and the two helpers behind it called operations that no longer exist on the backend; they are removed, and--envwithout--producterrors with the reason.--productis a UUID. Provenance line names the product and environment.docs/devops.mddocument the above, including that environment approvals are not revoked by a later policy disapproval (only an admin override removes them).Validation
go build+go vetclean; exercised against a sandbox with product releases carrying environment approvals (see the conversation on the matching backend change).Follow-up: names instead of uuids
getlatestrelease --component,releasebyversion --componentanddevops replacetags --productaccept either a UUID or a name. The CLI passes the value through unchanged; ReARM resolves it -- a uuid, or with an organization-scoped key the unique active component or product with that name (case-insensitive; unknown or ambiguous names error). Needs the matching backend release.🤖 Generated with Claude Code