skydriveannex 0.2.1
Hook program for gitannex to use skydrive (previously Windows Live SkyDrive and Windows Live Folders) as backend
Requirements:
python2
python-yaml
Credit for the Skydrive api interface goes to https://github.com/mk-fg/python-skydrive
Install
Clone the git repository in your home folder.
git clone git://github.com/TobiasTheViking/skydriveannex.git
This should make a ~/skydriveannex folder
Setup
Make the file executable, and link it into PATH
cd ~/skydriveannex; chmod +x git-annex-remote-skydrive; sudo ln -sf `pwd`/git-annex-remote-skydrive /usr/local/bin/git-annex-remote-skydrive
Commands for gitannex:
git annex initremote skydrive type=external externaltype=skydrive encryption=shared folder=gitannex
An oauth authentication link should now be launched in the default browser. Authenticate, and use the last url as OAUTH key.
OAUTH='URL after last redirect' git annex initremote skydrive type=external externaltype=skydrive encryption=shared folder=gitannex
git annex describe skydrive "the skydrive library"
Above wasn't mentioned in the tutorial so I tried it:
What now? Never got asked about any OAUTH...
tried it but no luck:
Figured out how to solve that: which python /opt/local/bin/python shiny-2:git-annex ovi$ sudo ln -s
which python
/usr/bin/python2The URL opened in my browser, I allowed access, waited for the redirect, copied the URL, hit the next problem:
initremote skydrive (encryption setup) (shared cipher) 21:06:27 [skydriveannex-0.2.1] : 'Starting' 21:06:27 [skydriveannex-0.2.1] login : 'EXCEPTION api.auth_get_token:ImportError('No module named requests',)' git-annex: You need to set OAUTH environment variables and folder and encryption parameters when running initremote.
realized I need requests. to install I need pip.
Finished! Seems to be working and I can see this repository in my assistant!
Wondering about this:
I read what it means: http://git-annex.branchable.com/encryption/
But now I'm wondering how the repos which I set up via the assistant have been setup. when setting them up I only had the choice between "encrypt all files" and "disable encryption" so how can I check what settings my other repos are using?
Error log says:
BUT I did a symlink, I even did 2 to 2 different locations that are in my path: