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

Add a new --format tree-full flag for oras discover #1534

Open
Wwwsylvia opened this issue Nov 21, 2024 · 2 comments · May be fixed by #1602
Open

Add a new --format tree-full flag for oras discover #1534

Wwwsylvia opened this issue Nov 21, 2024 · 2 comments · May be fixed by #1602
Labels
enhancement New feature or request
Milestone

Comments

@Wwwsylvia
Copy link
Member

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.

- 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`.

@shizhMSFT shizhMSFT added this to the v1.3.0 milestone Nov 22, 2024
@shizhMSFT shizhMSFT added the enhancement New feature or request label Nov 22, 2024
@FeynmanZhou FeynmanZhou modified the milestones: v1.3.0, v1.3.0-beta.1 Nov 27, 2024
@Horiodino
Copy link

Hi, I’m interested in working on this. If no one else is currently assigned, would it be alright if I take it on?

@Wwwsylvia
Copy link
Member Author

Hi @Horiodino , thank you for volunteering! Sure please feel free to create a PR and let us know if anything is unclear.

Just a note: In #1558 we deprecated the --verbose flag for other commands but oras discover. It's time to apply the same for oras discover as well when we add --format tree-full to it.

@Horiodino Horiodino linked a pull request Jan 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants