Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add experimental mark to filtered tag listing #994

Merged
merged 18 commits into from
Jun 29, 2023
Merged
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
6 changes: 3 additions & 3 deletions cmd/oras/root/repo/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ Example - Show tags of the target OCI layout folder 'layout-dir':
Example - Show tags of the target OCI layout archive 'layout.tar':
oras repo tags --oci-layout layout.tar

Example - Show tags associated with a particular tagged resource:
Example - [Experimental] Show tags associated with a particular tagged resource:
oras repo tags localhost:5000/hello:latest

Example - Show tags associated with a digest:
Example - [Experimental] Show tags associated with a digest:
oras repo tags localhost:5000/hello@sha256:c551125a624189cece9135981621f3f3144564ddabe14b523507bf74c2281d9b
`,
Args: cobra.ExactArgs(1),
Expand Down Expand Up @@ -95,7 +95,7 @@ func showTags(ctx context.Context, opts showTagsOptions) error {
}
filter = desc.Digest.String()
}
logger.Infof("[Experimental] querying tags associated to %s, it may take a while...\n", filter)
logger.Warnf("[Experimental] querying tags associated to %s, it may take a while...\n", filter)
}
return finder.Tags(ctx, opts.last, func(tags []string) error {
for _, tag := range tags {
Expand Down