summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-19 13:12:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-19 13:12:52 -0400
commit7f0c32c547c1f666079b3dc96909696b5dca0f8c (patch)
treed991b875d0b9e777f38eae381c6abbc1ae7a7f0d
parent660a382b390d095df9ebf00bff591fa19f655db8 (diff)
parentea966fdad036ea404a3e1a64c99e791bce396f43 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/todo/--batch_for_find/comment_2_9873396186f4d24088fd746f42373678._comment27
-rw-r--r--doc/todo/--batch_for_whereis.mdwn1
2 files changed, 28 insertions, 0 deletions
diff --git a/doc/todo/--batch_for_find/comment_2_9873396186f4d24088fd746f42373678._comment b/doc/todo/--batch_for_find/comment_2_9873396186f4d24088fd746f42373678._comment
new file mode 100644
index 000000000..416e588e1
--- /dev/null
+++ b/doc/todo/--batch_for_find/comment_2_9873396186f4d24088fd746f42373678._comment
@@ -0,0 +1,27 @@
+[[!comment format=mdwn
+ username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
+ subject="comment 2"
+ date="2016-01-19T16:39:49Z"
+ content="""
+info -- nope, since it returns the same success and size = 0 bytes for a 0-length file which is under annex regardless either its precious load is present locally or not
+
+[[!format sh \"\"\"
+
+$> git annex find empty
+$> git annex info --json empty
+{\"command\":\"info empty\",\"file\":\"empty\",\"size\":\"0 bytes\",\"key\":\"SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"success\":true}
+
+$> git annex get empty
+get empty (from web...)
+/tmp/123/.git/annex/tmp/SHA256E-s0--e3b0c44298fc1c149af [ <=> ] 0 --.-KB/s in 0s
+(checksum...) ok
+(recording state in git...)
+
+$> git annex info --json empty
+{\"command\":\"info empty\",\"file\":\"empty\",\"size\":\"0 bytes\",\"key\":\"SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"success\":true}
+
+
+\"\"\"]]
+
+I could use whereis (--batch is TODO for it as well) and analyze output either any remote claims it to be \"here\" though.
+"""]]
diff --git a/doc/todo/--batch_for_whereis.mdwn b/doc/todo/--batch_for_whereis.mdwn
new file mode 100644
index 000000000..8a2cd22bd
--- /dev/null
+++ b/doc/todo/--batch_for_whereis.mdwn
@@ -0,0 +1 @@
+subject. IMHO yet another useful command to be batched