From facf488de52744cdd69e343042af902e3a0c5e95 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Mar 2020 22:42:33 -0400 Subject: [PATCH] two more services with multiple special remotes --- doc/special_remotes.mdwn | 2 +- doc/tips/dropboxannex.mdwn | 36 +++++++++-------------------------- doc/tips/owncloudannex.mdwn | 38 ++++++++++--------------------------- 3 files changed, 20 insertions(+), 56 deletions(-) diff --git a/doc/special_remotes.mdwn b/doc/special_remotes.mdwn index 205c5736e7..4471b2df1c 100644 --- a/doc/special_remotes.mdwn +++ b/doc/special_remotes.mdwn @@ -38,7 +38,7 @@ Here are specific instructions for using git-annex with various services: * [[Box.com|tips/using_box.com_as_a_special_remote]] * [Ceph](https://github.com/mhameed/git-annex-remote-ceph) * [chef-vault](https://github.com/3ofcoins/knife-annex/) -* [[Dropbox|rclone]] +* [[Dropbox|tips/dropboxannex]] * [[FTP|rclone]] * [[Flickr|tips/flickrannex]] * [Freenet](https://github.com/xloem/gitlakepy) diff --git a/doc/tips/dropboxannex.mdwn b/doc/tips/dropboxannex.mdwn index 0f82f659d7..95092236af 100644 --- a/doc/tips/dropboxannex.mdwn +++ b/doc/tips/dropboxannex.mdwn @@ -1,29 +1,11 @@ -dropboxannex 0.2.0 -========= +For using Dropbox as a special remote, there are currently two choices: -Hook program for gitannex to use dropbox as backend - -# Requirements: - - python2 - python-pkg-resources - -Credit for the Dropbox api interface goes to Dropbox. - -# Install -Clone the git repository in your home folder. - - git clone git://github.com/TobiasTheViking/dropboxannex.git - -This should make a ~/dropboxannex folder - -# Setup -Make the file executable, and link it into PATH - - cd ~/dropboxannex; chmod +x git-annex-remote-dropbox; sudo ln -sf `pwd`/git-annex-remote-dropbox /usr/local/bin/git-annex-remote-dropbox - -# Commands for gitannex: - - git annex initremote dropbox type=external externaltype=dropbox encryption=shared folder=gitannex - git annex describe dropbox "the dropbox library" +* rclone supports the Dropbox API, + so the [[rclone_special_remote|special_remotes/rclone]] can be used. + (Actively maintained) +* Alternatively, there is a dedicated special remote, + + (Last updated 2014) +At this time it's not clear which is better, so if you find one works +best, please comment below. diff --git a/doc/tips/owncloudannex.mdwn b/doc/tips/owncloudannex.mdwn index 31e7f682e1..509f8749c1 100644 --- a/doc/tips/owncloudannex.mdwn +++ b/doc/tips/owncloudannex.mdwn @@ -1,32 +1,14 @@ -owncloudannex 0.2.0 -========= +For using Owncloud and Nextcloud +as a special remote, there are currently three choices: -Hook program for gitannex to use owncloud as backend +* Use git-annex's builtin [[special_remotes/webdav]] support. -# Requirements: +* Alternatively, rclone supports them + so the [[rclone_special_remote|special_remotes/rclone]] can be used. - python2 - python-requests +* Alternatively, there is a dedicated special remote, + + (Last updated 2014) -Credit for the webdav api interface goes to https://launchpad.net/python-webdav-lib - -# Install -Clone the git repository in your home folder. - - git clone git://github.com/TobiasTheViking/owncloudannex.git - -This should make a ~/owncloudannex folder - -# Setup -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 - -# Commands for gitannex: - - 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" - -# Note - -This can also be accomplished through the [[special_remotes/webdav]] special remote as Owncloud and Nextcloud are basically webdav endpoints. +At this time it's not clear which is better, so if you find one works +best, please comment below.