-
Notifications
You must be signed in to change notification settings - Fork 181
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
Add filter to oras repo tags
to filter by sha or tag
#799
Comments
Implemented a simple WIP which works for digests. |
The idea is great. However, we still need to consider the performance. According to #800 (comment), As @qweeah has suggested, we may want to
|
There are throttling issues to consider since registries typically throttle the tag listing API. Also we should consider outputting a progress like curl so that users know that there is something happening rather than waiting for a long time. Higher concurrency may result in 429s easily. |
I order to support concurrency, most likely need to add support for it in oras-go oras-project/oras-go#445 |
Tag listing cannot be done in parallel but the process of resolving a tag to a digest can. |
Does it mean oras-go will support resolving multiple references with tuned concurrency option in the future, and oras CLI can leverage that? |
What is the version of your ORAS CLI
1.0.0
What would you like to be added?
It would be convenient to have a filter for
oras repo tags
to get all the tags associated with a digest. Something like:Optionally, provide a tag and list other tags associated with the same tag
Why is this needed for ORAS?
I want to know the version of the latest or I want to know the version associated with a digest
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: