Commit graph

514 commits

Author SHA1 Message Date
Joey Hess
b8780da832
hint about when requesttyle=path is needed 2018-08-01 16:06:34 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
8238e53527 Add note regarding python lib 2018-07-31 13:41:28 +00:00
Joey Hess
ba0745b5c2
S3: fix documentation of publicurl
5f0f063a7a documented it as being
configured automatically, but the code never did that. Rather than try
to hard-code whatever urls amazon  uses for its buckets, it seems better
to ask the user to find the url and set it.
2018-07-02 12:30:39 -04:00
Joey Hess
28720c795f
limit url downloads to whitelisted schemes
Security fix! Allowing any schemes, particularly file: and
possibly others like scp: allowed file exfiltration by anyone who had
write access to the git repository, since they could add an annexed file
using such an url, or using an url that redirected to such an url,
and wait for the victim to get it into their repository and send them a copy.

* Added annex.security.allowed-url-schemes setting, which defaults
  to only allowing http and https URLs. Note especially that file:/
  is no longer enabled by default.

* Removed annex.web-download-command, since its interface does not allow
  supporting annex.security.allowed-url-schemes across redirects.
  If you used this setting, you may want to instead use annex.web-options
  to pass options to curl.

With annex.web-download-command removed, nearly all url accesses in
git-annex are made via Utility.Url via http-client or curl. http-client
only supports http and https, so no problem there.
(Disabling one and not the other is not implemented.)

Used curl --proto to limit the allowed url schemes.

Note that this will cause git annex fsck --from web to mark files using
a disallowed url scheme as not being present in the web. That seems
acceptable; fsck --from web also does that when a web server is not available.

youtube-dl already disabled file: itself (probably for similar
reasons). The scheme check was also added to youtube-dl urls for
completeness, although that check won't catch any redirects it might
follow. But youtube-dl goes off and does its own thing with other
protocols anyway, so that's fine.

Special remotes that support other domain-specific url schemes are not
affected by this change. In the bittorrent remote, aria2c can still
download magnet: links. The download of the .torrent file is
otherwise now limited by annex.security.allowed-url-schemes.

This does not address any external special remotes that might download
an url themselves. Current thinking is all external special remotes will
need to be audited for this problem, although many of them will use
http libraries that only support http and not curl's menagarie.

The related problem of accessing private localhost and LAN urls is not
addressed by this commit.

This commit was sponsored by Brett Eisenberg on Patreon.
2018-06-16 11:57:50 -04:00
Joey Hess
c3c28f7617
add GETINFO to external protocol (for ronnypfa)
External special remotes can now add info to `git annex info $remote`, by
replying to the GETINFO message.

Had to generalize some helpers to allow consuming multiple messages from
the remote.

