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
What is the supported maximum size of a blob? What will happen if the blob size exceeds the maximum value?
Currently we do not have a maximum limit on the size of a blob from our ORAS side. But a registry should have some limit on the maximum blob size that it can accept. So if the blob size exceeds the maximum value, the error will be returned from registry side.
Can we cancel pushing a blob? What will happen if I ctrl+c while pushing a large blob?
Yes, we can cancel pushing a blob by using ctrl+c. If the push operation has not been completely finished yet, then the process will be stopped.
I think it would be helpful to output the full descriptor to a file.
without that how is the user planning to use this ?
/cc @shizhMSFT
We can however merge #489 but not close this issue if we want to enhance the output of open an another issue. But either way I think we need to be able to describe the use case here /cc @FeynmanZhou@yizha1
The overall UX of oras push looks intuitive to me. Would it be more exact to update <name> to <registry>?
That's a good idea! But I notice we are now only using registry in login and logout commands, and name for others (such as oras push). We might need to unify the UX across all commands first.
# stdout human readable messages
oras blob push <name> <path>
# stdout json descriptor
oras blob push <name> <path> --descriptor
# stdout prettified json descriptor
oras blob push <name> <path> --descriptor --pretty
# read from stdin, then push to <name> registry. stdout human readable messages
# return error if --password-stdin flag is used at the same time
oras blob push <name> -
Activity
[-]Command to push a blob from a remote registry[/-][+]Command to push a blob to a remote registry[/+]lizMSFT commentedon Aug 9, 2022
please assign this to me
lizMSFT commentedon Aug 23, 2022
Current UX:
oras blob push localhost:5000/0817hello artifact.txtcc @shizhMSFT @yizha1 @FeynmanZhou
yizha1 commentedon Aug 24, 2022
One minor comment:
aremote registrySome questions:
ctrl+cwhile pushing a large blob?lizMSFT commentedon Aug 24, 2022
Hi @yizha1,
Thanks for pointing out, I will change the command message to
Push a blob to a remote registry👌I'd say no. The blob only has one mediaType
application/octet-stream, ref: https://docs.docker.com/registry/spec/api/#initiate-blob-uploadCurrently we do not have a maximum limit on the size of a blob from our ORAS side. But a registry should have some limit on the maximum blob size that it can accept. So if the blob size exceeds the maximum value, the error will be returned from registry side.
Yes, we can cancel pushing a blob by using ctrl+c. If the push operation has not been completely finished yet, then the process will be stopped.
FeynmanZhou commentedon Aug 24, 2022
The overall UX of

oras pushlooks intuitive to me. Would it be more exact to update<name>to<registry>?sajayantony commentedon Aug 24, 2022
I think it would be helpful to output the full descriptor to a file.
without that how is the user planning to use this ?
/cc @shizhMSFT
We can however merge #489 but not close this issue if we want to enhance the output of open an another issue. But either way I think we need to be able to describe the use case here /cc @FeynmanZhou @yizha1
shizhMSFT commentedon Aug 25, 2022
@qweeah We need to unify the UX across all command sets like
oras manifestandoras blobas they all do CRUD. Let's discuss it.lizMSFT commentedon Aug 25, 2022
That's a good idea! But I notice we are now only using

registryin login and logout commands, andnamefor others (such asoras push). We might need to unify the UX across all commands first.lizMSFT commentedon Aug 26, 2022
UX design (08/26/2022)
help doc