Skip to content

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

Closed

Description

@qweeah

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

Activity

  1. added this to the v1.2.0 milestone on Nov 3, 2023
  2. added
    enhancement
    ux
    on Nov 6, 2023
  3. self-assigned this
    on Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementux

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions