-
Notifications
You must be signed in to change notification settings - Fork 181
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
feature request: verbose output of tagging #618
Comments
@shizhMSFT
|
Adding date, digest, size will make the UX of |
Some ideas on the UX:
|
Agree with @qweeah . It's not necessary to include size and date in the output. |
I would like to work on this item. |
Suggested UX: # oras tag
oras tag ${name}:latest 2.12.1 2.12 2
Tagging [${TARGET_TYPE}] ${name}@sha256:fb12d4ce3b48eb37cded0ff91079cd7255740bdbf1c7a05014ed4481fa0d13a
Tagged 2.12
Tagged 2
Tagged 2.12.1
# oras push
oras push ${name}:latest,2.12.1,2.12,2
Preparing foobar/bar
Uploading fcde2b2edba5 foobar/bar
Uploaded fcde2b2edba5 foobar/bar
Uploading c2844d9e1aa3 application/vnd.oci.artifact.manifest.v1+json
Uploaded c2844d9e1aa3 application/vnd.oci.artifact.manifest.v1+json
Pushed [registry] ${name}:latest
Tagged 2.12
Tagged 2
Tagged 2.12.1
Digest: sha256:c2844d9e1aa3d42a683ed8b823a12de2510d38ef4d700c2a5e9769426e39b63d
# oras copy
oras cp ${name1}:latest ${name2}:latest,2.12.1,2.12,2
Copying ae2d56717c93 signature
Copying 44136fa355b3 test.signature.file
Copied ae2d56717c93 signature
Copying 44136fa355b3 test.sbom.file
Copying f5d51c0823fc sbom
Copied 44136fa355b3 test.sbom.file
Copied 44136fa355b3 test.signature.file
Copying 2c26b46b68ff foo1
Exists 44136fa355b3 application/vnd.unknown.config.v1+json
Copying fcde2b2edba5 bar
Copied f5d51c0823fc sbom
Copied 2c26b46b68ff foo1
Copied fcde2b2edba5 bar
Copying fd6ed2f36b54 application/vnd.oci.image.manifest.v1+json
Skipped 2c26b46b68ff foo2
Copied fd6ed2f36b54 application/vnd.oci.image.manifest.v1+json
Copied [registry] {name1}@sha256:fd6ed2f36b5465244d5dc86cb4e7df0ab8a9d24adc57825099f522fe009a22bb => [registry] {name2}@sha256:fd6ed2f36b5465244d5dc86cb4e7df0ab8a9d24adc57825099f522fe009a22bb
Tagged 2.12
Tagged 2
Tagged 2.12.1
Digest: sha256:fd6ed2f36b5465244d5dc86cb4e7df0ab8a9d24adc57825099f522fe009a22bb |
It is unnecessary to print duplicated digest for For % oras tag ${name}:latest 2.12.1 2.12 2
Tagging [${TARGET_TYPE}] ${name}@sha256:fb12d4ce3b48eb37cded0ff91079cd7255740bdbf1c7a05014ed4481fa0d13a
Tagged 2.12
Tagged 2
Tagged 2.12.1 |
updated inline |
@qweeah It looks fine. |
The current UX for tagging is a bit loss. For instances:
and
It is better to have something like
or
or
The text was updated successfully, but these errors were encountered: