-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
use --progress
to configure progress UI style
#10690
Conversation
8a7ac24
to
1f20407
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Hurray for CLI consistency
(I mean I'm not thrilled that progress.Mode
is a global but that's not new 😛)
a32915f
to
000d3a3
Compare
@milas made a last minute update : to avoid |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## v2 #10690 +/- ##
==========================================
- Coverage 58.98% 58.85% -0.14%
==========================================
Files 111 112 +1
Lines 9716 9740 +24
==========================================
+ Hits 5731 5732 +1
- Misses 3399 3419 +20
- Partials 586 589 +3
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Nicolas De Loof <[email protected]>
What I did
Introduce
--progress
top-level flag to configure progress UI as auto|tty|plain|quiet|noneThis allows to have explicit control on the progress UI without using
--ansi
flag which also has impact on logs renderingbuild
already declared this flag. It is now redundant and kept for backward compatibility but marked hiddenRelated issue
see #10686
(not mandatory) A picture of a cute animal, if possible in relation to what you did