-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Better progress report #3448
Labels
A-console-output
Area: Terminal output, colors, progress bar, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Comments
(somewhat) related: #2536 |
carols10cents
added
A-console-output
Area: Terminal output, colors, progress bar, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
labels
Sep 29, 2017
kennytm
added a commit
to kennytm/cargo
that referenced
this issue
Jun 28, 2018
bors
added a commit
that referenced
this issue
Jun 29, 2018
Displays a one line progress of what crates are currently built. cc #2536, #3448. The change is based on #3451, but uses the progress bar introduced in #4646 instead. The percentage is simply the number of crates processed ÷ total crates count, which is inaccurate but better than nothing. Output looks like: [![asciicast](https://asciinema.org/a/YTiBAz4K4vfidNTAnehtyH46l.png)](https://asciinema.org/a/YTiBAz4K4vfidNTAnehtyH46l)
Triage: Cargo these days has a more advanced progress output than it did 5 years ago. Unless there's some specific deficiency in the current output, I think this issue can be closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-console-output
Area: Terminal output, colors, progress bar, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Currently,
cargo
only outputs "Compiling xxx" when starting a job. I propose using ANSI control sequences to have a more finer progress report while keeping the same number of line output.PoC with jobs in WiP or done state:
The basic idea is with n jobs running, when a job finishes we erase the n previous lines, print the finished jobs then print the jobs still working.
When this setup is working, we can expand it to show a more finer progress report for each job.
Windows seems to support it, MacOS and Linux does.
See #833, maybe also others.
The text was updated successfully, but these errors were encountered: