Fixing a parsing problem (related to permissions), and the associated permissions
[?]
Feb 27, 2021, 9:41 PM
YTQS4ES362EJ27OE45CE5HLY7ZU57YLVKRMDRJ2OXT623VM5WOBQCDependencies
- [2]
HDGRZISMVersion updates - [3]
JL4WKA5PImplement the Sanakirja concurrency model in a cross-process way - [4]
VO5OQW4WRemoving anyhow in libpijul - [5]
G734WNM6flake.nix: use crate2nix - [6]
G65S7FAWVersion bump and cleanup - [7]
QQZNSB26Permission update (after #X243) - [8]
CCFJ7VO3Renaming "Record" to "Hunk" in the changes - [9]
KJDQ2WOMFixing the parsing of section headers in the text change format - [10]
IUH7IMWEContributor license agreements - [11]
HYRH4E55rustfmt.toml: init - [12]
X243Z3Y5Recording only the required metadata (can even be changed later!) - [13]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [14]
DJ5JYH3KCOPYING
Change contents
- file move: pijul-macros → pijul-macros
- file move: src → src
- file move: pijul → pijul
- file move: src → src
- file move: remote → remote
- file move: commands → commands
- file move: libpijul → libpijul
- file move: src → src
- file move: working_copy → working_copy
- file move: unrecord → unrecord
- file move: tests → tests
- file move: pristine → pristine
- file move: output → output
- file move: diff → diff
- file move: changestore → changestore
- file move: change → change
- replacement in libpijul/src/change/text_changes.rs at line 545
Regex::new(r#"^(?P<n>\d+)\. File addition: "(?P<name>[^"]*)" in "(?P<parent>[^"]*)" (?P<perm>[^ ]+)"#).unwrap();Regex::new(r#"^(?P<n>\d+)\. File addition: "(?P<name>[^"]*)" in "(?P<parent>[^"]*)"(?P<perm> [^ ]+)?"#).unwrap(); - replacement in libpijul/src/change/text_changes.rs at line 555
Regex::new(r#"^([0-9]+)\. Moved: "(?P<former>[^"]*)" "(?P<new>[^"]*)" (?P<perm>[^ ]* )?(?P<inode>.*)"#).unwrap();Regex::new(r#"^([0-9]+)\. Moved: "(?P<former>[^"]*)" "(?P<new>[^"]*)" (?P<perm>[^ ]+ )?(?P<inode>.*)"#).unwrap(); - replacement in libpijul/src/change/text_changes.rs at line 590
if perm.as_str() == "+dx" {if perm.as_str() == " +dx" { - replacement in libpijul/src/change/text_changes.rs at line 592
} else if perm.as_str() == "+x" {} else if perm.as_str() == " +x" { - replacement in libpijul/src/change/text_changes.rs at line 725
if perm.as_str() == "+dx" {debug!("perm = {:?}", perm.as_str());if perm.as_str() == "+dx " { - replacement in libpijul/src/change/text_changes.rs at line 728
} else if perm.as_str() == "+x" {} else if perm.as_str() == "+x " { - file move: alive → alive