-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fixes #3546 #3550 Add option to allow progressbars to be forced during download and uncompression of the bundle (setup phase) #3547
Fixes #3546 #3550 Add option to allow progressbars to be forced during download and uncompression of the bundle (setup phase) #3547
Conversation
f9dade7
to
c223045
Compare
Imo, this makes things worse for :
|
@cfergeau which is the current behavior right even without this PR? Also isn't it expected even with our current terminal check since |
Even if it's the current behaviour, it does not make it correct, especially when other parts of the code don't have the same behaviour.
|
yes but what we want to do is to show the progress bar in every case for PD extension usecase or you are saying we should use this and add a bool flag |
I'd prefer this yes, by default, we have |
I think the argument you give is a little moot... This is not behaviour we normally suggest to use; file redirection for the setup flow.
Besides, you are judging about DOWNLOADING that has been untouched in this PR, so this is existing behaviour.
However, this makes every comment justified and PRs linger for unnecessary long times due to enlarged scope. I suggest a follow-up issue to 'fix' this for downloading, as this is not part of this issue/PR : #3550 The suggested fixes will not be part of the current PR. |
Current PR also need to be fixed to run unit tests which is failing because of https://github.com/crc-org/crc/pull/3547/files#diff-2f2c46f41491d3331c52245381a6bf0a66bf5b8d708bb3018157764e7b744e50R20 one. |
I am looking at adding the requested complexity to handle 'intelligent' showing of the progress. |
We ask for logs for most issues filed, file redirection is one way of capturing these. If file redirection is never something we want the user to do, let's document this, and remove all usage of
I know, but downloading and uncompressing currently behave differently, we disagree on which one need to be changed and fixed, hence the mention of the one I would change. |
Hence, addressed to remove complexity
Unfortunately, the suggestion is not in line with the schedule we have. We should be more pragmatic and consider breaking down issues and work on smaller increment by improvements issues instead of waxing and polishing PRs into perfection.
I look forward to the modification of the issue template to also include:
|
c223045
to
9bcf42c
Compare
9bcf42c
to
0384b0f
Compare
0384b0f
to
1c13250
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.
Thanks for making this configurable!
1c13250
to
1d67541
Compare
Not sure why the test fails with:
as this file does not contain a reference to |
…sion of the bundle As part of `crc setup` we show the progress of the download and uncompression. However, the download progress is always shown, while the uncompression is suppressed when this is not a standard terninal. For consistency we remove the suppression and add additional complexity to allow this to be forced.
1d67541
to
fb84ee0
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfergeau The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
has been verified by @evidolob to provide the progressbars with |
Fixes #3546 #3550
As part of
crc setup
we show the progress of the download anduncompression. However, the download progress is always shown, while
the uncompression is suppressed when this is not a standard terninal.
For consistency we remove the suppression as this adds unnecessary
complexity.