summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-10-31 16:06:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-10-31 16:06:26 -0400
commit5df7cd5fee4c747766122e46a6cd7af36b89cb9d (patch)
tree7b3f1dc98148b50280fbf32a88ec4283a0a7e7dc
parente89d9df3675a5d261eaa6f8761793cf1c62a5e1d (diff)
comment
-rw-r--r--doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_6_63b0da8fe5cba74411e16070d4dcf4bb._comment46
1 files changed, 46 insertions, 0 deletions
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?
+"""]]