refactor: mark --verbose as deprecated#1558
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1558 +/- ##
==========================================
- Coverage 84.07% 84.05% -0.02%
==========================================
Files 119 119
Lines 5325 5331 +6
==========================================
+ Hits 4477 4481 +4
- Misses 602 604 +2
Partials 246 246 ☔ View full report in Codecov by Sentry. |
|
Maybe mark it deprecated in the Printer object too |
Currently it is still functioning, we can consider removing the whole verbose stuff in v1.4.0 or something? |
c36f837 to
b179510
Compare
|
@TerryHowe This is now ready for review. |
4680d74 to
654d68c
Compare
FeynmanZhou
left a comment
There was a problem hiding this comment.
The examples align with the spec and look good to me. Thanks @Wwwsylvia
|
@TerryHowe would you mind taking a look at this PR? |
adb16ec to
ddcf411
Compare
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
7ac5d4a to
e171d73
Compare
What this PR does / why we need it:
--verboseflag as deprecated and print verbose output by default for the following six commands. As a result, the--verboseflag will be hidden in the help doc, and there will be a warning message when--verboseis specified.oras pushoras pulloras attachoras cporas manifest pushoras blob pushThe deprecation of
--verbosefororas discoverwill be addressed with #1534.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #1533
Prerequisite: #1553
Examples:

oras pullBEFORE:oras pullAFTER:oras pull --verboseBEFORE:oras pull --verboseAFTER:oras pull --verbose=falseBEFORE:oras pull --verbose=falseAFTER:oras pull --helpBEFORE:oras pull --helpAFTER:Please check the following list: