Skip to content

Deprecate the --verbose flag #1533

Closed

Description

@Wwwsylvia

As per the ORAS diagnose experience proposal, we should mark the --verbose flag as deprecated for oras pull, oras push, oras attach, and oras discover commands.

  • For oras pull, oras push, oras attach commands, we should output the detailed status output by default. As a result, the output with and without --verbose will be identical.
  • For oras discover, we do not change the default output.

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

Activity

  1. added this to the v1.3.0 milestone on Nov 22, 2024
  2. added
    enhancement
    on Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementlogging

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions