Open jyn514 opened 4 years ago
Same request when rustup
is downloading components.
Hmm, it's a bit hard to do that, as neither of those programs output the progress bar when not running under a tty. Docker could probably be solved by using the API (#7) and implementing the progress bar ourselves, but I'm not sure how to do that for rustup.
As a workaround, could rustwide unconditionally print 'still running \<command>' every 1-5 minutes, the same way that cargo test
prints 'still running after 60 seconds'?
Even just adding a "The next steps might take a while. Hang tight!" right before starting docker tasks that are known to run for a while would still be better than just "hanging" for minutes, I think.
Providing an actual progress would be even better, of course. But either way would be an improvement to the status quo.
This should be a lot better after https://github.com/rust-lang/docs.rs/pull/1360.
When building a crate for
docs.rs
, I get the following output, followed by 15 minutes without anything happening:If I run
docker pull rustops/crates-build-env
manually on the host machine, I can see that it's trying to download a 1.3 GB image, which takes quite a while on my internet connection. Would it be possible to show this progress in rustwide so it doesn't seem like nothing is happening?