Repository navigation
feat(progress): per-server progress bars and transfer log - #26
Merged
Merged
Conversation
- add indicatif-based progress bars, one per server, sharing a MultiProgress; enabled only for text output on an interactive terminal - route log output above the bars so lines are not overwritten - add a --fancy <bool> flag (default true) to disable bars - always write a plain-text transfer log next to each archive (<timestamp>.log) with the server, totals and every transferred file so details remain available while bars are shown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds fancy progress bars (one per server) and a transfer log file.
indicatif, sharing oneMultiProgress(works with parallel backups). Enabled only when output istext, not--quiet,--fancyis true, and both stdout and stderr are terminals.MultiProgresswriter) instead of being overwritten.--fancy <bool>flag (defaulttrue);--fancy=false(or a non-interactive shell / piped output / JSON / quiet) falls back to the existing line-based reporting.<timestamp>.log) listing the server, totals, and every transferred file, so details remain available while bars are shown.The bars are driven by the real manifest:
list()already provides the full file set, total bytes and count before downloading.Type of change
Checklist
cargo fmt --all -- --checkpasses locallycargo clippy --all-targets -- -D warningspasses locallycargo test --all-targetspasses locally (108 tests)cargo build --releasepasses locally--fancy, transfer log)