Unify progress from multiple downloads
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Currently the progress bars are a bit misleading because it only tells you progress of the current stage of operation. It would be nice to provide progress across all of the work that has to be completed.
Of course, easier said than done. I presume that this would require Content-Length checks for all the downloads up front, so that some proper measurement can be done.
Another option would be to simply make each download/step be (100 / N) of the progress, but that would result in uneven progress. Not the end of the world but not ideal either.
The current situation, when automating RustUp from a UI like we do in Builder, is that our progress bar regularly jumps from 100% to 0% after each stage completes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing how rustup reports progress for each download stage, then determine how all downloads can contribute to one progress value; done means the progress bar no longer resets between stages and reflects the overall work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100