aboutsummaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-29 18:00:21 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-29 18:00:21 +0200
commitd895b2b315e1a3fe37ca9afd140d6cc791ffc868 (patch)
tree7dc02cc2b423c6c147821ff87589497fcdc158bb /TODO.md
parentc2cc8f8a6fb65488f19a5addf47d83e19aff6f4b (diff)
downloaddna-backup-d895b2b315e1a3fe37ca9afd140d6cc791ffc868.tar.gz
dna-backup-d895b2b315e1a3fe37ca9afd140d6cc791ffc868.zip
support symlinks if it is internal to source
adapt tests
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/TODO.md b/TODO.md
index 96d8f1d..54de8f7 100644
--- a/TODO.md
+++ b/TODO.md
@@ -42,12 +42,16 @@ priority 2
is implemented
- [ ] keep hash workers so that they reuse the same hasher and reset it instead
of creating a new one each time. This could save some processing time
-- [ ] support links (symbolic mainly and also hard)
- - [ ] store this metadata somewhere, tar could be the solution, but this
+- [x] support symlinks
+ - [x] store this metadata somewhere, tar could be the solution, but this
would bury the metadata down into the chunks, storing it into the files
listing could be another solution but with this approach we would have
- to think about what other metadata we want to store
- - [ ] use a symlink aware Walk function (easy enough)
+ to think about what other metadata we want to store
+ I stored it in the _files_ file so that we don't need to read the chunks
+ to get the content of a symlinked file and because it does not seem to
+ add a lot of weight to this file (after compression).
+- [ ] store and restore symlinks relatively if it was relative in source
+ directory.
- [ ] add quick progress bar to CLI
- [ ] `list` command to list versions
- [ ] optional argument for `restore` to select the version to restore.