oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.33k stars 160 forks source link

refactor: Move verbose into printer object #1406

Closed TerryHowe closed 1 week ago

TerryHowe commented 2 weeks ago

What this PR does / why we need it:

The verbose option should be owned by the printer.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 85.36585% with 6 lines in your changes missing coverage. Please review.

Project coverage is 85.01%. Comparing base (2479698) to head (76d3cfc).

Files Patch % Lines
cmd/oras/root/manifest/push.go 40.00% 0 Missing and 3 partials :warning:
cmd/oras/internal/display/status/text.go 91.66% 0 Missing and 1 partial :warning:
cmd/oras/root/blob/push.go 85.71% 0 Missing and 1 partial :warning:
cmd/oras/root/cp.go 83.33% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1406 +/- ## ======================================= Coverage 85.01% 85.01% ======================================= Files 107 107 Lines 3790 3790 ======================================= Hits 3222 3222 Misses 339 339 Partials 229 229 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.