Fixing a parsing problem (related to permissions), and the associated permissions

[?]
Feb 27, 2021, 9:41 PM
YTQS4ES362EJ27OE45CE5HLY7ZU57YLVKRMDRJ2OXT623VM5WOBQC

Dependencies

  • [2] HDGRZISM Version updates
  • [3] QQZNSB26 Permission update (after #X243)
  • [4] X243Z3Y5 Recording only the required metadata (can even be changed later!)
  • [5] JL4WKA5P Implement the Sanakirja concurrency model in a cross-process way
  • [6] G65S7FAW Version bump and cleanup
  • [7] HYRH4E55 rustfmt.toml: init
  • [8] KJDQ2WOM Fixing the parsing of section headers in the text change format
  • [9] VO5OQW4W Removing anyhow in libpijul
  • [10] G734WNM6 flake.nix: use crate2nix
  • [11] DJ5JYH3K COPYING
  • [12] IUH7IMWE Contributor license agreements
  • [13] CCFJ7VO3 Renaming "Record" to "Hunk" in the changes
  • [14] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • file move: pijul-macros (----------)pijul-macros (d--r------)
    [1.0]
    [3.428]
  • file move: src (----------)src (d--r------)
    [3.428]
    [3.435]
  • file move: pijul (----------)pijul (d--r------)
    [1.0]
    [3.21407]
  • file move: src (----------)src (d--r------)
    [3.21407]
    [3.21414]
  • file move: remote (----------)remote (d--r------)
    [3.21414]
    [3.25370]
  • file move: commands (----------)commands (d--r------)
    [3.21414]
    [3.93386]
  • file move: libpijul (----------)libpijul (d--r------)
    [1.0]
    [3.198139]
  • file move: src (----------)src (d--r------)
    [3.198139]
    [3.198146]
  • file move: working_copy (----------)working_copy (d--r------)
    [3.198146]
    [3.198162]
  • file move: unrecord (----------)unrecord (d--r------)
    [3.198146]
    [3.225921]
  • file move: tests (----------)tests (d--r------)
    [3.198146]
    [3.248792]
  • file move: pristine (----------)pristine (d--r------)
    [3.198146]
    [3.525229]
  • file move: output (----------)output (d--r------)
    [3.198146]
    [3.671794]
  • file move: diff (----------)diff (d--r------)
    [3.198146]
    [3.768883]
  • file move: changestore (----------)changestore (d--r------)
    [3.198146]
    [3.817206]
  • file move: change (----------)change (d--r------)
    [3.198146]
    [3.931000]
  • replacement in libpijul/src/change/text_changes.rs at line 545
    [3.57069][3.2347:2476]()
    Regex::new(r#"^(?P<n>\d+)\. File addition: "(?P<name>[^"]*)" in "(?P<parent>[^"]*)" (?P<perm>[^ ]+)"#).unwrap();
    [3.57069]
    [3.57195]
    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
    [3.57759][3.2477:2607]()
    Regex::new(r#"^([0-9]+)\. Moved: "(?P<former>[^"]*)" "(?P<new>[^"]*)" (?P<perm>[^ ]* )?(?P<inode>.*)"#).unwrap();
    [3.57759]
    [3.627]
    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
    [3.2670][3.2670:2714]()
    if perm.as_str() == "+dx" {
    [3.2670]
    [3.2714]
    if perm.as_str() == " +dx" {
  • replacement in libpijul/src/change/text_changes.rs at line 592
    [3.2741][3.2741:2791]()
    } else if perm.as_str() == "+x" {
    [3.2741]
    [3.2791]
    } else if perm.as_str() == " +x" {
  • replacement in libpijul/src/change/text_changes.rs at line 725
    [3.2999][3.2999:3043]()
    if perm.as_str() == "+dx" {
    [3.2999]
    [3.3043]
    debug!("perm = {:?}", perm.as_str());
    if perm.as_str() == "+dx " {
  • replacement in libpijul/src/change/text_changes.rs at line 728
    [3.3070][3.3070:3120]()
    } else if perm.as_str() == "+x" {
    [3.3070]
    [3.3120]
    } else if perm.as_str() == "+x " {
  • file move: alive (----------)alive (d--r------)
    [3.198146]
    [3.982249]