Commit graph

24609 commits

Author SHA1 Message Date
yarikoptic
216c6daa30 Added a comment 2018-09-25 22:28:49 +00:00
mario
1e9c938e84 Added a comment 2018-09-25 21:59:10 +00:00
mario
e62961aa23 Added a comment 2018-09-25 21:33:17 +00:00
Joey Hess
55d2c5ae7e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 16:57:27 -04:00
Joey Hess
5ce9080d41
forgot to add this comment 2018-09-25 16:51:54 -04:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
6415730acf Added a comment: Thanks 2018-09-25 19:52:03 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
152bcf582f I the missing verb ;) 2018-09-25 19:50:32 +00:00
Joey Hess
80defa62c6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 15:36:49 -04:00
Joey Hess
2ebf4c3ec2
close another report of same bug 2018-09-25 15:36:20 -04:00
Joey Hess
bc31b93c77
remote.name.annex-security-allow-unverified-downloads
Added remote.name.annex-security-allow-unverified-downloads, a per-remote
setting for annex.security.allow-unverified-downloads.

This commit was sponsored by Brock Spratlen on Patreon.
2018-09-25 15:34:47 -04:00
Joey Hess
177e45517f
improve back-compat of post-receive hook
* init: Improve generated post-receive hook, so it won't fail when
  run on a system whose git-annex is too old to support git-annex post-receive
* init: Update the post-receive hook when re-run in an existing repository.

This commit was sponsored by Jack Hill on Patreon.
2018-09-25 15:02:12 -04:00
Ilya_Shlyakhter
2765677ecf Added a comment 2018-09-25 18:22:17 +00:00
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
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
torpidus
f6b67d2015 Added a comment 2018-09-16 18:45:15 +00:00
torpidus
fea77a031f Added a comment 2018-09-16 18:40:44 +00:00
torpidus
a016b21f0b removed 2018-09-16 18:40:25 +00:00
torpidus
a80b7d46ed Added a comment 2018-09-16 18:39:57 +00:00
seregynp@3214c4138198e0fe5615d11af832f69f8f5b6873
5f36435491 Added a comment: Cannot upgrade to v6 2018-09-15 10:20:58 +00:00
Joey Hess
d04b7f3e1a
um 2018-09-14 12:53:39 -04:00
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500
bf92be5fd4 Added a comment 2018-09-14 16:43:00 +00:00
AndyPerry
858f140ab0 Added a comment 2018-09-14 13:20:42 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
888d4ee99b Added a comment 2018-09-14 12:24:14 +00:00
AndyPerry
a64fa553b1 Added a comment 2018-09-14 11:39:41 +00:00
pz63@5ea0a27986d782e467e1ebef6eb31ba440cc58d5
3bfc7eee11 2018-09-14 11:38:34 +00:00
AndyPerry
8863d1d910 Added a comment 2018-09-14 09:49:57 +00:00
yarikoptic
410b4bf318 we grew up to over 50TB 2018-09-14 02:53:11 +00:00
Joey Hess
a31f225b34
add news item for git-annex 6.20180913 2018-09-13 15:51:37 -04:00
Joey Hess
c53fe82886
devblog 2018-09-13 15:50:16 -04:00
yonkers
7061aabd90 Added a comment: I think I found the answer, will try laer 2018-09-13 18:18:30 +00:00
yonkers
5fec95adbb git annex list whereis slow when 1 repo offline (dir from esata) 2018-09-13 17:50:08 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
a1327779a9 Added a comment 2018-09-13 14:56:51 +00:00
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500
81e76d815c 2018-09-13 04:24:03 +00:00
Joey Hess
8daccbc2b3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-12 15:43:43 -04:00
Joey Hess
ac021e8734
followup 2018-09-12 15:43:20 -04:00
Ilya_Shlyakhter
df3af94459 Added a comment 2018-09-12 19:33:04 +00:00
Joey Hess
f1f3d15404
response 2018-09-12 15:31:03 -04:00
Ilya_Shlyakhter
91bdfd03e6 Added a comment 2018-09-12 19:10:46 +00:00
torpidus
bf226068c8 Added a comment 2018-09-12 19:05:40 +00:00
Joey Hess
8b21761a42
devblog 2018-09-12 14:29:03 -04:00
Joey Hess
cd3f231d21
retitle 2018-09-12 14:21:39 -04:00
Joey Hess
a0dc0afdcb
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-12 14:20:10 -04:00
Joey Hess
0bbc47d567
response 2018-09-12 14:19:48 -04:00
torpidus
cc01504275 2018-09-12 18:09:53 +00:00
Joey Hess
2743224658
change v6 git-annex add of staged unmodified unlocked file
v6: When a file is unlocked but has not been modified, and the unlocking is
only staged, git-annex add did not lock it. Now it will, for consistency
with how modified files are handled and with v5.

