When lock times out, check that there are no more clients before quitting
[?]
Jan 17, 2021, 9:37 AM
HR3WK6A7KKILCHI2CD2BZSZQJUS44MJIT2K3WPKJBHUXGRKAQDRQCDependencies
- [2]
23OFHED6Remove .pijul after a failed cloned, in the case we created it but did not its parent - [3]
AOK35FEXNew Cargo.nix versions - [4]
SN7AGY6SMaking `pijul lock` robust to kill signals - [5]
HSVGP2G4Version bump + formatting - [6]
OCBM7IFENew release: pijul-1.0.0-alpha.8 - [7]
NX5I5H53New published versions - [8]
5BRU2RRWCleanup (debugging a crash related to trees/inodes) - [9]
Q45QHPO4Feedback on network stuff - [10]
SAGSYAPXVarious version bumps - [11]
FXT5FS5WUpdating Cargo.nix - [12]
UFCZKKLXUpgrading to the latest Sanakirja/Rand - [13]
6DOXSHWGCleanup, and version bump - [14]
B5Z4IMEUGenerating Cargo.nix for pijul 1.0.0-alpha.6 - [15]
SQVWP4LUWhen clone fails, only remove directories we have created (not other directories) - [16]
KUMJITTFVersion bump in the lockfiles - [17]
JL4WKA5PImplement the Sanakirja concurrency model in a cross-process way - [18]
PJ7T2VFLDo not hang on locked repositories - [19]
3WIQYEISFixing conflicts in Cargo.lock - [20]
N35L72XVVersions in Cargo.lock - [21]
WIORLB47Version bump - [22]
TPEH2XNB1.0.0-alpha.28, with Tokio 1.0 - [23]
BT2ZHPY4Version bumps - [24]
VYHHOEYHVersions and formatting - [25]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump - [26]
XWETQ4DEUpgrading versions - [27]
OUWD436AVersion bump - [28]
VLPIKNFSclone: make source remote the default - [29]
3S4DR77ZVersion updates - [30]
XAY4DYRRVersion bump - [31]
JRENVH5DReqwest 0.11 - [32]
HKEOO4QJVersion bump - [33]
B3QWIGDEFixing the Git features with the latest Pijul (+ conflicts in Cargo.toml) - [34]
5YDI33C4Fixing pager on OSX - [35]
ZQXP3HNAVersion bump - [36]
JACZWIJ6Version bump - [37]
ZTVNGFNTVersion bump - [38]
H62VFFJECargo.nix, and solving conflicts - [39]
G734WNM6flake.nix: use crate2nix - [40]
YX3VCEOMVersion bump - [41]
LYTVEPH3Avoid cloning into an existing path - [42]
Q7CAYX5NFixing Windows compilation - [43]
WI5BS6BSNew published versions - [44]
3VJB4ULDUpdating Cargo.nix - [45]
L4LAD4XMFixing clone on WSL (Windows Subsystem for Linux) - [46]
23LVKATNUse pager crate for log output - [47]
G6YZ7U65Version bump - [48]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in pijul/src/commands/lock.rs at line 57
if let Ok(Ok((stream, _))) = x {accept(stream, locks.clone()).await} else {breakmatch x {Err(_) => {if *locks.n_clients.lock().await == 0 {break}}Ok(Ok((stream, _))) => {accept(stream, locks.clone()).await}Ok(Err(_)) => break - replacement in pijul/src/commands/clone.rs at line 61
let repo_path_ = repo_path.clone();let repo_path_ = path.clone(); - replacement in pijul/src/commands/clone.rs at line 63
repo_path_.remove();std::fs::remove_dir_all(&repo_path_).unwrap_or(()); - edit in pijul/src/commands/clone.rs at line 122
std::mem::drop(repo); - replacement in pijul/Cargo.toml at line 4
version = "1.0.0-alpha.35"version = "1.0.0-alpha.36" - replacement in Cargo.nix at line 2665
version = "1.0.0-alpha.30";version = "1.0.0-alpha.31"; - replacement in Cargo.nix at line 3653
version = "1.0.0-alpha.33";version = "1.0.0-alpha.36"; - replacement in Cargo.lock at line 1288
version = "1.0.0-alpha.35"version = "1.0.0-alpha.36"