Commit graph

24311 commits

Author SHA1 Message Date
yarikoptic
12e6d322ca Added a comment 2018-09-24 19:33:41 +00:00
Joey Hess
35db45a1a3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 15:06:03 -04:00
Joey Hess
67615bda8d
thoughts 2018-09-24 15:05:41 -04:00
Ilya_Shlyakhter
e28ae667a4 Added a comment 2018-09-24 18:50:46 +00:00
Ilya_Shlyakhter
e2ac1838ed Added a comment 2018-09-24 18:29:36 +00:00
yarikoptic
3c4cb7e957 Added a comment 2018-09-24 18:05:15 +00:00
mario
695fc35c37 Added a comment: re: comment 1 2018-09-24 18:02:38 +00:00
yarikoptic
81c51fae30 Added a comment: downgrading helped! 2018-09-24 17:56:42 +00:00
Ilya_Shlyakhter
5bf581c477 Added a comment 2018-09-24 17:27:34 +00:00
Joey Hess
09716835c6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 13:21:54 -04:00
Joey Hess
4ecba916a1
annex.maxextensionlength
Added annex.maxextensionlength for use cases where extensions longer than 4
characters are needed.

This commit was sponsored by Henrik Riomar on Patreon.
2018-09-24 12:10:18 -04:00
Ilya_Shlyakhter
445dcf55d7 Added a comment 2018-09-24 15:58:03 +00:00
Joey Hess
0f9eafc157
comment 2018-09-24 11:50:40 -04:00
Joey Hess
f7fc60ed8d
response 2018-09-24 11:44:21 -04:00
Joey Hess
cb3274f51a
response 2018-09-24 11:41:36 -04:00
Joey Hess
b4abdda121
response 2018-09-24 11:40:34 -04:00
Joey Hess
96cff22d8d
response 2018-09-24 11:34:55 -04:00
Joey Hess
da6d69f691
response 2018-09-24 11:31:37 -04:00
Joey Hess
cc82f81227
More FreeBSD build fixes.
Untested, on FreeBSD but enough to fix the listed build errors.

Seems that System.Posix.Files must have used to export this stuff and it
was split.

This commit was sponsored by Peter on Patreon.
2018-09-24 11:25:56 -04:00
Joey Hess
dfcaf2389b
response 2018-09-24 11:20:31 -04:00
Joey Hess
e285420512
comment 2018-09-24 11:17:58 -04:00
gueux
ccd6e58b49 Added a comment 2018-09-24 09:03:13 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
28ee26e049 2018-09-23 21:34:51 +00:00
mario
1f294ff7c9 Added a comment 2018-09-23 16:46:48 +00:00
mario
324a8dc9f0 2018-09-23 16:35:50 +00:00
madalu
c38656d70e Fix typo 2018-09-22 22:46:20 +00:00
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