The code added to Remote/* here is AGPL licensed, thus changed the license
of the files.

This commit was sponsored by Jake Vosloo on Patreon.
2018-06-08 11:56:24 -04:00
Joey Hess
a0d0436185
response 2018-05-09 16:20:07 -04:00
iakornfeld@eaf45f0b645324dd9f1f57f226377caddf86a80e
dcc70dcb23 Added a comment: Git 2018-05-09 13:51:56 +00:00
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
Joey Hess
e462f9a34e
response 2016-04-13 15:23:11 -04:00
tim@5431dd39464df207b7d46d3cf1bc74c82123ac68
ea803d1554 Added a comment: Sharing S3 bucket without fileprefix 2016-04-13 19:02:24 +00:00
anarcat
e16ba65caf Added a comment: git remote 2016-03-24 14:15:06 +00:00
Joey Hess
5d05aad74c
S3: Allow configuring with requeststyle=path to use path-style bucket access instead of the default DNS-style access.
untested
2016-02-09 15:36:36 -04:00
wzhd
a3399a363f Added a comment: attaching a torrent file to a downloaded and annexed directory 2016-01-19 10:07:28 +00:00
Joey Hess
d283fa4fe9
comment 2015-12-10 11:22:28 -04:00
Joey Hess
79dd48546a
response 2015-12-10 11:20:01 -04:00
openmedi
ef664f089f Added a comment 2015-12-09 20:18:48 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
5ef6ed8b9a Added a comment: anyone saw/worked on backend for watchdox service? (not free one but needed :-/) 2015-12-08 19:45:03 +00:00
cantora@432fae6be728a32ac472387df86a8922f059d4a6
c71a6e3a0d Added a comment: How to view configuration of special remotes? 2015-12-08 08:29:12 +00:00
encryptio@2557a3f5b4ef0cddf8f011d7dbb3e76d46ed9c79
9ca5fe58e7 Added a comment: git-annex-remote-b2 2015-12-04 03:19:29 +00:00
Joey Hess
602f392e6d
comment 2015-11-30 15:38:39 -04:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
80cc59bc8a removed 2015-11-26 00:35:30 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
674a86750f Added a comment: location of Mapping of file to tahoe uri? 2015-11-26 00:35:11 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
29adb9a8d6 Added a comment: location of Mapping of file to tahoe uri? 2015-11-26 00:35:00 +00:00
rob.syme@92895c98b16fd7a88bed5f10913c522ebfd76c31
436ef08492 Added a comment: git-annex-remote-ipfs 2015-11-19 14:46:04 +00:00
Joey Hess
1b541ec71a
remove badly offtopic comment 2015-11-18 15:49:53 -04:00
Joey Hess
a9a10ee0a9
improve error message when special remote program cannot be run 2015-11-18 12:30:01 -04:00
rob.syme@92895c98b16fd7a88bed5f10913c522ebfd76c31
0040e5a733 Added a comment: Finding IPFS hash 2015-11-18 14:55:33 +00:00
craig@6ddb6e2c94325e18a0d631a06e63fdc111ab1f12
f9369a0b69 Added a comment: Thanks 2015-11-16 05:34:35 +00:00
https://woid.cryptobitch.de/foobar
36918f26e5 Added a comment: obnam 2015-11-12 11:50:52 +00:00
Joey Hess
8c0c376650
response 2015-11-10 14:58:38 -04:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
34491b5748 Added a comment: location of Mapping of file to tahoe uri? 2015-11-06 02:28:04 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
9c597a9135 removed 2015-11-06 02:27:26 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
e0832b4c8d Added a comment: location of Mapping of file to tahoe uri? 2015-11-06 02:27:10 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
f95c0398ab removed 2015-11-06 02:26:01 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
19c6fdc6cb Added a comment: location of Mapping of file to tahoe uri? 2015-11-06 02:24:39 +00:00
alex@7ca398785b94de08e4386b708f32ff9f1af381c7
3f0a1ef495 Added a comment: backblaze support 2015-11-04 19:58:35 +00:00
Joey Hess
4153507864
Fix failure to build with aws-0.13.0 and finish nearline support.
* Fix failure to build with aws-0.13.0.
* When built with aws-0.13.0, the S3 special remote can be used to create
  google nearline buckets, by setting storageclass=NEARLINE.
2015-11-02 11:14:03 -04:00
Joey Hess
640dba43b6
enableremote: List uuids and descriptions of remotes that can be enabled, and accept either the uuid or the description in leu if the name. 2015-10-26 14:55:40 -04:00
craig@6ddb6e2c94325e18a0d631a06e63fdc111ab1f12
cfff8f9f73 Added a comment: Replicating my key for encrypted special remotes 2015-10-25 19:00:57 +00:00
Joey Hess
033e4da5a7
response 2015-10-19 13:36:24 -04:00
craig@6ddb6e2c94325e18a0d631a06e63fdc111ab1f12
177231a557 Added a comment: Replicating my key for encrypted special remotes 2015-10-17 16:29:24 +00:00
Joey Hess
c84a5d39b1
response 2015-10-12 13:13:27 -04:00
darkfeline
c3df43e92c Added a comment: Sharing S3 bucket between repos 2015-10-09 01:16:25 +00:00
Joey Hess
26d6566307 S3 storage classes expansion
Added support for storageclass=STANDARD_IA to use Amazon's
new Infrequently Accessed storage.

Also allows using storageclass=NEARLINE to use Google's NearLine storage.

The necessary changes to aws to support this are in
https://github.com/aristidb/aws/pull/176
2015-09-17 17:20:01 -04:00
dave@2ab82f485adf7e2ce787066e35f5f9789bff430b
e0116db92f Added a comment: re: UnicodeDecodeError 2015-08-26 21:54:08 +00:00
git-annex,branchable.com@1fa4b21c7ece2d61d4730de8e83329049126cedc
87972f5a33 Added a comment: Glacier-cli works, thanks, some encode / decode error now... 2015-08-26 08:30:53 +00:00
Joey Hess
2b01e61774 response 2015-08-19 14:44:26 -04:00
Joey Hess
99b242c253 response 2015-08-19 14:29:22 -04:00
forbesmyester@2cec261fa984ee168bdbad63665c58953963c10e
7257e6c9b8 Added a comment: Not sure what is wrong... looks like glacier might be called wrongly. 2015-08-18 07:42:38 +00:00
darkfeline@e6d098788a13ce41f3141a2dfc1bd31b401e83f0
88b5a5ae7b Added a comment: buprepo doesn't work properly 2015-08-17 12:59:25 +00:00
Joey Hess
7be948f6d4 response 2015-08-14 14:05:46 -04:00
sanket
a39ae9ec3e Added a comment: Integrating Tahoe and Git annex using special remote 2015-08-12 00:00:09 +00:00
Joey Hess
6ded6fd19a promote comment to todo 2015-08-06 13:33:25 -04:00
Joey Hess
1c2c086d51 response 2015-07-06 15:02:46 -04:00
dmitry.olyenyov@6d65bb07071e5517960a647c097dd453b91773dd
c16e66ef48 Added a comment: Limit max size of remote 2015-06-17 11:24:54 +00:00
Joey Hess
52934c48ba Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-05 16:28:08 -04:00
Joey Hess
5f0f063a7a S3: Publically accessible buckets can be used without creds. 2015-06-05 16:23:35 -04:00
Joey Hess
4acd28bf21 public=yes config to send AclPublicRead
In my tests, this has to be set when uploading a file to the bucket
and then the file can be accessed using the bucketname.s3.amazonaws.com
url.

Setting it when creating the bucket didn't seem to make the whole bucket
public, or allow accessing files stored in it. But I have gone ahead and
also sent it when creating the bucket just in case that is needed in some
case.
2015-06-05 14:38:01 -04:00
junk@5e3eeba2290e8a3fcf938d9f93b0dfa2565dc7b1
1e2ad7fd28 Added a comment: Tahoe-LAFS helper: multiple FURLs for the same grid 2015-06-05 09:19:19 +00:00
Joey Hess
4536bf8431 comment 2015-06-02 15:09:31 -04:00
Øyvind A. Holm
3d643a5707 doc/*.mdwn: Various typo fixes 2015-05-30 16:54:14 +02:00
Joey Hess
eddb9daa69 followup 2015-05-27 15:09:56 -04:00
rob.syme@92895c98b16fd7a88bed5f10913c522ebfd76c31
db17e9d329 Added a comment: Finding IPFS hash 2015-05-26 05:08:38 +00:00
rob.syme@92895c98b16fd7a88bed5f10913c522ebfd76c31
9e7cbd17ff Added a comment: Finding IPFS hash 2015-05-26 04:55:32 +00:00
junk@5e3eeba2290e8a3fcf938d9f93b0dfa2565dc7b1
97cad76916 Added a comment: Tahoe-LAFS helper: multiple FURLs for the same grid 2015-05-24 13:48:33 +00:00
anarcat
abe4181067 remove too much time 2015-05-20 22:19:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg
4972ec4f62 Added a comment: Amazon Cloud Drive support 2015-03-28 10:35:47 +00:00
https://id.koumbit.net/anarcat
0e9f9019d1 Added a comment: about copying to the local store 2015-03-07 13:16:02 +00:00
Joey Hess
7a327f8f7f fix whereis output example 2015-03-05 13:56:49 -04:00
Joey Hess
6045406deb Added SETURIPRESENT and SETURIMISSING to external special remote protocol
Useful for things like ipfs that don't use regular urls.

An external special remote can add a regular url to a key, and then
git-annex get will download it from the web. But for ipfs, we want to
instead tell git-annex that the uri uses OtherDownloader. Before this
change, the external special remote protocol lacked a way to do that.
2015-03-05 13:50:15 -04:00
Joey Hess
9b4b190739 fix heading 2015-03-05 12:11:38 -04:00
Joey Hess
ea74b1d568 experimental ipfs special remote, with addurl support 2015-03-05 12:08:50 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlc-3pdibcizrdz4WmZooECL0k6AvM1cWc
3fc8d834e8 Added a comment: S3 file/folder names 2015-02-19 22:22:26 +00:00
https://id.koumbit.net/anarcat
02b49f9d60 fix link 2015-02-16 20:33:03 +00:00
https://id.koumbit.net/anarcat
9fa6841e55 2015-02-13 00:27:31 +00:00
https://id.koumbit.net/anarcat
c5c7bf2dab note when this was introduced, it confused me to not see this in jessie! 2015-02-10 02:57:44 +00:00
Joey Hess
2b138f684e add link to google cloud storage tip 2015-02-04 14:54:16 -04:00
Joey Hess
afc5153157 update my email address and homepage url 2015-01-21 12:50:09 -04:00
Joey Hess
bc633954e4 remove obsolete note; s3-aws was merged already 2015-01-05 16:45:22 -04:00
Joey Hess
f5fdeba45b note about trust and checking copies 2014-12-18 15:58:28 -04:00
Joey Hess
ef12386924 When possible, build with the haskell torrent library for parsing torrent files. 2014-12-18 14:26:10 -04:00
Joey Hess
b302d4207c make checkKey always return unknown 2014-12-17 15:39:35 -04:00
Joey Hess
e2214f6ac8 remove default untrusted hack for bittorrent
This is better handled by checkPresent always failing.
2014-12-17 15:38:00 -04:00
Joey Hess
eb8c842666 addurl with #n doesn't work, remove from docs
Doesn't really seem worth making it work; addurl --fast can be used to
get a tree of files in the torrent and then the user can rm the ones they
don't want.
2014-12-17 14:43:36 -04:00
Joey Hess
a7690de016 Added bittorrent special remote
addurl behavior change: When downloading an url ending in .torrent,
it will download files from bittorrent, instead of the old behavior
of adding the torrent file to the repository.

Added Recommends on aria2 and bittornado | bittorrent.

This commit was sponsored by Asbjørn Sloth Tønnesen.
2014-12-16 23:22:46 -04:00
Joey Hess
b0ca0985ce fix support for single-file torrents 2014-12-11 19:48:00 -04:00
Joey Hess
29a6431582 move error message to return value 2014-12-11 18:26:29 -04:00
Joey Hess
fabc3863d5 add working external special remote for torrents
Not IMHO good enough quality to be more than an example, but it does work!
2014-12-11 18:09:44 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg
4136300f64 2014-12-08 17:24:31 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkEYZEqLf3Aj_FGV7S0FvsMplmGqqb555M
898212fa9e Added a comment: bup-join local-arch/2014-12-03-235617 2014-12-04 19:38:07 +00:00
Joey Hess
911ba8d972 Merge branch 's3-aws' 2014-12-03 14:10:52 -04:00
https://www.google.com/accounts/o8/id?id=AItOawn6NYODTE1Sy9YZoi2pvb6i-lcq3dYBxZI
ad4dcded70 Added a comment: android client 2014-11-17 18:34:12 +00:00
Joey Hess
2fbaf6d89c reorder 2014-11-06 14:26:01 -04:00
https://olivier.mehani.name/
eac8047dad Added a comment 2014-11-05 22:57:21 +00:00
Joey Hess
83901c6c17 better partsize docs
The minimum allowsed size actually refers to the part size!
2014-11-04 16:38:46 -04:00
Joey Hess
93feefae05 Revert "work around minimum part size problem"
This reverts commit a42022d8ff.

I misunderstood the cause of the problem.
2014-11-04 16:21:55 -04:00
Joey Hess
a42022d8ff work around minimum part size problem
When uploading the last part of a file, which was 640229 bytes, S3 rejected
that part: "Your proposed upload is smaller than the minimum allowed size"

I don't know what the minimum is, but the fix is just to include the last
part into the previous part. Since this can result in a part that's
double-sized, use half-sized parts normally.
2014-11-04 16:06:13 -04:00
Joey Hess
6e89d070bc WIP multipart S3 upload
I'm a little stuck on getting the list of etags of the parts.
This seems to require taking the md5 of each part locally,
which doesn't get along well with lazily streaming in the part from the
file. It would need to read the file twice, or lose laziness and buffer a
whole part -- but parts might be quite large.

This seems to be a problem with the API provided; S3 is supposed to return
an etag, but that is not exposed. I have filed a bug:
https://github.com/aristidb/aws/issues/141
2014-10-28 14:17:30 -04:00
Joey Hess
35551d0ed0 Merge branch 'master' into s3-aws
Conflicts:
	Remote/S3.hs
2014-10-22 17:14:38 -04:00
Joey Hess
deddbf8a66 add encryption setting to examples 2014-10-02 11:30:19 -04:00
Joey Hess
ef01ff1e77 Merge branch 'master' into s3-aws
Conflicts:
	git-annex.cabal
2014-08-15 17:30:40 -04:00