Progress bar for upload and apply
[?]
Nov 28, 2020, 2:29 PM
PCEJFKFXAFGYGHMM4BOBGFV3WRFXEBF2UQYQHLJ7MURRYBKRM3EACDependencies
- [2]
K6GWUOD5Styling progress bars - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [4]
367UBQ6KForwarding SSH stderr, and progress bar for push - [5]
Q45QHPO4Feedback on network stuff - [*]
FBXYP7QMForgot to add remote::http
Change contents
- replacement in pijul/src/remote/ssh.rs at line 670
progress.println("Uploading changes");progress.set_style(indicatif::ProgressStyle::default_bar().template(" Uploading changes {wide_bar} {pos}/{len}"),); - edit in pijul/src/remote/ssh.rs at line 694
progress.set_style(indicatif::ProgressStyle::default_bar().template("✓ Uploading changes {wide_bar} {pos}/{len}"),); - replacement in pijul/src/remote/http.rs at line 75
.template(" Uploading changes {wide_bar} {pos}/{len}"),.template(" Uploading changes {wide_bar} {pos}/{len}"), - replacement in pijul/src/remote/http.rs at line 100
.template("✓ Uploading changes {wide_bar} {pos}/{len}"),.template("✓ Uploading changes {wide_bar} {pos}/{len}"), - edit in pijul/src/commands/pushpull.rs at line 391
let progress = indicatif::ProgressBar::new(d.len() as u64);progress.set_style(indicatif::ProgressStyle::default_spinner().template(" Applying changes {wide_bar} {pos}/{len}"),); - edit in pijul/src/commands/pushpull.rs at line 398
progress.inc(1); - edit in pijul/src/commands/pushpull.rs at line 400
progress.set_style(indicatif::ProgressStyle::default_bar().template("✓ Applying changes {wide_bar} {pos}/{len}"),);progress.finish();