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

Display download progress. #1435

Closed
eddyb opened this issue Mar 19, 2015 · 4 comments
Closed

Display download progress. #1435

eddyb opened this issue Mar 19, 2015 · 4 comments
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-fetch

Comments

@eddyb
Copy link
Member

eddyb commented Mar 19, 2015

If running in a TTY: show a percentage, a progress bar, even a spinning indicator of some sort.
Any of those would have prevented me from assuming it hanged while downloading the Skia dependency of Servo (mentioned in #1171).

As an aside, does Cargo restart a git repository fetch after stopping cargo build and running it again, without mentioning what it's doing? That was also somewhat confusing.

@alexcrichton
Copy link
Member

Right now we have the tooling in place to learn about progress of git downloads, but we do not have the ability to learn about the progress of HTTP downloads (unfortunately). I agree though that this would be quite nice to have!

@SimonSapin
Copy link
Contributor

This is still desirable.

Servo regularly gets bugs like servo/servo#7687 filed because the initial build looks like it got stuck and is not making progress, while the git clone of servo/skia is making progress, but can take a very long time to download 300 MB, depending of the internet connection.

@n42k
Copy link

n42k commented Jul 21, 2016

Bump!

My internet can be rather slow at times (I've measured <1024B/s before) and a progress bar when files are being downloaded would be very, very useful.

For example, when running "cargo build --release" it takes several minutes, which made me assume it crashed, as I had never used rust before and I was just compiling a program.

@carols10cents carols10cents added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-fetch labels Sep 10, 2017
@alexcrichton
Copy link
Member

This has since been implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-fetch
Projects
None yet
Development

No branches or pull requests

5 participants