Note the removal of the sameInodeCache check. Otherwise it would see
that the unmodified file is unmodified and stop there. That check seems to have
been copied from the direct mode branch. But, direct mode had a specific
reason to check for unmodified content, that does not apply to v6.

The second pass means there is potential for a race, eg the unlocked
file could be modified in between the first and second passes.
No problem with that, since both passes do the same thing.

This commit was sponsored by Jake Vosloo on Patreon.
2018-09-12 14:00:05 -04:00
Ilya_Shlyakhter
7bee3d9e1e Added a comment: when push fails due to non-fast-forward merge, pull and retry? 2018-09-12 17:56:41 +00:00
yarikoptic
a099fd4184 initial report on whereis kaboom 2018-09-12 14:02:48 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
20543bc340 Added a comment 2018-09-12 10:45:04 +00:00
ewen
00d4a58ff7 Added a comment: LC_TIME 2018-09-11 23:52:23 +00:00
ewen
3b8cbe55b2 Added a comment: LC_TIME 2018-09-11 22:23:49 +00:00
ewen
7bf914a22e Added a comment: timer_create 2018-09-11 21:37:25 +00:00
Joey Hess
6d73fddce6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-11 16:00:04 -04:00
Joey Hess
ddcb8b3d4f
followup 2018-09-11 15:59:40 -04:00
Joey Hess
fdbdf64d87
fix reversions due to undocumented and buggy git behavior
* Don't use GIT_PREFIX when GIT_WORK_TREE=. because it seems git
  does not intend GIT_WORK_TREE to be relative to GIT_PREFIX in that
  case, despite GIT_WORK_TREE=.. being relative to GIT_PREFIX.
* Don't use GIT_PREFIX to fix up a relative GIT_DIR, because
  git 2.11 sets GIT_PREFIX set to a path it's not relative to.
  and apparently GIT_DIR is never relative to GIT_PREFIX.

