-
Notifications
You must be signed in to change notification settings - Fork 180
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
Support manifest/blob/repository/tag commands in ORAS #459
Comments
I am highly interested in following tasks and want to start working on them. Please assign them to me.
|
These are awesome additions to ORAS and will make interacting with an OCI registry so much easier. |
Below is the UX design for ORAS manifest commands and ORAS blob commands from our discussion @shizhMSFT @qweeah @yuehaoliang-microsoft @lizMSFT
please let us know if you have any suggestions, thanks |
For
Storing prettified manifest to file makes more sense to me, e.g. below commands should saves indentical file content to
@shizhMSFT @FeynmanZhou @yizha1 Can you help confirm. /cc @yuehaoliang-microsoft @lizMSFT |
If user can redirect the pretty output to a file using |
Yes, but the |
Good point. I'd suggest that In other words, oras manifest fetch <name> --pretty > <path> # manifest prettified
oras manifest fetch <name> --output <path> --pretty # nothing prettified
oras manifest fetch <name> --output - --pretty > <path> # manifest prettified
oras manifest fetch <name> --output <path> --pretty --descriptor # descriptor prettified or we drop the |
The top-level We can use this doc to summarize the final CLI UX for all commands in v0.15.0. |
If we want to show prettified manifest for every |
@FeynmanZhou prettifying a manifest will change the content(by adding space and newlines), thus changing the digest of the fetched manifest, so returning raw content is a must and should be set to default. |
Closing as all sub tasks are finished. |
Repository / Tags
Manifest
Blob
The text was updated successfully, but these errors were encountered: