Hook program for gitannex to use owncloud as backend
python2
python-requests
Credit for the webdav api interface goes to https://launchpad.net/python-webdav-lib
Clone the git repository in your home folder.
git clone git://github.com/TobiasTheViking/owncloudannex.git
This should make a ~/owncloudannex folder
Make the file executable, and link it into PATH
cd ~/owncloudannex; chmod +x git-annex-remote-owncloud; sudo ln -sf `pwd`/git-annex-remote-owncloud /usr/local/bin/git-annex-remote-owncloud
USERNAME="login" PASSWORD="password" git annex initremote owncloud type=external externaltype=owncloud encryption=shared folder=gitannex url="https://host/remote.php/webdav/"
git annex describe dropbox "the owncloud library"