You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add status output to show the command execution result #1575
$ oras manifest index create --oci-layout layout-dir:v1 v1-linux-amd64 v1-linux-arm64 --annotation "platform=multi-arch"Fetching v1-linux-amd64Fetched v1-linux-amd64Fetching v1-linux-arm64Fetched v1-linux-arm64Packed edb5bc1f0b5c application/vnd.oci.image.index.v1+jsonPushed [oci-layout] layout-dir:v1Digest: sha256:edb5bc1f0b5c21e9321b34e50c92beae739250fb88409056e8719d9759f6b5bAn image index has been created and pushed to layout-dir:v1
Why is this needed for ORAS?
Improve usability of ORAS output, make the information much more intuitive to users.
Other client tools like docker has the similar output to show the final execution result.
Are you willing to submit PRs to contribute to this feature?
Might be better to output "Index" instead of "Image Index"
Updated since the image spec actually does call it Image Index.
If the proposal is to add it to all commands then it would be good to make sure all commands have some structure.
For e.g. {Type} {Action} {performed in} {destination}
Activity
Wwwsylvia commentedon Jan 15, 2025
@FeynmanZhou The format of the current output and the expected output in the description looks identical.
FeynmanZhou commentedon Jan 16, 2025
@Wwwsylvia Apologize for missing the execution result in the expected output. I have appended to the issue description above.
Horiodino commentedon Jan 16, 2025
Hey, I’d be happy to take this on from now if no one else is working on it. Let me know
shizhMSFT commentedon Jan 21, 2025
It is not categorized as status output. Precisely, it is metadata output in the format of
text.Wwwsylvia commentedon Jan 21, 2025
Hi @Horiodino , thank you for showing the interests. We are still sorting out the requirement, will keep this thread updated.
sajayantony commentedon Jan 22, 2025
Might be better to output "Index" instead of "Image Index"Updated since the image spec actually does call it Image Index.
If the proposal is to add it to all commands then it would be good to make sure all commands have some structure.
For e.g. {Type} {Action} {performed in} {destination}