Commit graph

407 commits

Author SHA1 Message Date
Joey Hess
ae75eb06bc
exporttree support for adb special remote
This commit was sponsored by Michael Magin.
2018-03-27 16:28:41 -04:00
Joey Hess
2927618d35
Added adb special remote which allows exporting files to Android devices.
git annex testremote passes.

exportree not implemented yet, although the documentation talks about it,
since it will be the main way this remote will be used.

The adb push/pull progress is displayed for now; it would be better
to consume it and use it to update the git-annex progress bar.

This commit was sponsored by andrea rota.
2018-03-27 14:54:41 -04:00
Joey Hess
bed6773346
Support exporttree=yes for rsync special remotes.
Renaming is not supported; it might be possible to use --fuzzy to get rsync
to notice the file is being renamed, but that is a bit ..fuzzy.

On the other hand, interrupted transfers of an exported file are resumed,
since rsync is great at that. Had to adjust the exporttree docs, which
said interrupted transfers would restart.

Note that remove no longer makes the empty directory dummy, instead
sending the top-level empty directory. This works just as well and I
noticed the dummy was unncessary when refactoring it into removeGeneric.
Verified that behavior of remove is not changed, and git annex
testremote does pass.

This commit was sponsored by Brock Spratlen on Patreon.
2018-02-28 13:36:20 -04:00
xloem
7613a5e81c Added a comment: IPFS Deduplication 2017-10-07 19:46:12 +00:00
Joey Hess
9f4ffe65e9
implement removeExportDirectory
Not yet called by Command.Export.

WebDAV needs this to clean up empty collections. Also, example.sh turned
out to not be cleaning up directories when removing content
from them, so it made sense for it to use this.

Remote.Directory did not need it, and since its cleanup method for empty
directories is more efficient than what Command.Export will need to do
to find empty directories, it uses Nothing so that extra work can be
avoided.

This commit was sponsored by Thom May on Patreon.
2017-09-15 13:18:21 -04:00
Joey Hess
4d3a464e83
export to webdav
This basically works, but there's a bug when renaming a file that leaves
a .git-annex-temp-content-key file in the webdav store, that never gets
cleaned up.

Also, exporting files with spaces to box.com seems to fail; perhaps it
does not support it?

This commit was supported by the NSF-funded DataLad project.
2017-09-12 14:10:09 -04:00
Joey Hess
2bb96e9c32
very delayed response now that feature is added 2017-09-08 16:47:42 -04:00
Joey Hess
44cd5ae313
S3 export (untested)
It opens a http connection per file exported, but then so does git
annex copy --to s3.

Decided not to munge exported filenames for IA. Too large a chance of
the munging having confusing results. Instead, export of files not
supported by IA, eg with spaces in their name, will fail.

This commit was supported by the NSF-funded DataLad project.
2017-09-08 15:46:24 -04:00
Joey Hess
a1b195d84c
External special remote protocol extended to support export.
Also updated example.sh to support export.

This commit was supported by the NSF-funded DataLad project.
2017-09-08 14:24:05 -04:00
Joey Hess
28e2cad849
implement exporttree=yes configuration
* Only export to remotes that were initialized to support it.
* Prevent storing key/value on export remotes.
* Prevent enabling exporttree=yes and encryption in the same remote.

SetupStage Enable was changed to take the old RemoteConfig.
This allowed only setting exporttree when initially setting up a
remote, and not configuring it later after stuff might already be stored
in the remote.

Went with =yes rather than =true for consistency with other parts of
git-annex. Changed docs accordingly.

This commit was supported by the NSF-funded DataLad project.
2017-09-04 13:09:38 -04:00
Joey Hess
8f35c6584d
documentation for export
This commit was sponsored by Ole-Morten Duesund on Patreon.
2017-08-29 13:25:48 -04:00
Joey Hess
fdbfe88168
fix external script for filenames with spaces from protocol
Fix the external special remotes git-annex-remote-ipfs,
git-annex-remote-torrent and the example.sh template to correctly support
filenames with spaces.