Commit e50ed4ba48 led us down this path
by working around a git bug by relying on the barely documented GIT_PREFIX.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-09-11 15:54:21 -04:00
bnyn
d1b7cbb95e Added a comment: Update 2018-09-11 19:29:39 +00:00
Joey Hess
30b1e7cb34
followup 2018-09-11 14:42:37 -04:00
Joey Hess
48205ff829
followup 2018-09-11 14:31:49 -04:00
Joey Hess
88e5292417
followup 2018-09-11 14:06:46 -04:00
Joey Hess
c54a8bff15
correlate to bug report 2018-09-11 13:46:44 -04:00
Joey Hess
ef53ad8b5b
response 2018-09-11 13:37:28 -04:00
Joey Hess
1e71dbf812
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-11 13:30:01 -04:00
Joey Hess
0f87c92cc6
close this old poll
I suspect votes by spambots..
2018-09-11 13:29:19 -04:00
Joey Hess
a352368f8e
followup 2018-09-11 13:27:51 -04:00
Joey Hess
f23118f214
response 2018-09-11 13:14:37 -04:00
Joey Hess
e01903efc5
response 2018-09-11 13:13:27 -04:00
yarikoptic
9632da100c initial report on problem accessing previously exported public bucket 2018-09-11 17:07:16 +00:00
Joey Hess
288d26eb9e
response 2018-09-11 13:00:59 -04:00
Joey Hess
e0b1e0ef7b
comment and clarification 2018-09-11 12:55:31 -04:00
yarikoptic
da1f580e4b Added a comment 2018-09-11 16:53:39 +00:00
Joey Hess
172221ce4f
response 2018-09-11 12:49:41 -04:00
Joey Hess
5e010fc85d
comment 2018-09-11 12:35:20 -04:00
Joey Hess
b89de070f0
response 2018-09-11 12:32:09 -04:00
kyle
69448f2a40 fixed 2018-09-10 18:30:46 +00:00
kyle
25fecfd50f Added a comment: fixed 2018-09-10 18:27:49 +00:00
yarikoptic
278be9c638 Added a comment: what to be done for previously exported instances? 2018-09-10 17:03:17 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
eb8e1bb56c Added a comment: adding metadata to keys that don't point to any contents is ok, correct? 2018-09-08 22:36:06 +00:00
ewen
224e71e7d0 Added a comment: x86-64 build working on Synology NAS (with work around) 2018-09-08 02:03:21 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
e0427b5679 Added a comment 2018-09-07 21:08:24 +00:00
kyle
4dc5c7a94a Added a comment: re: drop everything but subdirectory 2018-09-07 20:13:03 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
d4eebde67d Added a comment 2018-09-07 18:10:06 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
cf2cc6f7fc Added a comment 2018-09-07 18:04:51 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
1f0ab538fc 2018-09-07 17:01:04 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
cbe82e14fc Added a comment 2018-09-07 15:59:06 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
492b36a456 Added a comment: keys from metadata 2018-09-07 15:57:37 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
50e3cac811 Added a comment 2018-09-07 12:27:28 +00:00
inecas@fe552cc962c331a5cb1499e80bd5b2aa0808d987
844595a897 Added a comment 2018-09-07 07:25:54 +00:00
yarikoptic
c16856b8eb Added a comment: the reason is system wide git version! 2018-09-07 00:13:33 +00:00
yarikoptic
80f61cfaaa initial report on problem with v6 in subdirectory 2018-09-06 23:43:12 +00:00
Joey Hess
70e849a8e6
devblog 2018-09-06 17:31:42 -04:00
Joey Hess
19e91d5ee3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-06 14:37:42 -04:00
Joey Hess
b7daf2685f
support public versioned S3 access
Makes git annex whereis display the versionId urls.

And, when a s3 remote is enabled without creds, git-annex will use the
versionId urls to access its contents.

This commit was sponsored by Fernando Jimenez on Patreon.
2018-09-06 14:31:41 -04:00
Joey Hess
0630ef166b
thought 2018-09-06 13:21:46 -04:00
Joey Hess
256669a85d
close as I don't want to do this 2018-09-06 13:16:13 -04:00
Joey Hess
1c86ba8ee8
close, these seem done already 2018-09-06 13:15:21 -04:00
Joey Hess
50fb6a86f9
thoughts 2018-09-06 13:09:18 -04:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
1f0cbec2a4 2018-09-06 04:30:23 +00:00
https://me.yahoo.com/a/iOGTltEpmOTQ.xZ99NFP5c7Zdcc-#6a7ba
926dd646fc Added a comment 2018-09-06 04:17:35 +00:00
anarcat
f396676dba link to webdav more explicitely 2018-09-06 01:01:04 +00:00
anarcat
694f612fba Added a comment: added as a special remote 2018-09-06 00:58:52 +00:00
anarcat
fc78b33389 add the rclone special remote explicitely because it is awesome 2018-09-06 00:58:24 +00:00
anarcat
bb89e538c7 create an rclone page, since that's actually a thing 2018-09-06 00:54:40 +00:00
anarcat
94093a7b16 sort lists of remotes 2018-09-06 00:52:58 +00:00
Joey Hess
f7f413251e
devblog 2018-09-05 17:27:39 -04:00
Joey Hess
7407a80c27
S3: Support AWS_SESSION_TOKEN
This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-09-05 15:53:57 -04:00
Joey Hess
ae5d95d80b
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-05 15:36:33 -04:00
Joey Hess
b600ad71ce
make linkToAnnex freezeContent the object file
v6: Fix annex object file permissions when git-annex add is run on a
modified unlocked file, and in some related cases.

If a hard link is made, don't freeze it; annex.thin
uses writable object files.

Also: For some reason, linkToAnnex used to thawContent src. I can see no
reason why it needed to do that, so I eliminated that.

This commit was sponsored by Brock Spratlen on Patreon.
2018-09-05 15:27:22 -04:00
ilyawebmail@d5db0da13c02cda3860f534f3f02acdc914360b9
609d8b745f 2018-09-05 19:09:06 +00:00
Joey Hess
c4bc446cb3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-05 13:53:28 -04:00
Joey Hess
0a7c5a9982
dropdead per-remote metadata
Had to refactor pure code into separate modules so it is accessible
inside Annex.Branch.Transitions.

This commit was sponsored by Peter on Patreon.
2018-09-05 13:52:46 -04:00
ilyawebmail@d5db0da13c02cda3860f534f3f02acdc914360b9
7827055496 2018-09-05 17:08:11 +00:00
Joey Hess
f1e5dfb7c7
close 2018-09-05 12:21:52 -04:00
Joey Hess
69907e397f
revert a few problem areas of git-annex.cabal patch 2018-09-05 11:47:00 -04:00
Joey Hess
e96b8c4774
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-05 11:16:55 -04:00
Joey Hess
d5a8fbcc65
remove some no longer present build flags from example 2018-09-05 11:16:28 -04:00
fft
165783827b 2018-09-05 12:18:54 +00:00
fft
f760555c57 2018-09-05 12:13:48 +00:00
Horus
3cd10c246c 2018-09-05 07:34:23 +00:00
Horus
72682144bc 2018-09-05 07:33:41 +00:00
Horus
1a70df53c8 2018-09-05 07:32:49 +00:00
ewen
8afd9b5c95 Added a comment: Synology bug report 2018-09-03 22:36:07 +00:00
ewen
8b9cd04815 Added a comment: timer_create 2018-09-03 22:06:00 +00:00
amoebae@ae902fc700f29a8a9aa2547a9ea8ec77c0f8e30c
793f71ed0c 2018-09-03 10:56:04 +00:00
ewen
ff74702d3d x86-32 standalone build break on Synology DS216+ 2018-09-03 04:30:42 +00:00
duncan_bayne
41b3bbeddf 2018-09-03 00:42:24 +00:00
duncan_bayne
81829125f8 Added a comment: Thanks :) 2018-09-03 00:39:08 +00:00
Joey Hess
522c5cce58
devblog 2018-08-31 14:18:38 -04:00
Joey Hess
8eb944ea11
close todo, open todo 2018-08-31 14:01:24 -04:00
Joey Hess
308f49e9ae
update 2018-08-31 13:56:32 -04:00
Joey Hess
b3d42283ad
use per-remote metadata storage for S3 version ID
Since the same key can be stored in a versioned S3 bucket multiple times
with different version IDs, this allows tracking them all. Not currently
needed, but if we ever want to drop from a versioned S3 bucket, we'll
need to know them all.

This commit was supported by the NSF-funded DataLad project.
2018-08-31 13:27:29 -04:00
Joey Hess
5c99f6247e
per-remote metadata storage
Actually very straightforward reuse of the metadata log file code.
Although I had to add a todo item as git-annex forget won't clean up
dead remote's metadata yet.

This would be worth adding to the external special remote interface
sometime. Have not opened a todo though, guess I'll wait until something
needs it.

This commit was supported by the NSF-funded DataLad project.
2018-08-31 12:23:22 -04:00
Joey Hess
9d78a4387f
update 2018-08-31 12:23:04 -04:00
Joey Hess
2cdcb1ea25
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-30 15:53:09 -04:00
Joey Hess
69d4c8dce6
devblog 2018-08-30 15:52:44 -04:00
Joey Hess
3a5d0402ba
update 2018-08-30 15:49:21 -04:00
Joey Hess
19dcff2b71
use S3 version ID for retrieval
Have to store the S3 object along with the version ID, so retrieval can
use the same object.

This commit was supported by the NSF-funded DataLad project.
2018-08-30 15:37:08 -04:00
kyle
5567496518 'annex add' locks unmodified file in V5 but not V6 2018-08-30 19:07:03 +00:00
Joey Hess
794e9a7a44
store S3 version IDs
Only done when versioning=yes is configured. It could always do it when
S3 sends back a version id, but there may be buckets that have
versioning enabled by accident, so it seemed better to honor the
configuration.

S3's docs say version IDs are "randomly generated", so presumably
storing the same content twice gets two different ones not the same one.
So I considered storing a list of version IDs for a key. That would
allow removing the key completely. But.. The way Logs.RemoteState works,
when there are multiple writers, the last writer wins. So storing a list
would need a different log format that merges, which seemed overkill to support
removing a key from an append-only remote.

Note that Logs.RemoteState for S3 is now dedicated to version IDs.
If something else needs to be stored, a new log will be needed to do it.

This commit was supported by the NSF-funded DataLad project.
2018-08-30 14:30:56 -04:00
Joey Hess
0ff5a41311
S3 versioning=yes config
Not yet used.

This commit was supported by the NSF-funded DataLad project.
2018-08-30 13:45:28 -04:00
yarikoptic
2969d93283 Added a comment: clear docker for ubuntu 18:04 - the same 2018-08-30 16:07:51 +00:00
kyle
d74c6ebf1f Added a comment: v5 2018-08-30 16:05:01 +00:00
yarikoptic
dd0283e985 Added a comment: reproduced more 2018-08-30 16:02:39 +00:00
yarikoptic
4b05d4179d Added a comment: confirming 2018-08-30 15:57:39 +00:00
Joey Hess
358178fbfb
don't untrust appendonly exports
Make exporttree=yes remotes that are appendonly not be untrusted, and not force
verification of content, since the usual concerns about losing data when an
export is updated by someone else don't apply.

Note that all the remote operations on keys are left as usual for
appendonly export remotes, except for storing content.

This commit was supported by the NSF-funded DataLad project.
2018-08-30 11:48:04 -04:00
Joey Hess
8b39db20b5
export appendonly support
Make `git annex export` check appendonly when removing a file from an
export, and not update the location log, since the remote still contains
the content.

This commit was supported by the NSF-funded DataLad project.
2018-08-30 11:18:20 -04:00
Joey Hess
a3fa9ea0b5
followup 2018-08-30 11:08:46 -04:00
83.175.76.211
41baab276e poll vote (/sdcard/annex) 2018-08-30 05:03:01 +00:00
kyle@9c8cc228b2254d7f0f8c42be54a2ac1b81edf416
92be1cc8c7 2018-08-29 21:20:26 +00:00
Joey Hess
dad627fa9e
remove false starts, simplify 2018-08-29 14:12:18 -04:00
Joey Hess
5b78952f78
misunderstood some code; simplify 2018-08-29 14:09:18 -04:00
Joey Hess
e216c18318
new much improved plan 2018-08-29 13:59:52 -04:00
Joey Hess
d3c9d72245
followup 2018-08-29 12:20:24 -04:00
Joey Hess
f54c72d2e1
Fix build on FreeBSD
This must have been broken for years..

This commit was sponsored by Jack Hill on Patreon.
2018-08-29 12:09:03 -04:00
Joey Hess
084e88964d
close 2018-08-29 12:04:46 -04:00
Joey Hess
332c1513f9
fix link 2018-08-29 11:02:16 -04:00
Joey Hess
b99d60172d
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-29 10:56:26 -04:00
Joey Hess
3874c5c88d
further thoughts 2018-08-29 10:56:02 -04:00
77.119.239.37
587e0983ac poll vote (/sdcard/annex) 2018-08-29 13:38:24 +00:00
77.119.239.37
661f603a62 poll vote (/sdcard/annex) 2018-08-29 13:38:17 +00:00
77.119.239.37
0f37b9c7ec poll vote (/sdcard/annex) 2018-08-29 13:38:10 +00:00
77.119.239.37
db0f98a619 poll vote (/sdcard/annex) 2018-08-29 13:38:03 +00:00
Joey Hess
759a87ad70
fix git command queue to be concurrency safe
Probably not noticed until now because the queue is large enough that two
threads each filling theirs at the same time and flushing is unlikely to
happen.

Also made explicit that each worker thread gets its own queue.
I think that was the case before, but if something was put in the queue
before worker threads were forked off, they could have each inherited the
same queue.

Could have gone with a single shared queue, but per-worker queues is more
efficient, because a worker can add lots of stuff to its own queue without
any locking.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-08-28 13:16:33 -04:00
Joey Hess
3a71f3a4a9
reproduced 2018-08-28 12:35:15 -04:00
Joey Hess
ebdb17cda7
followup 2018-08-28 12:21:23 -04:00
Joey Hess
2b4a9a7cd8
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-28 12:14:41 -04:00
Joey Hess
b1280eb252
new todo (requested by yoh) 2018-08-28 12:14:06 -04:00
petr.marketlab@4024e478aebbe860ab1cbf03aca8adb30127c56e
2acca8a3ae 2018-08-28 15:26:07 +00:00
petr.marketlab@4024e478aebbe860ab1cbf03aca8adb30127c56e
1885cca783 2018-08-28 15:18:27 +00:00
Joey Hess
401a79675b
run git status before enabling clean filter
Avoids annex.largefiles inconsitency and also avoids a lot of
unneccessary calls to the clean filter when a large repo's clone
is being initialized.

