Commit graph

23584 commits

Author SHA1 Message Date
svw
faa313122e Added a comment: Passing flags to youtube-dl 2018-04-20 05:57:39 +00:00
moaxey
76bcf0da6e Added a comment: I also found this log 2018-04-17 22:52:15 +00:00
moaxey
ef297b2ecb 2018-04-17 22:34:24 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
8a681bad73 Added a comment 2018-04-17 08:38:33 +00:00
yarikoptic
82ee2919a3 Added a comment 2018-04-17 03:52:55 +00:00
Joey Hess
c72e9ae568
hmm 2018-04-16 20:41:11 -04:00
Joey Hess
f4e1cd2a8a
followup 2018-04-16 16:42:38 -04:00
Joey Hess
87b834535a
copy info from comment on install/Android 2018-04-16 16:41:31 -04:00
Joey Hess
32bf25be3d
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-16 16:34:44 -04:00
Joey Hess
89e1a05a8f
Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale
As long as all code imports Utility.Aeson rather than Data.Aeson,
and no Strings that may contain utf-8 characters are used for eg, object
keys via T.pack, this is guaranteed to fix the problem everywhere that
git-annex generates json.

It's kind of annoying to need to wrap ToJSON with a ToJSON', especially
since every data type that has a ToJSON instance has to be ported over.
However, that only took 50 lines of code, which is worth it to ensure full
coverage. I initially tried an alternative approach of a newtype FileEncoded,
which had to be used everywhere a String was fed into aeson, and chasing
down all the sites would have been far too hard. Did consider creating an
intentionally overlapping instance ToJSON String, and letting ghc fail
to build anything that passed in a String, but am not sure that wouldn't
pollute some library that git-annex depends on that happens to use ToJSON
String internally.

This commit was supported by the NSF-funded DataLad project.
2018-04-16 16:21:21 -04:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
dd36f22098 Added a comment: Modern Android? 2018-04-16 19:28:09 +00:00
Joey Hess
6ddd374935
note 2018-04-16 12:21:33 -04:00
Joey Hess
8d08ccb710
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-16 12:20:36 -04:00
Joey Hess
93beff784a
add 2018-04-16 12:20:16 -04:00
yarikoptic
37f1deb722 Added a comment: old issue bites back 2018-04-16 05:53:01 +00:00
Michael
78f47b423b 2018-04-15 17:38:30 +00:00
Michael
0b5b829d42 2018-04-15 17:36:43 +00:00
Joey Hess
78ded0b744
devblog 2018-04-13 15:23:58 -04:00
Joey Hess
64980db7d9
move: Avoid drops that make bad situations worse, but otherwise allow
See the big comment at the bottom of Command.Drop for the full details.

(The --safe/--unsafe options were never released.)

This commit was sponsored by Jake Vosloo on Patreon.
2018-04-13 14:36:43 -04:00
edward@6e8aa3b16ceac4d960301e049af99698fea47eea
491c3aa4ab Revert my change, not a typo. 2018-04-11 13:47:42 +00:00
edward@6e8aa3b16ceac4d960301e049af99698fea47eea
729436c3ce fix typo 2018-04-11 13:46:08 +00:00
richih@50508f31e0ee95720acd0120e16d6bdcad9d104b
747b6784ae Added a comment 2018-04-11 07:34:43 +00:00
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
Joey Hess
18c3d9ea55
response 2018-04-04 11:57:56 -04:00
CandyAngel
97117d6b49 fix plan list and add sorting annex diagram/explanation 2018-04-04 08:53:37 +00:00
Joey Hess
28c7e2cf61
document the -A shorthand for --all 2018-04-03 23:12:04 -04:00
Joey Hess
9f33225ad0
note on efficiency 2018-04-03 22:58:34 -04:00
Joey Hess
5e34570299
update 2018-04-03 15:43:00 -04:00
Joey Hess
c4f034e6b3
thoughts 2018-04-03 15:31:08 -04:00
Joey Hess
01f4785268
link to GIN which uses git-annex 2018-04-03 12:09:21 -04:00
Joey Hess
0be6c40f59
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-02 19:03:48 -04:00
Joey Hess
bf1002194d
followup 2018-04-02 13:20:38 -04:00
annexuser
20d4e2ef49 2018-03-30 17:55:04 +00:00
Joey Hess
75df217b0a
git-annex-bin is gone 2018-03-29 17:51:12 -04:00
Joey Hess
a5fe62bed0
hmm 2018-03-29 14:10:10 -04:00
Joey Hess
34f8d68573
stall detectors 2018-03-29 13:44:34 -04:00
Joey Hess
fd53b80624
Merge branch 'master' of ssh://git-annex.branchable.com 2018-03-29 13:32:21 -04:00
Joey Hess
a934d466a8
close 2018-03-29 13:32:02 -04:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
9f0671421c Added a comment: dmg (possibly) requires rebuild 2018-03-29 15:31:23 +00:00
cristianpolanco2015@04c392af1063e289871c7a1ae208794e1105ba65
f43c371f15 Added a comment: Play Store App Download Free 2018-03-29 15:27:19 +00:00
MatusGoljer
f4754c2b1f Added a comment 2018-03-28 23:16:51 +00:00
yarikoptic
e0f55a7644 2018-03-28 17:35:47 +00:00
andrew
9cc9f6bd58 Added a comment 2018-03-28 00:59:41 +00:00
andrew
9ff0fb9ffc Added a comment: numcopies 2018-03-27 22:25:30 +00:00
Joey Hess
8a03f38931
add 2018-03-27 17:43:52 -04:00
Joey Hess
5a2c32820e
upgraded ilya shlyakhter's comment to install/conda page 2018-03-27 17:42:39 -04:00
Joey Hess
bc90c71b54
correct 2018-03-27 16:46:46 -04:00
Joey Hess
bb91aef7fa
Merge branch 'master' of ssh://git-annex.branchable.com 2018-03-27 16:31:21 -04:00
Joey Hess
27712530f3
devblog 2018-03-27 16:31:02 -04: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