This commit was sponsored by John Peloquin on Patreon.
2017-08-17 16:20:09 -04:00
fiatjaf
64ab727a10 Added a comment 2017-07-10 13:08:53 +00:00
http://xgm.de/oid/
61f362b4ff 2017-02-14 18:14:24 +00:00
Edward Betts
0750913136
correct spelling mistakes 2017-02-12 17:30:23 -04:00
victorsavu3@d059e0a74888923e70a555ce8ab75e8ba00b6eb7
72311753b3 Added a comment: RequestTimeoutException when uploading to glacier 2017-02-09 20:45:42 +00:00
mca@8789632e0b00e8efb984c948c13d9de28665f534
f1dd43d1b5 Added a comment: https-only access, type=S3 port=443 2017-01-05 13:10:44 +00:00
Joey Hess
794babf35a
add back share_with_a_friend_walkthrough, adapted for tor pairing
and some other xmpp to tor related changes
2016-12-24 15:46:02 -04:00
Joey Hess
ab66bbfeb6
Merge branch 'master' into no-xmpp 2016-12-24 15:01:55 -04:00
Joey Hess
1d82cf39ca
response 2016-12-13 12:48:11 -04:00
Joey Hess
46cbd65808
add page for tor special remote 2016-12-07 15:44:52 -04:00
davidriod@e75b369a4b1cced29c14354bce7493c61f00b1c7
d1ad4f1c00 Added a comment: Sharing rsync special remote between repository 2016-11-24 19:23:43 +00:00
David_K
057ee30429 removed 2016-11-16 01:28:32 +00:00
David_K
08ca407e67 Added a comment 2016-11-16 01:28:14 +00:00
David_K
6c1f0c6b02 Added a comment 2016-11-16 01:28:04 +00:00
Joey Hess
d58148031b
remove xmpp support
I've long considered the XMPP support in git-annex a wart.
It's nice to remove it.

(This also removes the NetMessager, which was only used for XMPP, and the
daemonstatus's desynced list (likewise).)

Existing XMPP remotes should be ignored by git-annex.

This commit was sponsored by Brock Spratlen on Patreon.
2016-11-14 14:53:08 -04:00
Joey Hess
2f15753cd3
response 2016-11-07 13:41:21 -04:00
Joey Hess
5343544822
S3: Support the special case endpoint needed for the cn-north-1 region.
* S3: Support the special case endpoint needed for the cn-north-1 region.
* Webapp: Don't list the Frankfurt region, as this (and some other new
  regions) need V4 authorization which the aws library does not yet use.

This commit was sponsored by Nick Daly on Patreon.
2016-11-07 11:49:34 -04:00
Joey Hess
1a11ae9da0
comment 2016-11-07 10:43:23 -04:00
spiderbit
91ba3b804e Added a comment: update 2016-11-05 17:38:26 +00:00
spiderbit
91c7f61961 Added a comment: dont have success with other download commands 2016-11-05 17:00:54 +00:00
bec.watson@8b5998670cf3d60f88e6297923d1391706e0d15b
a1e3cf83f7 Added a comment 2016-11-05 01:04:47 +00:00
bec.watson@8b5998670cf3d60f88e6297923d1391706e0d15b
1d7beaefbb removed 2016-11-05 00:56:48 +00:00
bec.watson@8b5998670cf3d60f88e6297923d1391706e0d15b
4b2ff58996 Added a comment: china cn-north-1 s3 remote issue 2016-11-05 00:55:31 +00:00
davidriod@e75b369a4b1cced29c14354bce7493c61f00b1c7
102a143bb8 Added a comment: ssh and encryption 2016-11-03 06:50:26 +00:00
Joey Hess
2adf273976
response 2016-11-01 14:31:10 -04:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
ef3ca02fc3 Added a comment 2016-11-01 04:10:25 +00:00
Marco
b9f51cc4a2 Added a comment: 1und1 Online Speicher 2016-10-19 03:42:42 +00:00
barthalion@8758f91921f1def00205716519c57234f128c328
e2dcbe656d Added a comment 2016-10-11 21:00:53 +00:00
barthalion@8758f91921f1def00205716519c57234f128c328
846e5a100e Added a comment: Compression level 2016-10-08 18:31:00 +00:00
http://christian.amsuess.com/chrysn
36d68a8f0a Added a comment: Re: attaching a torrent file to a downloaded and annexed directory 2016-10-07 09:11:56 +00:00
Joey Hess
f3f6dfcf35
New url for git-remote-gcrypt, now maintained by spwhitton. 2016-07-05 11:30:58 -04:00
Dilyin
456fe90b25 Added a comment: Special remote's annex cost 2016-06-01 18:44:15 +00:00
Joey Hess
010dc21f00
response 2016-05-31 12:21:13 -04:00
uwe.nagler@9f80ad68e498fcdb09e20b17ff4539f94ef73ea9
49f538712f Added a comment: subdirectories above FILEKEY directory 2016-05-31 11:51:56 +00:00
Joey Hess
27000d8af6
comment 2016-05-16 17:35:30 -04:00
aslkdjasd@656d48eb766881455ee14c8cd4adabdd14aad892
4b870861b1 Added a comment: layout reasoning 2016-05-14 01:23:42 +00:00
Joey Hess
412e89ecaa
response 2016-05-03 13:19:36 -04:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
28af7c4b8a Added a comment 2016-05-02 18:43:33 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
02fea5bce5 Added a comment 2016-05-02 18:41:54 +00:00