Josh Hansen
f1b4dd50a5
Roadmap update
2023-09-29 23:31:38 -07:00
Josh Hansen
f0574a563b
Try to test get
which has been buggy lately....
2023-09-29 23:30:36 -07:00
Josh Hansen
09b8e7475d
touch /status / restore / status on btrfs example
2023-09-29 23:20:22 -07:00
Josh Hansen
393278362e
Disable / remove printlns
2023-09-29 23:17:59 -07:00
Josh Hansen
b0fcb0fe8e
Really truly fix status
2023-09-29 22:24:54 -07:00
Josh Hansen
e730a35c2d
Attempt to fix status
iterator alignment issues; bugs remain
2023-09-29 11:04:16 -07:00
Josh Hansen
da30513add
Fix log
and add to example.sh / example_output
...
`status` bug remains
2023-09-28 14:50:38 -07:00
Josh Hansen
9d2650d0a5
Add restore
to example.sh btrfs commands; reveals likely bug in status
2023-09-28 13:45:47 -07:00
Josh Hansen
9a8db8c3d5
Finish restore
impl
2023-09-28 13:44:56 -07:00
Josh Hansen
75eab354c8
Almost fully implement restore
2023-09-28 00:12:49 -07:00
Josh Hansen
b99f8d50fc
Update roadmap
2023-09-27 23:26:57 -07:00
Josh Hansen
1d6cff3bbe
Framework for restore
2023-09-27 23:26:51 -07:00
Josh Hansen
0603e0b423
Run against an ext4 image; run main commands against btrfs too
...
This way we test both with- and without-btrfs support
2023-09-27 16:45:23 -07:00
Josh Hansen
a50f90b280
Extract functions
2023-09-27 16:12:06 -07:00
Josh Hansen
c76f88bd43
Only set owner/group upon snapshot dir creation
2023-09-27 15:22:41 -07:00
Josh Hansen
6399aabb66
Reflect btrfs additions in example_output, now working properly
2023-09-27 14:25:27 -07:00
Josh Hansen
2c89984b50
Quiet cargo build
2023-09-27 14:25:08 -07:00
Josh Hansen
cc5f6e3dd0
Disable btrfs-specific message on create
2023-09-27 14:25:01 -07:00
Josh Hansen
a6fbbcd202
Reflect ghee invocation change in snapshot
2023-09-27 14:22:36 -07:00
Josh Hansen
1b44d5150c
Initialize buffer properly; get things working
2023-09-27 14:19:29 -07:00
Josh Hansen
26c2883800
Status after olive
2023-09-27 14:09:14 -07:00
Josh Hansen
d250ed37b1
Simplify file read
2023-09-27 14:08:52 -07:00
Josh Hansen
9a17941bdc
Account for directories
2023-09-27 14:08:30 -07:00
Josh Hansen
4e8dcbbc06
Extract file hashing
2023-09-27 13:46:30 -07:00
Josh Hansen
96b0a72ed0
Propagate args to cargo build invocation
2023-09-27 13:25:43 -07:00
Josh Hansen
a3cde3da81
Only create snapshots dir if needed
2023-09-27 13:25:32 -07:00
Josh Hansen
c43ef9b43c
BTRFS stuff in example.sh; not all working yet
2023-09-27 12:35:56 -07:00
Josh Hansen
2e7c57114a
Restore "re-relativized" path output
...
Simple relative paths were .e.g ./olive (within table "pizza") rather than ./pizza/olive. We're calling this latter form re-relativized.
2023-09-27 11:57:03 -07:00
Josh Hansen
f0482d0e08
Don't absolutize needlessly (containing_table_info does it)
2023-09-27 11:55:16 -07:00
Josh Hansen
4bde4d462e
Seemingly get status
working
2023-09-27 11:48:38 -07:00
Josh Hansen
713f344657
Use WalkDir iteration directly for simplicity; avoids mismatch of snapshot tableinfo
2023-09-27 11:21:07 -07:00
Josh Hansen
3f78882ec6
Good progress on status
; bugs remain when running in presence of snapshot
2023-09-27 00:12:20 -07:00
Josh Hansen
3aa5bcef71
Roadmap work
2023-09-26 22:22:57 -07:00
Josh Hansen
91296166a5
Clean up status
output, such as it is; add to example.sh
2023-09-26 22:22:50 -07:00
Josh Hansen
7a95a15e4f
Standardize on absolute paths in TableInfo, thus fulfilling the ancient prophecy that the example output would be preserved.
2023-09-26 22:14:35 -07:00
Josh Hansen
8b1af42ea3
Simplify
2023-09-26 21:38:13 -07:00
Josh Hansen
32266b6e13
Make get
output look good again
2023-09-26 20:14:39 -07:00
Josh Hansen
ce226e3565
Coerce everything _except_ some path displays into working
2023-09-26 20:01:53 -07:00
Josh Hansen
48870b7e3a
Relocate PathBufs
2023-09-26 19:21:46 -07:00
Josh Hansen
d0c8990156
Introduce PathBufs
, try some stuff
2023-09-26 19:15:28 -07:00
Josh Hansen
ffc1f526ed
Restore idx
output
2023-09-26 17:42:00 -07:00
Josh Hansen
c88bc7a780
Fix remaining tests
2023-09-26 17:35:15 -07:00
Josh Hansen
26a35ecfc7
Propagate args
2023-09-26 17:16:26 -07:00
Josh Hansen
fb34699604
More fixes
2023-09-26 17:16:20 -07:00
Josh Hansen
1c9c9536f2
Fixes for idx
2023-09-26 17:07:32 -07:00
Josh Hansen
1e0df26151
Extract tableinfo
module; fix some of the destruction
...
Idea is to enforce access controls and make relative/absolute paths explicit
Meanwhile, we try again having `table_info`, `containing_table_info`, and `xattr_values_from_path` do their own absolutization
2023-09-26 16:59:16 -07:00
Josh Hansen
6c41496612
Partial re-relativization of ins
output
2023-09-26 12:19:52 -07:00
Josh Hansen
9adca7841f
Restore relative path output of idx
2023-09-26 11:17:47 -07:00
Josh Hansen
bb2c37773e
Re-relativize some paths when writing table info
2023-09-26 11:01:22 -07:00
Josh Hansen
972fea4a86
Bug fix in path relativization; get
output partly corrected
...
TODO Ensure that when writing table info, we re-relativize paths
2023-09-26 00:26:30 -07:00