-
Notifications
You must be signed in to change notification settings - Fork 174
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
Incomplete output when copying #916
Comments
Sorry I must miss something here, are you suggesting all the nodes should be mentioned in the output even if I think there are some gaps that need to be filled here: originally oras was designed as a client tool to upload/download files to/from OCI registries. IMHO, to expose less low-level storage detail like how a file is stored via OCI image/artifacts, unnamed manifests and blobs should not be in the default output of oras. For example, if you run
Same for
So for |
Correct, this is what I expect. I have 6 artifacts that I am copying but I see only 3 outputted by the command. This is misleading. |
I am okay with this change, since |
What happened in your environment?
I have the following hierarchy in one registry:
I am using
oras copy -r
to copy the above hierarchy to another registry. The command ouputs the following:The output shows only three artifacts copied to the new registry, which leaves the user wondering whether all artifacts have been copied. In reality all are, but the command output is misleading. Here is the tree in the new registry:
What did you expect to happen?
I expect the command to output correct information about all artifacts that are copied and provide a summary
How can we reproduce it?
Use
oras copy -r
on a deep hierarchyWhat is the version of your ORAS CLI?
Version: 1.0.0-rc.2
Go version: go1.20.1
Git commit: 3c5e899
Git tree state: clean
What is your OS environment?
MacOS
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: