From 5df7cd5fee4c747766122e46a6cd7af36b89cb9d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 31 Oct 2016 16:06:26 -0400 Subject: comment --- ...ent_6_63b0da8fe5cba74411e16070d4dcf4bb._comment | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_6_63b0da8fe5cba74411e16070d4dcf4bb._comment diff --git a/doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_6_63b0da8fe5cba74411e16070d4dcf4bb._comment b/doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_6_63b0da8fe5cba74411e16070d4dcf4bb._comment new file mode 100644 index 000000000..b4da39641 --- /dev/null +++ b/doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_6_63b0da8fe5cba74411e16070d4dcf4bb._comment @@ -0,0 +1,46 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 6""" + date="2016-10-31T19:50:06Z" + content=""" +So, I tried your git-annex-remote-dumb. After fixing its calckey to work with the current version of git-annex ... + + joey@darkstar:~/tmp/repo>git annex initremote dumb type=external externaltype=dumb directory=/tmp/dumb encryption=none + initremote dumb ok + joey@darkstar:~/tmp/repo>echo hello > hello + joey@darkstar:~/tmp/repo>git annex add + add hello ok + joey@darkstar:~/tmp/repo>git commit -m add + joey@darkstar:~/tmp/repo>git annex move hello --to dumb + move hello (to dumb...) + ok + joey@darkstar:~/tmp/repo>cat /tmp/dumb/hello + hello + joey@darkstar:~/tmp/repo>git mv hello goodbye + joey@darkstar:~/tmp/repo>git commit -a -m rename + joey@darkstar:~/tmp/repo>echo oh no > hello + joey@darkstar:~/tmp/repo>git annex add hello + add hello ok + joey@darkstar:~/tmp/repo>git commit -a -m foo + joey@darkstar:~/tmp/repo>git annex copy hello --to dumb + copy hello (to dumb...) + ok + joey@darkstar:~/tmp/repo>cat /tmp/dumb/hello + oh no + joey@darkstar:~/tmp/repo>git annex whereis goodbye + whereis goodbye (2 copies) + 2b308975-ff60-4878-ae12-5d2b62903470 -- joey@darkstar:~/tmp/repo [here] + 3ef932e6-0989-46bd-a4c6-86562ed713f5 -- [dumb] + ok + joey@darkstar:~/tmp/repo>git annex fsck --from dumb goodbye + fsck goodbye (fixing location log) + ** Based on the location log, goodbye + ** was expected to be present, but its content is missing. + failed + (recording state in git...) + +So yeah, that's data loss, and it's just the first thing I thought of. + +Aside from data loss bugs, /tmp/dumb just can't be kept fully up-to-date +with changes to the working tree. So what's the point of it? +"""]] -- cgit v1.2.3