Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2018-09-06 14:37:42 -04:00
commit 19e91d5ee3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 83 additions and 28 deletions

View file

@ -0,0 +1,2 @@
I'd like to do something like git-annex-addurl, except the URL is not a web address but a domain-specific identifier. Specifically, on the DNAnexus platform, each file is assigned an immutable ID like file-asdf432fdsa. I want to configure git-annex so that it knows it can fetch the file using a specific command (not curl but 'dx download file-asdf432fdsa'); and so that it completely trusts that the file can always be fetched this way. What would be the right combination of configurations/settings to make this work? I was thinking of some combination of WORM backend configured just for DNAnexus files and a special remote, but not sure (this "special remote" would only support copying files from it, not to it; so it's more like "special web").
Thanks for any suggestions!

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba"
nickname="Ilya S"
avatar="http://cdn.libravatar.org/avatar/8a133555cc739a35b83b07d5724d28d9e2f7852c224e949eec6fd4fb7693331e"
subject="comment 2"
date="2018-09-06T04:17:35Z"
content="""
Thanks a lot!
"""]]

View file

@ -7,21 +7,22 @@ But, git-annex also extends git's concept of remotes, with these special
types of remotes. These can be used just like any normal remote by git-annex.
They cannot be used by other git commands though.
* [[S3]] (Amazon S3, and other compatible services)
* [[adb]] (for Android devices)
* [[Amazon_Glacier|glacier]]
* [[bittorrent]]
* [[bup]]
* [[ddar]]
* [[gcrypt]] (encrypted git repositories!)
* [[directory]]
* [[rsync]]
* [[webdav]]
* [[adb]] (for Android devices)
* [[tahoe]]
* [[web]]
* [[bittorrent]]
* [[tor]]
* [[xmpp]]
* [[gcrypt]] (encrypted git repositories!)
* [[hook]]
* [[rclone]]
* [[rsync]]
* [[S3]] (Amazon S3, and other compatible services)
* [[tahoe]]
* [[tor]]
* [[web]]
* [[webdav]]
* [[xmpp]]
The above special remotes are built into git-annex, and can be used
to tie git-annex into many cloud services.
@ -29,30 +30,30 @@ to tie git-annex into many cloud services.
Here are specific instructions
for using git-annex with various services:
* [[Amazon_S3|tips/using_Amazon_S3]]
* [[Amazon_Glacier|tips/using_Amazon_Glacier]]
* [Amazon Cloud drive](https://github.com/DanielDent/git-annex-remote-rclone)
* [[tips/Internet_Archive_via_S3]]
* [[Box.com|tips/using_box.com_as_a_special_remote]]
* [Google Drive](https://github.com/Lykos153/git-annex-remote-googledrive)
* [[Google Cloud Storage|tips/using_Google_Cloud_Storage]]
* [[Mega.co.nz|tips/megaannex]]
* [[SkyDrive|tips/skydriveannex]]
* [[OwnCloud|tips/owncloudannex]]
* [[Flickr|tips/flickrannex]]
* [[IMAP|forum/special_remote_for_IMAP]]
* [[Usenet|forum/nntp__47__usenet special remote]]
* [chef-vault](https://github.com/3ofcoins/knife-annex/)
* [hubiC](https://github.com/Schnouki/git-annex-remote-hubic)
* [pCloud](https://github.com/tochev/git-annex-remote-pcloud)
* [[ipfs]]
* [Ceph](https://github.com/mhameed/git-annex-remote-ceph)
* [[Amazon_S3|tips/using_Amazon_S3]]
* [Backblaze's B2](https://github.com/encryptio/git-annex-remote-b2)
* [[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](https://github.com/DanielDent/git-annex-remote-rclone)
* [Openstack Swift / Rackspace cloud files / Memset Memstore](https://github.com/DanielDent/git-annex-remote-rclone)
* [[Flickr|tips/flickrannex]]
* [[Google Cloud Storage|tips/using_Google_Cloud_Storage]]
* [Google Drive](https://github.com/Lykos153/git-annex-remote-googledrive)
* [hubiC](https://github.com/Schnouki/git-annex-remote-hubic)
* [[IMAP|forum/special_remote_for_IMAP]]
* [[tips/Internet_Archive_via_S3]]
* [[ipfs]]
* [[Mega.co.nz|tips/megaannex]]
* [Microsoft One Drive](https://github.com/DanielDent/git-annex-remote-rclone)
* [Yandex Disk](https://github.com/DanielDent/git-annex-remote-rclone)
* [Openstack Swift / Rackspace cloud files / Memset Memstore](https://github.com/DanielDent/git-annex-remote-rclone)
* [[OwnCloud|tips/owncloudannex]]
* [pCloud](https://github.com/tochev/git-annex-remote-pcloud)
* [[SkyDrive|tips/skydriveannex]]
* [smb / sftp](https://github.com/grawity/code/blob/master/net/git-annex-remote-gvfs)
* [[Usenet|forum/nntp__47__usenet special remote]]
* [Yandex Disk](https://github.com/DanielDent/git-annex-remote-rclone)
Want to add support for something else? [[Write your own!|external]]

View file

@ -0,0 +1,29 @@
[rclone](https://rclone.org/) is a command line program to sync files and directories to and from a vast variety of cloud provider and protocols. At the time of writing, this includes the following services:
* Amazon Drive ([See note](https://rclone.org/amazonclouddrive/#status))
* Amazon S3 / Dreamhost / Ceph / Minio / Wasabi
* Backblaze B2
* Box
* Dropbox
* FTP
* Google Cloud Storage
* Google Drive
* HTTP
* Hubic
* Jottacloud
* Mega
* Microsoft Azure Blob Storage
* Microsoft OneDrive
* OpenDrive
* Openstack Swift / Rackspace cloud files / Memset Memstore / OVH / Oracle Cloud Storage
* pCloud
* QingStor
* SFTP
* Webdav / Owncloud / Nextcloud
* Yandex Disk
* The local filesystem
That list is regularly expanding. git-annex supports all of those through the use of the [rclone special remote](https://github.com/DanielDent/git-annex-remote-rclone).
See their documentation for more concrete examples.

View file

@ -26,3 +26,7 @@ Make the file executable, and link it into PATH
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.

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="anarcat"
avatar="http://cdn.libravatar.org/avatar/4ad594c1e13211c1ad9edb81ce5110b7"
subject="added as a special remote"
date="2018-09-06T00:58:52Z"
content="""
it was not obvious to me at all that rclone was supported by git-annex! that's awesome!
to make it clearer it exists, i've added it it to the list of [[special remotes]] as [[special_remotes/rclone]].
"""]]