Commit graph

23512 commits

Author SHA1 Message Date
Joey Hess
0c65439ce0
thoughts 2018-04-10 18:49:11 -04:00
Joey Hess
8f3b45b846
followup 2018-04-10 13:15:43 -04:00
richih@50508f31e0ee95720acd0120e16d6bdcad9d104b
1409a44f9c Added a comment 2018-04-10 15:49:35 +00:00
anarcat
fddf14600b Added a comment: force? 2018-04-10 14:20:08 +00:00
CandyAngel
a3fa146be4 Added a comment 2018-04-10 10:39:23 +00:00
Joey Hess
453ffe7317
devblog 2018-04-09 16:28:10 -04:00
Joey Hess
af8546990d
move: --safe/--unsafe and potential drop race fix
move: Added --safe option, which makes move honor numcopies settings.
Also --unsafe enables the default behavior, anticipating that the
default may one day change.

This commit was sponsored by Ethan Aubin.
2018-04-09 16:20:10 -04:00
Joey Hess
448c40180b
document copy --to=here
This happened for free due to move supporting it but it's certianly
useful and worth documenting.
2018-04-09 14:17:31 -04:00
Joey Hess
fb07802666
add news item for git-annex 6.20180409 2018-04-09 13:24:52 -04:00
CandyAngel
5f84a102ee Added a comment 2018-04-09 14:56:52 +00:00
jascha@bd514dc9c58dc9c665f7c949886c9efad9b4fc35
db442c5439 2018-04-09 13:30:48 +00:00
Michael
d835110a90 Added a comment: prebuilt i386 still at old version? 2018-04-08 01:44:24 +00:00
itn@23fdfea9e5c13d8bb24e4cbde30d2a98293154c1
1afd507600 Added a comment: Cloning and syncing leads to confusing "gcrypt: Failed to decrypt manifest!" errors. 2018-04-08 00:50:15 +00:00
dev@49d24b8461d78227a0ef1e366862734efda0b362
45a013eda6 2018-04-07 15:33:17 +00:00
Joey Hess
76f352a9a9
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-06 17:38:52 -04:00
Joey Hess
388eb4135f
devblog 2018-04-06 17:38:30 -04:00
Joey Hess
c34152777b
Use http-conduit for url downloads by default, annex.web-options enables curl
* For url downloads, git-annex now defaults to using a http library,
  rather than wget or curl. But, if annex.web-options is set, it will
  use curl. To use the .netrc file, run:
    git config annex.web-options --netrc
* git-annex no longer uses wget (and wget is no longer shipped with
  git-annex builds).

Note that curl is always run in silent mode, since the new API for
download has a MeterUpdate and doesn't make way for curl progress
output. It might be worth writing a parser for curl's progress output
to update the meter when using it, but I didn't bother with this edge
case for now.

This commit was supported by the NSF-funded DataLad project.
2018-04-06 17:36:20 -04:00
Joey Hess
0f6775f1ff
refactor sinkResponseFile and add downloadC
Remote.S3 and Remote.Helper.Http both had similar code to sink a
http-conduit Response to a file; refactor out sinkResponseFile.

downloadC downloads an url to a file using http-conduit, and supports
resuming. Falls back to curl to handle urls that http-conduit does not
support. This is not used yet, but the goal is to replace download with
it.

git-annex.cabal: conduit-extra was not actually used for a long time,
remove the dep. conduit moves into the main dependency list, but since
http-conduit was already in there, and it depends on conduit, that's not
really adding a new build dep.

This commit was supported by the NSF-funded DataLad project.
2018-04-06 16:07:08 -04:00
Joey Hess
0e8564201e
link to recastex 2018-04-06 11:27:18 -04:00
Joey Hess
d2ad5ebe4a
gitlab shell's git-annex support was removed 2018-04-06 11:21:44 -04:00
svw
f96de42138 2018-04-06 06:51:36 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
d92ec5c1d6 Added a comment 2018-04-05 21:01:51 +00:00
CandyAngel
dc6d1ad00f Added a comment 2018-04-05 15:45:52 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
1377e75970 Added a comment: I also have this problem 2018-04-05 15:25:22 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
6c43b6084f removed 2018-04-05 15:24:31 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
39bd152085 Added a comment 2018-04-05 15:23:42 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
e257e4b6a3 removed 2018-04-05 15:19:51 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
26b603418f removed 2018-04-05 15:18:14 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
8c989eca91 Added a comment: I also can't add remotes through the web assistant 2018-04-05 15:17:53 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
5f5d64b4d2 Added a comment: I also can't add remotes through the web assistant 2018-04-05 15:17:44 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
896f42ea15 Added a comment 2018-04-05 02:11:41 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
d8af254515 Added a comment 2018-04-05 01:32:33 +00:00
Joey Hess
9b98d3f630
better HTTP connection reuse
Enable HTTP connection reuse across multiple files, when git-annex
uses http-conduit. Before, a new Manager was created each time
Utility.Url used it. Now, a single Manager gets created the first time,
so connections are reused.

Doesn't help when external programs are used for url download,
but does speed up addurl --fast, fsck --from web, etc.

Testing fsck --fast --from web with 3 files, over high-latency
satellite internet, it sped up from 19.37s to 14.96s.

This commit was supported by the NSF-funded DataLad project.
2018-04-04 15:39:40 -04:00
Joey Hess
98cc34c211
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-04 14:33:03 -04:00
Joey Hess
0783352fae
todo 2018-04-04 14:32:32 -04:00
Joey Hess
72014550f8
comment 2018-04-04 14:19:22 -04:00
Joey Hess
c769d359a7
response 2018-04-04 14:09:30 -04:00
Joey Hess
3ce13f7a2a
thoughts 2018-04-04 14:00:55 -04:00
Joey Hess
ef389722ae
don't copy old date metadata when adding new version of a file
When adding a new version of a file, and annex.genmetadata is enabled,
don't copy the data metadata from the old version of the file, instead use
the mtime of the file. Rationalle being that the user has requested to
generate metadata and so would expect to get the new mtime into metadata.

Also, avoid warning about copying metadata when all the old metadata is
date metadata. Which was rather the harder part.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-04-04 13:58:16 -04:00
Joey Hess
c6252018fa
thoughrs 2018-04-04 12:50:09 -04:00
Joey Hess
c14638886f
response 2018-04-04 12:37:43 -04:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
4b522713f0 Added a comment 2018-04-04 16:27:54 +00:00
Joey Hess
b63c42bd9e
response 2018-04-04 12:24:32 -04:00
Joey Hess
2b55c90da7
remove spam 2018-04-04 12:21:04 -04:00
Joey Hess
9a42c32a5a
response 2018-04-04 12:20:44 -04:00
Joey Hess
4ee317b531
kudos 2018-04-04 12:17:42 -04:00
Joey Hess
d6f3034761
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-04 12:08:33 -04:00
Joey Hess
f856b15f27
response 2018-04-04 12:08:10 -04:00
Joey Hess
300e277c6a
response 2018-04-04 12:00:50 -04:00
Joey Hess
7b967c3800
close 2018-04-04 11:59:15 -04:00