-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
This was moved here by request: #1547 (comment)
What is the version of your ORAS CLI
1.2.3+Homebrew
What would you like to be added?
I'd like an option for oras repo tags to output a table, and more importantly a flag to sort by tag push date. E.g. something like
oras repo tags --sort-by time --order desc --N 100
to give me the last 100 tags (by creation date) sorted by the most recently created tag.
Why is this needed for ORAS?
We have repos with thousands of tags, and we often want to get "the latest" where latest isn't alphabetical, but by push date.
Even piping to less currently is not of much help, because the "latest" tag could be a hash smack in the middle of the alphabetical sorting - Ie oras repo tags | less doesnt help if the last tag pushed has hash 5000 out of 1...100000 etc.
Are you willing to submit PRs to contribute to this feature?
- Yes, I am willing to implement it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request