Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ Flags stand for:
- **vcsuri** - flag to denote uri of vcs repository for the component (used if component API key is not used and explicit component UUID is not provided).
- **--repo-path** - Repository path for monorepo components (optional, used in combination with vcsuri for component resolution).
- **--product** - flag to denote UUID of Product which packages Component or Product for which we inquiry about its version via --component flag, UUID must be obtained from [ReARM](https://relizahub.com) (optional).
- **--branch** - flag to denote required branch of chosen Component or Product (required).
- **--branch** - name of the chosen Component's branch — or, for a Product, its Feature Set (a Product's Feature Set is the product-level equivalent of a Component branch) (required).
- **--lifecycle** - Lifecycle of the last known release to return, default is 'ASSEMBLED' (optional, can be - [CANCELLED, REJECTED, PENDING, DRAFT, ASSEMBLED, GENERAL_AVAILABILITY, END_OF_SUPPORT]). Will include all higher level lifecycles, i.e. if set to CANCELLED, will return releases in any lifecycle.
- **--operator** - Match operator for a list of approvals, 'AND' or 'OR', default is 'AND' (optional).
- **--approvalentry** - Approval entry names or IDs (optional, multiple allowed).
Expand Down Expand Up @@ -1184,7 +1184,7 @@ Sample `batch.json` (two releases, each carrying a CycloneDX SBOM):
{
"displayIdentifier": "registry.acme.com/widget:1.4.0",
"type": "CONTAINER",
"softwareMetadata": { "packageType": "OCI", "digests": ["sha256:abc123"] },
"softwareMetadata": { "packageType": "CONTAINER", "digests": ["sha256:abc123"] },
"artifacts": [
{ "displayIdentifier": "deliverable-sbom", "type": "BOM", "bomFormat": "CYCLONEDX", "storedIn": "REARM", "inventoryTypes": ["SOFTWARE"], "filePath": "./sboms/widget-image.cdx.json" }
]
Expand Down
2 changes: 1 addition & 1 deletion cmd/addReleases.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Example batch.json (one element shown):
{
"displayIdentifier": "registry.acme.com/widget:1.4.0",
"type": "CONTAINER",
"softwareMetadata": { "packageType": "OCI", "digests": ["sha256:abc123"] },
"softwareMetadata": { "packageType": "CONTAINER", "digests": ["sha256:abc123"] },
"artifacts": [
{ "displayIdentifier": "deliverable-sbom", "type": "BOM", "bomFormat": "CYCLONEDX", "filePath": "./sboms/widget-image.cdx.json" }
]
Expand Down
2 changes: 1 addition & 1 deletion cmd/getLatestRelease.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func getLatestReleaseFunc(debug string, rearmUri string, component string, produ
func init() {
getLatestReleaseCmd.PersistentFlags().StringVar(&component, "component", "", "Component or Product UUID from ReARM for which to obtain latest release")
getLatestReleaseCmd.PersistentFlags().StringVar(&product, "product", "", "Product UUID from ReARM to condition component release to this product (optional)")
getLatestReleaseCmd.PersistentFlags().StringVarP(&branch, "branch", "b", "", "Name of branch or Feature Set from ReARM for which latest release is requested (required)")
getLatestReleaseCmd.PersistentFlags().StringVarP(&branch, "branch", "b", "", "Name of the Component branch — or, for a Product, its Feature Set (the product-level equivalent of a branch) — for which the latest release is requested (required)")
getLatestReleaseCmd.MarkPersistentFlagRequired("branch")
getLatestReleaseCmd.PersistentFlags().StringVar(&vcsUri, "vcsuri", "", "URI of VCS repository (optional)")
getLatestReleaseCmd.PersistentFlags().StringVar(&repoPath, "repo-path", "", "Repository path for monorepo components (optional)")
Expand Down
Loading