Skip to content
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

wrong format when copying the progress output as plain text #1166

Closed
qweeah opened this issue Nov 3, 2023 · 0 comments · Fixed by #1180
Closed

wrong format when copying the progress output as plain text #1166

qweeah opened this issue Nov 3, 2023 · 0 comments · Fixed by #1180
Assignees
Labels
enhancement New feature or request ux User experience related
Milestone

Comments

@qweeah
Copy link
Contributor

qweeah commented Nov 3, 2023

As an ORAS user, I should be able to copy the progress output as plain text in the format as what I saw in the terminal.

When copying below output
image

What I got:

test oras-main pull localhost:5000/test:config -o pulled --config my.config
√ Downloaded  my.config                                                                                                                                                                       3/3  B 100.00%  441µs  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  foo                                                                                                                                                                             3/3  B 100.00%  287µs  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  application/vnd.oci.image.manifest.v1+json                                                                                                                                  522/522  B 100.00%  267µs  └─ sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9 
Pulled [registry] localhost:5000/test:config
Digest: sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9

What I want:

test oras-main pull localhost:5000/test:config -o pulled --config my.config
√ Downloaded  my.config                                                                                                                                                                       3/3  B 100.00%  441µs
  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  foo                                                                                                                                                                             3/3  B 100.00%  287µs
  └─ sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae 
√ Downloaded  application/vnd.oci.image.manifest.v1+json                                                                                                                                  522/522  B 100.00%  267µs
  └─ sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9 
Pulled [registry] localhost:5000/test:config
Digest: sha256:007fa1a84c35baf14b14698b8f2f4b3eb99200b496be446e6ea6c478029d75b9
@qweeah qweeah added this to the v1.2.0 milestone Nov 3, 2023
@qweeah qweeah added enhancement New feature or request ux User experience related labels Nov 6, 2023
@qweeah qweeah self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux User experience related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant