Commit graph

24397 commits

Author SHA1 Message Date
Joey Hess
fc8be1980c
comment 2018-09-25 14:17:32 -04:00
Joey Hess
ce67aeb52f
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 14:12:26 -04:00
Joey Hess
617d40c539
response 2018-09-25 14:10:57 -04:00
Joey Hess
75d769d0f3
clean up old misplaced comment 2018-09-25 14:07:03 -04:00
Joey Hess
16cbecbd09
Revert "clean P2P protocol shutdown on EOF"
This reverts commit b18fb1e343.

That broke support for old git-annex-shell before p2pstdio was added.

The immediate problem is that postAuth had a fallthrough case
that sent an error back to the peer, but sending an error back when the
connection is closed is surely not going to work.

But thinking about it some more, making every function that uses receiveMessage
need to handle ProtocolEOF adds a lot of complication, so I don't want
to do that.

The commit only cleaned up the test suite output a tiny bit, so I'm just
gonna revert it for now.
2018-09-25 14:04:12 -04:00
yarikoptic
03c8fbd718 Added a comment 2018-09-25 17:58:25 +00:00
yarikoptic
3b906594cf Added a comment 2018-09-25 17:56:58 +00:00
yarikoptic
548390035d Added a comment: resolved! 2018-09-25 17:55:30 +00:00
Joey Hess
26a02cb386
display error when an invalid url is downloaded
download is documented as displaying an error when download fails, but
it didn't when the url was not valid at all. That leads to confusing
behavior.

Also, display the url with --debug
2018-09-25 13:38:20 -04:00
Joey Hess
92cef3051b
remove markdown links which are not handled on man pages
Thus the ill-specified "edit with care" at the bottom of this page,
which basically means you need to build the man pages and check
that the markdown used was converted ok.

Also, this doc wiki uses relative links, not absolute links.

Also reworded slightly.
2018-09-25 13:23:17 -04:00
Joey Hess
355599b03f
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 13:20:41 -04:00
Joey Hess
0d9d3cc9c4
reproed 2018-09-25 13:18:45 -04:00
Ilya_Shlyakhter
5029fabcf3 git-annex-metadata - used a clearer word 2018-09-25 17:11:49 +00:00
Ilya_Shlyakhter
fb4d044ae6 clarified that metadata is attached to file contents not file itself 2018-09-25 17:10:34 +00:00
Joey Hess
58e5e01ba0
sheesh 2018-09-25 13:08:10 -04:00
Joey Hess
be3dcd80b0
followup 2018-09-25 13:04:09 -04:00
Joey Hess
572c70542b
response 2018-09-25 12:59:13 -04:00
Joey Hess
7c874782ba
followup 2018-09-25 12:56:14 -04:00
Joey Hess
e05b143560
close, fixed in git 2018-09-25 12:54:17 -04:00
Ilya_Shlyakhter
7a9c2f3ac3 added anchor for git-annex branch 2018-09-25 16:54:00 +00:00
Joey Hess
df2518af5a
comment 2018-09-25 12:34:21 -04:00
yarikoptic
e2ff597850 Added a comment 2018-09-25 16:18:58 +00:00
yarikoptic
8ee8e14ae8 Added a comment 2018-09-25 16:15:54 +00:00
Ilya_Shlyakhter
feb6070ce0 Added a comment 2018-09-25 16:11:40 +00:00
yarikoptic
42e000f45f Added a comment: same as another one? 2018-09-25 15:35:15 +00:00
yarikoptic
be7ef2c519 initial report about get'ing from exported public S3 2018-09-25 15:33:58 +00:00
yarikoptic
29ae96a191 Added a comment 2018-09-25 15:27:13 +00:00
Ilya_Shlyakhter
9e075fdbfa Added a comment 2018-09-25 15:24:55 +00:00
Ilya_Shlyakhter
f31b2c1657 Added a comment 2018-09-25 15:23:35 +00:00
yarikoptic
b9016a7d7e initial report about stalling ssh 2018-09-25 13:48:39 +00:00
yarikoptic
42480e8ce6 impossible to login report 2018-09-25 13:37:33 +00:00
yarikoptic
abf3d8ea15 initial report about standalone out of date 2018-09-25 13:31:05 +00:00
mario
ba10ca0de8 Added a comment 2018-09-25 09:45:01 +00:00
yarikoptic
de276f33a6 Added a comment: Decided to try again... 2018-09-25 00:09:52 +00:00
Joey Hess
466e0d222e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 15:47:17 -04:00
Joey Hess
d95f682d87
todo 2018-09-24 15:46:49 -04:00
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
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