summaryrefslogtreecommitdiff
path: root/doc/tips/imapannex.mdwn
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <develop@web>2013-08-15 21:19:50 +0000
committerGravatar admin <admin@branchable.com>2013-08-15 21:19:50 +0000
commit68391c6fdd8509ed538b239c0afbd0c90c6ffef5 (patch)
tree7cf1f54871b1e4c1706088ab44404f3287ce9a6d /doc/tips/imapannex.mdwn
parent0b1ea8aaa21fba0033f890cdc4c125775ef9dc82 (diff)
Diffstat (limited to 'doc/tips/imapannex.mdwn')
-rw-r--r--doc/tips/imapannex.mdwn27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/tips/imapannex.mdwn b/doc/tips/imapannex.mdwn
new file mode 100644
index 000000000..594687db4
--- /dev/null
+++ b/doc/tips/imapannex.mdwn
@@ -0,0 +1,27 @@
+imapannex
+=========
+
+Hook program for gitannex to use imap as backend
+
+# Requirements:
+
+ python2
+
+# Install
+Clone the git repository in your home folder.
+
+ git clone git://github.com/TobiasTheViking/imapannex.git
+
+This should make a ~/imapannex folder
+
+# Setup
+Run the program once to set it up.
+
+ cd ~/imapannex; python2 imapannex.py
+
+# Commands for gitannex:
+
+ git config annex.imap-hook '/usr/bin/python2 ~/imapannex/imapannex.py'
+ git annex initremote imap type=hook hooktype=imap encryption=shared
+ git annex describe imap "the imap library"
+ git annex content imap exclude=largerthan=30mb