Commit graph

24285 commits

Author SHA1 Message Date
madalu
d61b22202c Warning about upcoming shutdown of webdav access to box.com 2018-09-22 22:45:45 +00:00
bremner
35d08f7cda Added a comment: Dropped the firewall, no change. Maybe it's IPv6? 2018-09-22 18:56:13 +00:00
bremner
22ec386970 removed 2018-09-22 18:39:21 +00:00
bremner
cbcb7d9fa1 Added a comment: Similar failure with one host running 6.20180913-1 2018-09-22 18:38:43 +00:00
bremner
5cadd08f42 Added a comment: Similar failure with one host running 6.20180913-1 2018-09-22 18:38:24 +00:00
Joey Hess
8873cf0789
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-22 11:29:29 -04:00
Joey Hess
09ce2cf012
new ghc fixes windows filename length issue 2018-09-22 11:28:59 -04:00
yarikoptic
13dc117e9c initial report on fd:19: hClose: resource vanished 2018-09-22 03:30:54 +00:00
Ilya_Shlyakhter
1cc0de995c added a todo suggestion about supporting longer file extensions and full filenames in symlink targets 2018-09-21 00:36:08 +00:00
Joey Hess
ef3f33e40b
devblog 2018-09-20 16:23:17 -04:00
Joey Hess
1d1054faa6
added -z
Added -z option to git-annex commands that use --batch, useful for
supporting filenames containing newlines.

It only controls input to --batch, the output will still be line delimited
unless --json or etc is used to get some other output. While git often
makes -z affect both input and output, I don't like trying them together,
and making it affect output would have been a significant complication,
and also git-annex output is generally not intended to be machine parsed,
unless using --json or a format option.

Commands that take pairs like "file key" still separate them with a space
in --batch mode. All such commands take care to support filenames with
spaces when parsing that, so there was no need to change it, and it would
have needed significant changes to the batch machinery to separate tose
with a null.

To make fromkey and registerurl support -z, I had to give them a --batch
option. The implicit batch mode they enter when not provided with input
parameters does not support -z as that would have complicated option
parsing. Seemed better to move these toward using the same --batch as
everything else, though the implicit batch mode can still be used.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-09-20 16:11:47 -04:00
Joey Hess
2aae6e84af
Support newlines in filenames.
Work around git cat-file --batch's protocol not supporting newlines by
running git cat-file not batched and passing the filename as a
parameter.

Of course this is quite a lot less efficient, especially because it
currently runs it multiple times to query for different pieces of
information.

Also, it has subtly different behavior when the batch process was
started and then some changes were made, in which case the batch process
sees the old index but this workaround sees the current index. Since
that batch behavior is mostly a problem that affects the assistant and has
to be worked around in it, I think I can get away with this difference.

I don't know of any other problems with newlines in filenames, everything
else in git I can think of supports -z. And git-annex's json output
supports newlines in filenames so downstream parsers from git-annex will be ok.
git-annex commands that use --batch themselves don't support newlines
in input filenames; using --json --batch is currently a way around that
problem.

This commit was sponsored by Ewen McNeill on Patreon.
2018-09-20 13:45:44 -04:00
Ilya_Shlyakhter
ea22fea567 Added a comment 2018-09-19 19:12:58 +00:00
Ilya_Shlyakhter
01a6ea7409 Added a comment 2018-09-19 18:57:14 +00:00
Ilya_Shlyakhter
0785a01571 removed 2018-09-19 18:45:16 +00:00
Ilya_Shlyakhter
b6492a9ce2 removed 2018-09-19 18:40:46 +00:00
Ilya_Shlyakhter
7310a30dd5 Added a comment 2018-09-19 18:19:22 +00:00
Ilya_Shlyakhter
c8536c675d Added a comment 2018-09-19 17:40:16 +00:00
Ilya_Shlyakhter
2a0a8487b2 Added a comment 2018-09-19 17:21:44 +00:00
Ilya_Shlyakhter
fff466aa2b Added a comment 2018-09-19 17:16:27 +00:00
Ilya_Shlyakhter
a12c03d858 Added a comment 2018-09-19 16:50:05 +00:00
Ilya_Shlyakhter
8a25b778f4 added bug related to file extensions 2018-09-19 16:46:51 +00:00
Ilya_Shlyakhter
62bbc15a8a Added a comment 2018-09-19 16:07:45 +00:00
Ilya_Shlyakhter
ea51ac3f59 better exceptions to annex.security.allow-unverified-downloads 2018-09-19 15:49:57 +00:00
yarikoptic
4528bbab43 initial idea on s3 2018-09-19 13:17:41 +00:00
webanck
6af5a5d043 Added a comment 2018-09-19 11:40:57 +00:00
CandyAngel
995148ca7b Added a comment 2018-09-19 11:03:55 +00:00
Ilya_Shlyakhter
7ca7f8aee4 Added a comment 2018-09-19 11:01:31 +00:00
webanck
5b348352c2 2018-09-19 08:05:24 +00:00
Ilya_Shlyakhter
267369c4a5 removed 2018-09-19 04:33:09 +00:00
Ilya_Shlyakhter
27fe17b0ec Added a comment 2018-09-19 04:30:53 +00:00
Ilya_Shlyakhter
6f1759db68 added bug related to file extensions for URIs from special remotes 2018-09-19 04:08:30 +00:00
Ilya_Shlyakhter
08a2ce39f5 Added a comment 2018-09-19 03:40:06 +00:00
spwhitton
c98e383ffd intentional->unintentional 2018-09-18 22:13:09 +00:00
spwhitton
c517b3132d report bug 2018-09-18 22:12:47 +00:00
https://christian.amsuess.com/chrysn
8f0d61ed9f Added a comment: symlinks into git-annex 2018-09-18 19:15:11 +00:00
Ilya_Shlyakhter
295be65c3e Added a comment 2018-09-18 18:48:06 +00:00
Ilya_Shlyakhter
1f1d1a6c6e Added a comment 2018-09-18 18:41:02 +00:00
yarikoptic
ff9cd8621a initial report on intermittent get -J failures over ssh 2018-09-18 14:48:37 +00:00
poelzi
9a38a8401f 2018-09-18 10:45:43 +00:00
webanck
89453b2df1 2018-09-17 12:43:01 +00:00
mario
f929675566 Added a comment: 3rd party "mover" / speed up git annex move 2018-09-17 12:16:08 +00:00
webanck
239595d6a4 removed 2018-09-17 11:21:26 +00:00
webanck
f1e70435c3 2018-09-17 10:26:12 +00:00
webanck
288eae2c0d 2018-09-17 10:24:08 +00:00
duncan_bayne
8691a6158f Added a comment: Bug raised 2018-09-16 22:15:23 +00:00
torpidus
704663a8d0 2018-09-16 21:12:11 +00:00
jasonb@ab4484d9961a46440958fa1a528e0fc435599057
7221a8d5af Added a comment 2018-09-16 20:32:08 +00:00
jasonb@ab4484d9961a46440958fa1a528e0fc435599057
17165fdace Added a comment 2018-09-16 20:25:40 +00:00
jasonb@ab4484d9961a46440958fa1a528e0fc435599057
c69115fc5e 2018-09-16 19:50:39 +00:00