2013-08-15 21:19:50 +00:00
|
|
|
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"
|
2013-10-28 18:08:38 +00:00
|
|
|
git annex wanted imap exclude=largerthan=30mb
|