comment
authorJoey Hess <joeyh@joeyh.name>
Mon, 31 Oct 2016 20:06:26 +0000 (16:06 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 31 Oct 2016 20:06:26 +0000 (16:06 -0400)
doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_6_63b0da8fe5cba74411e16070d4dcf4bb._comment [new file with mode: 0644]

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 (file)
index 0000000..b4da396
--- /dev/null
@@ -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?
+"""]]