diff options
author | 2016-06-23 00:34:59 +0000 | |
---|---|---|
committer | 2016-06-23 00:34:59 +0000 | |
commit | 3fdef2a817054fc1434259e9422e2dd3b9e6dd82 (patch) | |
tree | 0dee9780c1a7fde47ad4273ea2355010c1bcc986 /doc/todo | |
parent | 298b1f39e3d6d87e253dfd6afd964a8a7f6ac6e3 (diff) |
Added a comment: dumb external remote implemented
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_4_bbee2fa4b4fed1c5117cc4ddb0395278._comment | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_4_bbee2fa4b4fed1c5117cc4ddb0395278._comment b/doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_4_bbee2fa4b4fed1c5117cc4ddb0395278._comment new file mode 100644 index 000000000..845eb7f16 --- /dev/null +++ b/doc/todo/dumb__44___unsafe__44___human-readable_backend/comment_4_bbee2fa4b4fed1c5117cc4ddb0395278._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="anarcat" + subject="dumb external remote implemented" + date="2016-06-23T00:34:59Z" + content=""" +so I went ahead and scratched my itch of implementing this dumb special remote. i think it would be better implemented as a backend, but i am not sure how to implement that without going deep into haskell, and it seems like a mad idea anyways, because it would need to modify the hashing structure as well (to keep the directory structure). + +the remote is a simple shell script inspired by the example script, but that does some nasty (and slow) `git log -S` stuff to find a matching file path to a given key. ideally, this would be streamlined into a git-annex command that could then be optimized, because as it is now, each call is a separate history search. + +the script is here: <http://src.anarc.at/scripts.git/blob_plain/HEAD:/git-annex-remote-dumb> + +i haven't added it to the [[special_remotes]] list yet, because maybe it warrants a separate [[tips]] page. i also do not want to introduce what can be seen as a \"bad idea\" from git-annex's integrity principles to the list of special remotes before agreement here. +"""]] |