This commit was supported by the NSF-funded DataLad project.
2018-08-28 10:36:22 -04:00
Joey Hess
82b28a8487
devblog 2018-08-27 15:10:16 -04:00
Joey Hess
6adc0d2b3f
bug triage 2018-08-27 15:10:05 -04:00
Joey Hess
10138056dc
v6: avoid accidental conversion when annex.largefiles is not configured
v6: When annex.largefiles is not configured for a file, running git add or
git commit, or otherwise using git to stage a file will add it to the annex
if the file was in the annex before, and to git otherwise. This is to avoid
accidental conversion.

Note that git-annex add's behavior has not changed, for reasons explained
in the added comment.

Performance: No added overhead when annex.largefiles is configured.
When not configured, there is an added call to catObjectMetaData,
which involves a round trip through git cat-file --batch.
However, the earlier catKeyFile primes the cache for it.

This commit was supported by the NSF-funded DataLad project.
2018-08-27 14:51:10 -04:00
Joey Hess
b3dfcd18fe
followup 2018-08-27 13:36:11 -04:00
Joey Hess
8478544b58
analysis, plan
This commit was supported by the NSF-funded DataLad project.
2018-08-27 13:14:34 -04:00
Joey Hess
d7f386a81d
reproduced with current 2018-08-27 12:20:58 -04:00
Joey Hess
d5980b7139
close, this was fixed last week 2018-08-27 12:15:43 -04:00
Joey Hess
4876f412fc
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-27 10:42:12 -04:00
Joey Hess
2c9f21e987
todo 2018-08-26 20:59:20 -04:00
duncan_bayne
5a90234f47 2018-08-26 02:37:25 +00:00
anarcat
af727108b0 update status to mention tor 2018-08-24 21:35:11 +00:00
anarcat
bfab1da5a7 mention that dat thing 2018-08-24 21:30:20 +00:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
d8cd7c1ac4 Added a comment: Building with OpenBSD 2018-08-23 19:30:09 +00:00
Joey Hess
681ed8ea58
devblog 2018-08-22 16:10:27 -04:00
Joey Hess
98fd7ec6c9
recover from race between git mv+commit and git-annex get
Last of the known v6 races.

This also makes git add of a pointer file populate it when its content
is present in the annex. Which makes sense to do, I think.

This commit was supported by the NSF-funded DataLad project.
2018-08-22 16:01:50 -04:00
Joey Hess
50fa17aee6
v6: recover from race between git mv and git-annex get/drop
Update pointer file next time reconcileStaged is run to recover from the
race.

Note that restagePointerFile causes git to run the clean filter,
and that will run reconcileStaged. So, normally by the time the git
annex get/drop command finishes, the race has already been dealt with.
It may be that, in some case, that won't happen and the race will be
dealt with at a later point. git-annex could run reconcileStaged at
shutdown if that becomes a problem.

This does not handle the situation where the git mv is committed before
git-annex gets a chance to run again. git commit does run the clean
filter, and that happens to re-inject the content if it was supposed to
be dropped but is still populated. But, the case where the file was
supposed to be gotten but is not populated is not handled yet.

This commit was supported by the NSF-funded DataLad project.
2018-08-22 15:56:43 -04:00
Joey Hess
e9b2674281
plan 2018-08-22 13:58:32 -04:00
Joey Hess
38a934cf07
correction 2018-08-22 13:34:15 -04:00
Joey Hess
18ecf41917
avoid running reconcileStaged when the index has not changed
This commit was supported by the NSF-funded DataLad project.
2018-08-22 13:04:12 -04:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
65bd018f94 removed 2018-08-22 01:13:45 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
529b84c5ca removed 2018-08-22 01:11:08 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
7d0b838153 Added a comment 2018-08-22 01:10:54 +00:00