-
Notifications
You must be signed in to change notification settings - Fork 184
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
feat: Show annotations in default discovery output #1602
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Horiodino <[email protected]>
cmd/oras/internal/option/format.go
Outdated
@@ -68,6 +68,11 @@ var ( | |||
Name: "text", | |||
Usage: "Print in text format", | |||
} | |||
|
|||
FormatTypeTreeFull = &FormatType{ | |||
Name: "tree-full", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not in love with the name tree-full
, but I don't have a better idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do like the idea of showing the annotations in the normal tree view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for changes in direction on this @Horiodino
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's continue the discussion in #1534. We will temporarily hold on this PR until we aligned the user experience. Apologies for blocking you @Horiodino
Signed-off-by: Horiodino <[email protected]>
--format tree-full
flag
Signed-off-by: Horiodino <[email protected]>
The title of this PR needs to be updated when you get a chance |
--format tree-full
flag
What this PR does / why we need it:
This PR introduces a new
--format tree-full
flag for theoras discover
command, as outlined in the ORAS diagnose experience proposal. The flag enables users to control the level of metadata output when discovering artifacts, including detailed annotations. By adding this feature, users will be able to print more granular metadata about the artifacts, which will improve the overall diagnostic and troubleshooting experience.Which issue(s) this PR fixes *
Fixes #1534
Please check the following list: