Skip to content
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

Add progress bar for "installing component" step #1557

Closed
johnthagen opened this Issue Dec 1, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@johnthagen
Copy link
Contributor

johnthagen commented Dec 1, 2018

Some components, such as rust-docs and rust-src take a bit longer to install, even on SSD-equipped machines. These take even longer on Windows (#1540).

One thing that would help in these situations would be if the user could see the progress of the component install to:

  1. Get a sense for how long the component will take to finish installing
  2. Know that rustup isn't just hung up

Perhaps Cargo's new progress bar released in stable 1.30 could be reused in some way?

...
info: installing component 'rust-docs'
Installing [============>                                           ] 330/1400
@johnthagen

This comment has been minimized.

Copy link
Contributor Author

johnthagen commented Dec 15, 2018

At least one user reported thinking that rustup was stuck when it got to installing rust-docs: #1458 (comment)

kinnison added a commit to kinnison/rustup.rs that referenced this issue Dec 27, 2018

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit re-uses the download tracker logic to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1458, rust-lang#1557

kinnison added a commit to kinnison/rustup.rs that referenced this issue Dec 27, 2018

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit re-uses the download tracker logic to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1557

kinnison added a commit to kinnison/rustup.rs that referenced this issue Jan 8, 2019

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit re-uses the download tracker logic to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1557

kinnison added a commit to kinnison/rustup.rs that referenced this issue Jan 13, 2019

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit re-uses the download tracker logic to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1557

kinnison added a commit to kinnison/rustup.rs that referenced this issue Jan 14, 2019

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit uses the new FileReaderWithProgress to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1557

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>

kinnison added a commit to kinnison/rustup.rs that referenced this issue Jan 14, 2019

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit uses the new FileReaderWithProgress to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1557

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>

kinnison added a commit to kinnison/rustup.rs that referenced this issue Jan 14, 2019

rustup-dist: Use Download notifications to track install
People have requested some indication of progress for long-running
install steps.  This commit uses the new FileReaderWithProgress to
provide a progress bar (the length is the compressed component
tarball but should be good enough) to provide such feedback.

Fixes: rust-lang#1557

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>

@nrc nrc closed this in #1593 Jan 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.