1
1
mirror of https://github.com/mgree/ffs.git synced 2024-10-26 11:55:34 +03:00

Commit Graph

  • 16396b8a28
    Minor tweaks (#71) main latest Michael Greenberg 2024-05-02 18:38:31 -0400
  • ff26d841e8 update workflow versions Michael Greenberg 2024-05-02 16:36:12 -0400
  • ee7cf76c6b Merge branch 'main' into style-fixes Michael Greenberg 2024-05-02 16:32:24 -0400
  • 057d0bc5fa add back casts that clippy removed because we need them on macos lol Michael Greenberg 2024-05-02 16:24:29 -0400
  • 56ba6890ba
    Revert "satisfy clippy, cleanup format strings, and general formatting (#69)" (#70) Michael Greenberg 2024-05-02 16:20:50 -0400
  • 54ed84ceb4
    Revert "satisfy clippy, cleanup format strings, and general formatting (#69)" Michael Greenberg 2024-05-02 16:20:12 -0400
  • 4d6ce7037b build on macos-latest to get newer rust version (maybe?) Michael Greenberg 2024-05-02 16:19:56 -0400
  • 8e4de3ac33
    satisfy clippy, cleanup format strings, and general formatting (#69) Michael Greenberg 2024-05-02 16:19:56 -0400
  • 23067d2ea1 satisfy clippy, cleanpu format strings and formatting Michael Greenberg 2024-05-02 16:14:36 -0400
  • 8150bff1e0 update docs to clarify #66 Michael Greenberg 2024-05-02 15:32:01 -0400
  • 2a406b9253
    Upgrade dependencies (#68) Michael Greenberg 2024-05-02 00:16:17 -0400
  • ca1bd25727 fixup tests Michael Greenberg 2024-05-01 23:51:28 -0400
  • 4a9ec4b7bb update versions, fixup source Michael Greenberg 2024-05-01 23:51:21 -0400
  • b5cbf16120 add tests for #67 Michael Greenberg 2024-05-01 23:50:49 -0400
  • 3857d74d27
    pack/unpack (#65) Dan Liu 2023-09-27 10:02:15 -0400
  • b185c89fe8
    Merge branch 'main' into pack-unpack Michael Greenberg 2023-09-27 09:37:59 -0400
  • 5828e3422a don't use regex to detect. just check first or first two chars manually. continue to use regex for sorting because lexicographic sorting for files starting with - means larger negative numbers go to the right nad 2023-09-10 10:29:19 -0400
  • 0b30c180d1 loosen criterion for determining directory type directories get resolved as list if all files begin with an integer. if a directory's user.type gets forcibly set to list without obeying that property, all filenames that don't begin with an integer get put to the end of the list, but are still sorted alphabetically. nad 2023-09-09 16:04:25 -0400
  • 9af34ec492 use struct instead of tuple in symlink map for better naming and code clarity nad 2023-09-09 10:33:12 -0400
  • c6aa15acae resolve repeated traversal of broken symlinks store bool of whether link is broken in symlink mapping checks symlinks a maximum of two times for broken links nad 2023-09-08 20:11:35 -0400
  • f8aa63db47 better warn message for broken symlink nad 2023-09-08 14:50:31 -0400
  • 2ea9d46cf1 warn when hitting broken symlinks. nad 2023-09-08 14:35:43 -0400
  • 4e6b178b17 resolve directory type always. warn for unknown path_type. nad 2023-09-08 14:16:16 -0400
  • f2b961c3c5 use auto instead of detect and check for auto and is_dir to resolve directory type use .as_ref instead of .clone for accessing mount remove non-symlinks from mapping nad 2023-09-08 13:44:34 -0400
  • 494dc17691 while let instead of queue.empty nad 2023-09-06 23:11:05 -0400
  • 526d3f2dcb simple changes for requests: pack:122 add loop to error msg debug! for received config in unpack & pack f.write(s)? instead of write! shadowed original_name verb agreement in cli.rs remove reserve for BTreeMap and now useless TODOs nad 2023-09-06 22:54:14 -0400
  • 6b6c9e9880 code cleanup, added test for symlink escape and maxdepth together, show warnings in config for pack/unpack not just errors nad 2023-08-16 14:33:40 -0400
  • 5ff9aa7c6e fix: wrong detected type map instead of named. add: symlink escape and maxdepth test. nad 2023-08-11 17:08:04 -0400
  • dc1db1c43d fix: macos links /var to /private/var so checking if symlinked path starts with mount errors. canonicalizing mount works. nad 2023-08-09 11:27:50 -0400
  • a486d7b1bb impl --max-depth and --allow-symlink-escape. tests needed nad 2023-08-09 11:09:21 -0400
  • f2aba26741 fix: setting xattr on symlink doesn't work in linux :( making it macOS-specific nad 2023-08-08 18:04:11 -0400
  • 9e725d9ee3 actually print out the xattr nad 2023-08-08 17:03:38 -0400
  • f5ec7cdbba see why test5 not working on linux nad 2023-08-08 16:55:23 -0400
  • 3c39b7457a fix test4 for symlink test on linux nad 2023-08-08 16:43:47 -0400
  • 893e846480 added test for packing symlinks, added some comments for pack nad 2023-08-08 15:26:40 -0400
  • e0e6d692dd symlinks mostly done. cleanup + efficiency checks needed nad 2023-08-03 16:45:44 -0400
  • 355f046c58 added symlink support for pack nad 2023-07-28 17:22:51 -0400
  • a4718d53cf added (un)pack exit status tests nad 2023-07-26 17:27:24 -0400
  • 945591ab36 fixed issues with adding fail conditions nad 2023-07-24 22:13:21 -0400
  • d6434003fe added fail (un)pack for every call, fix missing n in fail msg for basic_object_exact nad 2023-07-24 21:57:29 -0400
  • aa6c2307ee
    added test for empty log to see if quiet was successful and rm all tmp files (#64) Dan Liu 2023-07-21 21:41:34 -0400
  • eb5cc28483 added quiet inplace, umask test based on mode.sh nad 2023-07-21 18:33:20 -0400
  • 2a0579e3ae added test for empty log to see if quiet was successful and rm all tmp files nad 2023-07-21 16:03:03 -0400
  • 2e614314f5
    Run pack/unpack` in macOS CI; factor out benchmarks (#63) Michael Greenberg 2023-07-19 20:04:26 -0400
  • c84bd2e513 back and better than ever Michael Greenberg 2023-07-19 19:39:11 -0400
  • 0f5cb5bd5e you need to be able to _run_ it Michael Greenberg 2023-07-19 17:47:06 -0400
  • b98c0acbcf ya gotta get it right Michael Greenberg 2023-07-19 17:22:00 -0400
  • 3edca36c49 debugging in benchmark Michael Greenberg 2023-07-19 16:49:22 -0400
  • 91e09fccf4 pack: added back ignored file for lists and --no-xattr option in cli, added macos_noxattr_cleanup (not exactly the same as ffs test) nad 2023-07-18 13:54:53 -0400
  • 46a3717d56 edit script formatting using quotes around vars, rm readonly for unpack nad 2023-07-14 11:34:37 -0400
  • f874849321 deps for benchmarks Michael Greenberg 2023-07-12 22:30:06 -0400
  • 9b82bae8de let benchmarks see the ffs executable Michael Greenberg 2023-07-12 20:30:44 -0400
  • 8de5231be3 forgot to checkout code for benchmark Michael Greenberg 2023-07-12 17:16:34 -0400
  • c601eb88aa quieter testing, turn on testing in macos Michael Greenberg 2023-07-12 17:03:03 -0400
  • ddbd021e16 fixed tests for unpack/pack nad 2023-07-12 16:14:27 -0400
  • 71e7cd8428 more tests, missing 1 fail message in yaml_output test, changed pack list sorting to use file name instead of parsed integers to match ffs nad 2023-07-11 14:29:35 -0400
  • 9f4fe60b44 more tests, fix: original_name xattr only gets used if name is invalid nad 2023-07-10 14:11:22 -0400
  • 2dee504113
    fix: wrong mountpoint in fail() (#62) Dan Liu 2023-06-04 08:29:49 -0400
  • f3a08f2237 fix: wrong mountpoint in fail() nad 2023-06-03 12:09:22 -0400
  • 3cded862fb added more scripts. fixed bug in infer_mount_relative fail() nad 2023-06-03 00:19:06 -0400
  • 9ace7ceb5a changed user.type xattr for non-lists from 'map' to 'named'. converted 10 scripts nad 2023-05-30 14:27:44 -0400
  • 67c08f7279 unpack: don't remove dir if value is not map or list. pack: detect file type without xattr. started adapting more scripts to use unpack/pack nad 2023-05-25 15:30:15 -0400
  • 059f1f6346 another update to test scripts nad 2023-04-30 19:59:35 -0400
  • 104f66defe fix packunpack tests nad 2023-04-30 17:16:45 -0400
  • ca9c6450f7 rm ERR_MSG tmp file in all tests. added all possible format conversion tests. edit to run_tests.sh to support new tests nad 2023-04-29 16:39:16 -0400
  • 322d919710 fix pack: added --exact nad 2023-04-29 15:03:16 -0400
  • a56fbee808 roundtrip tests for formats. since comments and formatting aren't preserved, unpack and pack twice nad 2023-04-21 17:26:13 -0400
  • 67ba41163e fixed missing RUST_LOG warnings nad 2023-04-17 16:52:36 -0400
  • 35b5c4ff4f prevent non-object/array from being unpacked nad 2023-04-17 16:39:58 -0400
  • ea40464d38 fix no-xattr option for unpack nad 2023-04-13 15:46:30 -0400
  • e50a15dac0 checked almost all error statuses nad 2023-04-12 17:51:24 -0400
  • a46ee3f5bc fixed unpacking into empty dir. only unpacking into unempty dir errors nad 2023-04-11 16:10:25 -0400
  • d0e4f4d09f
    munge bugfix (#61) Dan 2023-04-08 18:43:12 -0400
  • ef85c9634b edited config to better support pack and unpack actions nad 2023-04-05 17:07:19 -0400
  • 9461bc8422 changed cli options for pack-unpack (unfinished) nad 2023-04-04 16:42:37 -0400
  • 4548c0cfcc munge bugfix nad 2023-04-04 15:25:37 -0400
  • a6a4bd282d unpack and pack now have their own args parsers nad 2023-03-30 21:08:36 -0400
  • 03d1e82dcc pack.rs similar to as_other_value now and works nad 2023-03-28 16:19:40 -0400
  • 7a3ebd7c41 change pack to return name and value so recursion can work without queue nad 2023-03-27 16:46:28 -0400
  • 3ac216d5eb pack works, but not too efficient nad 2023-03-24 14:23:39 -0400
  • 1a4a9195d2 almost working pack.rs nad 2023-03-22 16:52:54 -0400
  • e6c764269f remove dep walkdir nad 2023-03-22 16:42:02 -0400
  • 3d05436b98 not working pack.rs nad 2023-03-22 14:12:35 -0400
  • 4e886974f6 added dep walkdir nad 2023-03-21 17:17:24 -0400
  • 8d00e2c2f7 added from_pack_args and some code to get the Value structure from a file nad 2023-03-20 19:35:40 -0400
  • cc42fff594 fixed unpack configs nad 2023-03-16 18:20:49 -0400
  • 0623b0d9ad use config object for file name parsing, change from_args to from_ffs_args in ffs.rs nad 2023-03-15 18:29:12 -0400
  • b4ec70371b unpack supports all 3 types now nad 2023-03-14 17:36:06 -0400
  • 54f41b78aa first cut at BFS with nodes Michael Greenberg 2023-03-06 15:05:16 -0500
  • e185202cec error condition for already existing root dir and text files nad 2023-02-16 14:32:36 -0500
  • 62b8902bdd main.rs > ffs.rs to have ffs as executable nad 2023-02-16 14:28:44 -0500
  • 1e0596250e added file creation for null,bool,num,str nad 2023-02-14 16:49:12 -0500
  • b756690fa2 moved main.rs last commit. forgot to commit the removal nad 2023-02-14 15:34:24 -0500
  • 71daa7efee created lib.rs and moved ffs main.rs bin. added bfs traversal of json structure. nad 2023-02-13 16:43:29 -0500
  • afc788164a Merge branch 'main' into pack-unpack Michael Greenberg 2022-12-07 14:46:54 -0500
  • 6cabcefb8a new version of r in gh action Michael Greenberg 2022-12-07 14:46:48 -0500
  • a413bc8aeb new version of r in gh action Michael Greenberg 2022-12-07 14:46:08 -0500
  • 086f21c74b Merge branch 'main' into pack-unpack. Michael Greenberg 2022-08-25 11:13:09 -0400
  • 6d26621959 todo notes for pack/unpack [ci skip] Michael Greenberg 2022-08-24 19:57:57 -0400
  • ff09d2bbae fixup exit status Michael Greenberg 2022-08-03 11:30:09 -0400