Skip to content

Command to show tags in a repository #469

Closed

Description

@qweeah

The proposed command is:

Usage:
  oras repository show-tags REPO [flags]

Flags:
  --ca-file string           server certificate authority file for the remote registry
  -d, --debug                    debug mode
  -h, --help                     help for showing tags
      --insecure                 allow connections to SSL registry without certs
  -p, --password string          registry password or identity token
      --password-stdin           read password or identity token from stdin
      --plain-http               allow insecure connections to registry without SSL check
  -u, --username string          registry username
  -v, --verbose                  verbose output

The output should be a list of tags with one tag per line.

Related to #459

Activity

  1. changed the title [-]Command to list tags in a repository[/-] [+]Command to show tags in a repository[/+] on Aug 3, 2022
  2. added this to the v0.15.0 milestone on Aug 3, 2022
  3. junczhu commented on Aug 9, 2022

    @junczhu
    Contributor

    I am interest in this, please assign this issue to me

  4. sajayantony commented on Aug 19, 2022

    @sajayantony
    Contributor

    Recommend keeping this consistent and using list-tags instead of show-tags if we want to keep this command under repository.

    Why don't we move these directly under oras and have oras list-tags and oras list-repositories or oras catalog -

    Basically this is in continuation of the discussion for #470

  5. FeynmanZhou commented on Aug 24, 2022

    @FeynmanZhou
    Member

    @oras-project/oras-maintainers

    IMO, show tags defaults to the repository level, which means it is not necessary to add a noun (root command) repository here.

    Considering we will provide a new group tag in ORAS CLI 0.15, I would suggest putting show tags under the tag group directly and using tag list like the following sample CLI UX. This looks more intuitive to me:

    $ oras tag list library/alpine
    3.10.0
    3.10.1
    3.10.2
    3.10.3
    
  6. sajayantony commented on Aug 24, 2022

    @sajayantony
    Contributor

    How would you differentiate the adding tag command?

  7. Repository owner moved this from Todo to Done in ORAS-Planningon Sep 1, 2022
  8. junczhu commented on Sep 6, 2022

    @junczhu
    Contributor

    For your information, here is the sample output of this command:

    image

    /cc @FeynmanZhou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions