diff options
author | 2014-12-11 18:09:44 -0400 | |
---|---|---|
committer | 2014-12-11 18:09:44 -0400 | |
commit | 0a26abf0ea0f19deb2e318e574bcbdc2f2f4d79d (patch) | |
tree | 531fcbf789b3d67fd43a372f851c0c76db7388ed /doc/special_remotes/external.mdwn | |
parent | 7efc177f1a75cfdccb08cc195cbca3f880de59ad (diff) |
add working external special remote for torrents
Not IMHO good enough quality to be more than an example, but it does work!
Diffstat (limited to 'doc/special_remotes/external.mdwn')
-rw-r--r-- | doc/special_remotes/external.mdwn | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/special_remotes/external.mdwn b/doc/special_remotes/external.mdwn index d96999693..010f2a17b 100644 --- a/doc/special_remotes/external.mdwn +++ b/doc/special_remotes/external.mdwn @@ -14,14 +14,18 @@ It's not hard! * Install it in PATH. * When the user runs `git annex initremote foo type=external externaltype=$bar`, it will use your program. +* See [[design/external_special_remote_protocol]] for what the program + needs to do. There's an example at the end of this page. * If things don't seem to work, pass `--debug` and you'll see, amoung other things, a transcript of git-annex's communication with your program. * If you build a new special remote, please add it to the list of [[special_remotes]]. +Here's an example of using an external special remote to add torrent +support to git-annex: [[external/git-annex-remote-torrent]] + Here's a simple shell script example, which can easily be adapted to run whatever commands you need. Or better, re-written in some better -language of your choice. See [[design/external_special_remote_protocol]] -for the details. +language of your choice. [[!inline pages="special_remotes/external/example.sh" feeds=no]] |