Migrate from `pijul_interaction::progress` to `pijul_interaction`

finchie
Jul 24, 2023, 9:40 AM
G7HJHNFDZCGOPGVETNYK7BDDPJXHEIPGZJEJXBGBXSWPWEX3BIQQC

Dependencies

  • [2] ABQDWHNG Migrate from `pijul::repository` to `pijul-repository`
  • [3] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [4] L4JXJHWX pijul/*: reorganize imports and remove extern crate
  • [5] Q45QHPO4 Feedback on network stuff
  • [6] MU5GSJAW Partial push and pull (WARNING: breaks the existing protocol)
  • [7] IVLLXQ5Z Improved push/pull reporting
  • [8] DO2Y5TY5 Tag synchronisation
  • [9] 2D7P2VKJ Change completions (where the whole progress bar story started)
  • [10] AI73GKAO Adding a UserAgent header to the http downloader
  • [11] H4AU6QRP New config for HTTP remotes
  • [12] JUYSZJSH Migrate from `pijul::progress` to `pijul_interaction::progress`
  • [13] L2VH4BYK Downloading changelists from channels without an id (Nest discussions)
  • [14] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [15] OIOMXESD Better error handling in HTTP
  • [16] UDHP4ZVB Fixing SSH asynchronicity issues
  • [17] BNPSVXIC Friendlier progress bars
  • [18] C3L2TLQW When downloading changes, check whether we have their dependencies and download them too
  • [19] R3H7D42U Debugging `pijul git`: proper error reporting
  • [*] FBXYP7QM Forgot to add remote::http

Change contents

  • replacement in pijul/src/remote/ssh.rs at line 21
    [3.23][3.0:46]()
    use pijul_interaction::progress::ProgressBar;
    [3.23]
    [3.384]
    use pijul_interaction::ProgressBar;
  • replacement in pijul/src/remote/mod.rs at line 28
    [3.344][3.309:344]()
    use pijul_interaction::progress::{
    [3.344]
    [3.344]
    use pijul_interaction::{
  • replacement in pijul/src/remote/mod.rs at line 1160
    [3.1546][3.1546:1602]()
    ProgressBar::new(apply_len, APPLY_MESSAGE)?
    [3.1546]
    [3.1081]
    Some(ProgressBar::new(apply_len, APPLY_MESSAGE)?)
  • replacement in pijul/src/remote/mod.rs at line 1162
    [3.1098][3.1603:1637]()
    ProgressBar::hidden()
    [3.1098]
    [3.1115]
    None
  • replacement in pijul/src/remote/mod.rs at line 1256
    [3.2529][3.2152:2209]()
    if let Some(apply_bar) = apply_bar.inner() {
    [3.2529]
    [3.972]
    if let Some(apply_bar) = apply_bar.clone() {
  • replacement in pijul/src/remote/mod.rs at line 1465
    [3.2788][3.2788:2835]()
    let dummy_bar = ProgressBar::hidden();
    [3.2788]
    [3.2835]
    let download_bar = ProgressBar::new(changes.len() as u64, DOWNLOAD_MESSAGE)?;
  • replacement in pijul/src/remote/mod.rs at line 1471
    [3.3077][3.3077:3112]()
    dummy_bar,
    [3.3077]
    [3.3112]
    download_bar,
  • replacement in pijul/src/remote/local.rs at line 11
    [3.20406][3.3377:3423]()
    use pijul_interaction::progress::ProgressBar;
    [3.20406]
    [3.79900]
    use pijul_interaction::ProgressBar;
  • replacement in pijul/src/remote/http.rs at line 10
    [3.23952][3.3679:3725]()
    use pijul_interaction::progress::ProgressBar;
    [3.23952]
    [3.0]
    use pijul_interaction::ProgressBar;
  • replacement in pijul/src/commands/reset.rs at line 11
    [3.1383][3.4153:4213]()
    use pijul_interaction::progress::{Spinner, OUTPUT_MESSAGE};
    [3.1348]
    [2.992]
    use pijul_interaction::{Spinner, OUTPUT_MESSAGE};
  • replacement in pijul/src/commands/pushpull.rs at line 16
    [2.1120][3.4346:4434](),[3.1796][3.4346:4434]()
    use pijul_interaction::progress::{ProgressBar, Spinner, APPLY_MESSAGE, OUTPUT_MESSAGE};
    [2.1120]
    [2.1121]
    use pijul_interaction::{ProgressBar, Spinner, APPLY_MESSAGE, OUTPUT_MESSAGE};
  • replacement in pijul/src/commands/apply.rs at line 10
    [3.3415][3.4692:4752]()
    use pijul_interaction::progress::{Spinner, OUTPUT_MESSAGE};
    [3.3380]
    [2.2124]
    use pijul_interaction::{Spinner, OUTPUT_MESSAGE};