release(eng-12003): Release of arbitrary metadata support#294
Draft
BartoszBlizniak wants to merge 1 commit into
Draft
release(eng-12003): Release of arbitrary metadata support#294BartoszBlizniak wants to merge 1 commit into
BartoszBlizniak wants to merge 1 commit into
Conversation
Member
Author
|
TODO: Bump version |
cloudsmith-iduffy
approved these changes
May 15, 2026
| To replace the content or source identity of an existing entry (content type is fixed after creation): | ||
|
|
||
| ``` | ||
| cloudsmith metadata update your-account/your-repo/your-package meta-slug-perm \ |
Contributor
There was a problem hiding this comment.
Same as feedback on a different PR, we should be consistent about language usage here, myorg, example-org, your-org etc.
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
Release PR for
cloudsmith-cliv1.17.0.This release introduces arbitrary package metadata to the CLI: a standalone
cloudsmith metadatacommand group (CRUD) and push-time--metadata-*flags on everycloudsmith push <format>subcommand. SBOMs, JFrog BuildInfo documents, and other custom JSON payloads can now be attached to packages in a single push command — or managed afterwards via the dedicated subcommand group.What's in this PR
README.md: documents themetadatacommand group and the push-time--metadata-*flags, following the existing structure (one section per feature, examples, failure-behavior note).CHANGELOG.md: adds the1.17.0entry covering both the standalone command group and the push integration.Feature recap
cloudsmith metadatacommand groupmetadata add OWNER/REPO/PACKAGE --content-type ... (--file PATH | --content JSON) [--source-identity ...]metadata list OWNER/REPO/PACKAGE [METADATA_SLUG_PERM] [--source-kind ...] [--classification ...]metadata update OWNER/REPO/PACKAGE METADATA_SLUG_PERM (--file PATH | --content JSON) [--source-identity ...]metadata remove OWNER/REPO/PACKAGE METADATA_SLUG_PERM [-y]Content type is set on creation and cannot be changed. Defaults
--source-identitytocloudsmith-cli@<version>. Supports--output-format json | pretty_json.Push-time
--metadata-*flagsEvery
cloudsmith push <format>subcommand now accepts:--metadata-content-file PATH(or-for stdin)--metadata-content JSON--metadata-content-type MIME--metadata-source-identity TEXTType of Change
Additional Notes
$CLOUDSMITH_METADATA_FAILURE_MODE=warn.Examples
Push:
Push with invalid metadata:
Push with invalid metadata and
$CLOUDSMITH_METADATA_FAILURE_MODEset towarn:Manage existing metadata: