use separate different progress bars for different aspects of the installations being performed#3844
Merged
branfosj merged 27 commits intoeasybuilders:developfrom Oct 18, 2021
Merged
Conversation
…downloading sources
…patches + only show download progress for files >= 10MB
…ber of steps that will be run
…t be used as context manager)
…ject None is not renderable'
6a8d5ff to
ab10363
Compare
branfosj
requested changes
Oct 14, 2021
Member
branfosj
left a comment
There was a problem hiding this comment.
I need to actually run EB with this to see how I like the look / feel.
…hide easyconfig progress bar when done
Member
Author
branfosj
requested changes
Oct 15, 2021
| """Shim for Rich's Progress class.""" | ||
| PROGRESS_BAR_DOWNLOAD_ALL = 'download_all' | ||
| PROGRESS_BAR_DOWNLOAD_ONE = 'download_one' | ||
| PROGRESS_BAR_EXTENSIONS = 'extensions' |
Member
There was a problem hiding this comment.
This handles extensions, but not components. We should do something similar for them. I'm happy for that to be a follow on enhancement.
Member
Author
There was a problem hiding this comment.
Components are specific to the Bundle easyblock, framework doesn't know about them...
I think we can handle this by providing a "neutral" progress bar which can be used by easyblock to display progress on a specific aspect (like installing a list of components). I'd keep that for a follow-up PR though...
…ss bars which aren't extended either
…_step for download progrss counter
branfosj
approved these changes
Oct 18, 2021
Member
|
Going in, thanks @boegel! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
use larger "weight" for long running steps (configure, build, install, extensions)requests--fetch,--stop, ...don't print step progress lines when using progress bars (or change to only show them per installation?)fixes #2596, fixes #3041