Skip to content

show annotations by default for oras discover --format tree #1534

@Wwwsylvia

Description

@Wwwsylvia

As per the ORAS diagnose experience proposal, we should add a new --format tree-full flag for oras discover to control the detailed metadata output, such as printing the annotations.
Once we have a way to print the detailed metadata output, we can mark the --verbose flag as deprecated.

- Deprecate the `--verbose` flag and keep `--debug` flag to avoid ambiguity. It is reasonable to continue using `--debug` to enable the output of `DEBUG` level logs as it is in ORAS. Meanwhile, this change will make the diagnose experience much more straightforward and less breaking since only ORAS `pull/push/attach/discover` commands have verbose output.
- Make the verbose output of commands `pull`, `push`, `attach` as the default (status) output. See examples at the bottom.
- Make the verbose output of command `discover` as a formatted output, controlled by `--format tree-full`.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requestedspec requiredIssues that require specifications

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions