Joey Hess [Thu, 14 Nov 2024 17:52:19 +0000 (13:52 -0400)]
Merge branch 'checkbucketversioning'
Joey Hess [Wed, 13 Nov 2024 20:10:37 +0000 (16:10 -0400)]
S3: Send git-annex or other configured User-Agent.
--user-agent is the only way to configure it currently
(Needs aws-0.24.3)
Joey Hess [Wed, 13 Nov 2024 20:02:55 +0000 (16:02 -0400)]
fix
Joey Hess [Wed, 13 Nov 2024 18:42:03 +0000 (14:42 -0400)]
response
Joey Hess [Wed, 13 Nov 2024 18:12:37 +0000 (14:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 13 Nov 2024 18:12:19 +0000 (14:12 -0400)]
comment
yarikoptic [Wed, 13 Nov 2024 18:11:58 +0000 (18:11 +0000)]
Added a comment
Joey Hess [Wed, 13 Nov 2024 18:09:51 +0000 (14:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 13 Nov 2024 18:09:24 +0000 (14:09 -0400)]
add: When adding a dotfile as a non-large file, mention that it's a dotfile
This is to reduce user confusion when their annex.largefiles matches it,
or is not set.
Note that, when annex.dotfiles is set, but a dotfile is not matched by
annex.largefiles, the "non-large file" message will be displayed. That
makes sense because whether the file is a dotfile does not matter with that
configuration.
Also, this slightly optimised the annex.dotfiles path in passing,
by avoiding the slight slowdown caused by the check added in commit
876d5b6c6fed7d540767783eb3d14469f41bd1c2 in that case.
yarikoptic [Wed, 13 Nov 2024 18:08:59 +0000 (18:08 +0000)]
Added a comment
yarikoptic [Wed, 13 Nov 2024 17:57:58 +0000 (17:57 +0000)]
Added a comment
Joey Hess [Wed, 13 Nov 2024 17:42:52 +0000 (13:42 -0400)]
add: Consistently treat files in a dotdir as dotfiles, even when ran inside that dotdir
Assistant and smudge also updated.
This does add a small amount of extra work, getting the TopFilePath.
Not enough to be concerned by.
Also improve documentation to make clear that files inside dotdirs are
treated as dotfiles.
Sponsored-by: Eve on Patreon
Joey Hess [Wed, 13 Nov 2024 16:59:22 +0000 (12:59 -0400)]
fix link
Joey Hess [Wed, 13 Nov 2024 16:57:54 +0000 (12:57 -0400)]
dotfile
datamanager [Wed, 13 Nov 2024 00:30:25 +0000 (00:30 +0000)]
Added a comment
datamanager [Wed, 13 Nov 2024 00:30:05 +0000 (00:30 +0000)]
removed
datamanager [Wed, 13 Nov 2024 00:29:31 +0000 (00:29 +0000)]
removed
datamanager [Wed, 13 Nov 2024 00:29:14 +0000 (00:29 +0000)]
Added a comment
datamanager [Wed, 13 Nov 2024 00:29:05 +0000 (00:29 +0000)]
Added a comment
svw [Tue, 12 Nov 2024 21:18:44 +0000 (21:18 +0000)]
yarikoptic [Tue, 12 Nov 2024 20:11:25 +0000 (20:11 +0000)]
initial report on annex import slowing to crawl on dandiarchive/dandisets/
Joey Hess [Tue, 12 Nov 2024 18:34:05 +0000 (14:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 12 Nov 2024 18:33:42 +0000 (14:33 -0400)]
implemented
Joey Hess [Tue, 12 Nov 2024 18:32:23 +0000 (14:32 -0400)]
S3: Support versioning=yes with a readonly bucket.
Needs aws-0.24.3.
Joey Hess [Tue, 12 Nov 2024 18:31:28 +0000 (14:31 -0400)]
comments
Stanley [Tue, 12 Nov 2024 09:08:54 +0000 (09:08 +0000)]
yarikoptic [Mon, 11 Nov 2024 22:18:37 +0000 (22:18 +0000)]
Added a comment
yarikoptic [Mon, 11 Nov 2024 22:11:13 +0000 (22:11 +0000)]
Added a comment
Joey Hess [Mon, 11 Nov 2024 20:41:50 +0000 (16:41 -0400)]
comment
Joey Hess [Mon, 11 Nov 2024 18:32:44 +0000 (14:32 -0400)]
response
Joey Hess [Mon, 11 Nov 2024 18:21:44 +0000 (14:21 -0400)]
response
Joey Hess [Mon, 11 Nov 2024 18:15:51 +0000 (14:15 -0400)]
vpop: Only update state after successful checkout
If checkout fails for some reason, they're still in a view, and should be
able to vpop again.
Joey Hess [Mon, 11 Nov 2024 17:47:02 +0000 (13:47 -0400)]
close
Joey Hess [Mon, 11 Nov 2024 17:40:59 +0000 (13:40 -0400)]
test git-remote-annex
The added test case catches the reversion fixed in
700be6c38f29328812c17048c077c9bec7d8d8ad
Joey Hess [Mon, 11 Nov 2024 16:42:26 +0000 (12:42 -0400)]
git-remote-annex: Fix a reversion
Introduced in version 10.
20241031 that broke cloning from a special remote
retrieveKeyFile changed to use createAnnexDirectory, which means that the
path passed to it needs to be under .git
git-remote-annex is probably the only thing in git-annex where that was not
the case. And there's no real reason it cannot be the case with it either.
Just use withOtherTmp.
Joey Hess [Mon, 11 Nov 2024 16:25:56 +0000 (12:25 -0400)]
analysis
Joey Hess [Mon, 11 Nov 2024 16:02:41 +0000 (12:02 -0400)]
break out new bug report
Joey Hess [Mon, 11 Nov 2024 15:48:23 +0000 (11:48 -0400)]
correct name of createDirectoryUnder in error message
Atemu [Mon, 11 Nov 2024 06:40:16 +0000 (06:40 +0000)]
AlexPraga [Thu, 7 Nov 2024 21:46:32 +0000 (21:46 +0000)]
Added a comment: Follow-up
yarikoptic [Thu, 7 Nov 2024 21:39:42 +0000 (21:39 +0000)]
yarikoptic [Thu, 7 Nov 2024 21:39:17 +0000 (21:39 +0000)]
add empty line so ``` is formatted correctly
yarikoptic [Thu, 7 Nov 2024 21:38:35 +0000 (21:38 +0000)]
initial remote on need to check if versioning already enabled and thus avoid PUT
removed
Added a comment: Examples
yarikoptic [Tue, 5 Nov 2024 20:59:16 +0000 (20:59 +0000)]
Added a comment: cannot "unregister" fully
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 5 Nov 2024 15:43:10 +0000 (15:43 +0000)]
Added a comment: Re: corruption using git-annex-remote-rclone
yarikoptic [Mon, 4 Nov 2024 17:52:14 +0000 (17:52 +0000)]
initial report on keeping adding to git
matrss [Mon, 4 Nov 2024 14:52:56 +0000 (14:52 +0000)]
Added a comment
psxvoid [Mon, 4 Nov 2024 13:54:23 +0000 (13:54 +0000)]
Added a comment: possible fix
yarikoptic [Sun, 3 Nov 2024 14:48:03 +0000 (14:48 +0000)]
Added a comment
psxvoid [Sun, 3 Nov 2024 14:09:34 +0000 (14:09 +0000)]
psxvoid [Sun, 3 Nov 2024 14:07:27 +0000 (14:07 +0000)]
psxvoid [Sun, 3 Nov 2024 13:45:48 +0000 (13:45 +0000)]
removed
psxvoid [Sun, 3 Nov 2024 13:44:57 +0000 (13:44 +0000)]
Added a comment: using fuse and nextcloud
psxvoid [Sun, 3 Nov 2024 13:44:44 +0000 (13:44 +0000)]
Added a comment: using fuse and nextcloud
yarikoptic [Fri, 1 Nov 2024 02:29:23 +0000 (02:29 +0000)]
Added a comment
Joey Hess [Thu, 31 Oct 2024 21:27:13 +0000 (17:27 -0400)]
scaling
Joey Hess [Thu, 31 Oct 2024 21:25:59 +0000 (17:25 -0400)]
update
Joey Hess [Thu, 31 Oct 2024 21:20:22 +0000 (17:20 -0400)]
add news item for git-annex 10.
20241031
Joey Hess [Thu, 31 Oct 2024 21:20:13 +0000 (17:20 -0400)]
releasing package git-annex version 10.
20241031
Joey Hess [Wed, 30 Oct 2024 18:50:24 +0000 (14:50 -0400)]
oops, add the new todos meant to be in prev commit
Joey Hess [Wed, 30 Oct 2024 18:49:54 +0000 (14:49 -0400)]
split up remaining items from todo/git-annex_proxies and close it!
Joey Hess [Wed, 30 Oct 2024 18:08:47 +0000 (14:08 -0400)]
prepare for release tomorrow
Joey Hess [Wed, 30 Oct 2024 18:08:01 +0000 (14:08 -0400)]
link
Joey Hess [Wed, 30 Oct 2024 18:06:51 +0000 (14:06 -0400)]
fix link
Joey Hess [Wed, 30 Oct 2024 17:57:19 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 30 Oct 2024 17:51:58 +0000 (13:51 -0400)]
DATA-PRESENT working for exporttree=yes remotes
Since the annex-tracking-branch is pushed first, git-annex has already
updated the export database when the DATA-PRESENT arrives. Which means
that just using checkPresent is enough to verify that there is some file
on the special remote in the export location for the key.
So, the simplest possible implementation of this happened to work!
(I also tested it with chunked specialremotes, which also works, as long
as the chunk size used is the same as the configured chunk size. In that
case, the lack of a chunk log is not a problem. Doubtful this will ever
make sense to use with a chunked special remote though, that gets pretty
deep into re-implementing git-annex.)
Updated the client side upload tip with a missing step, and reorged for clarity.
Joey Hess [Wed, 30 Oct 2024 17:09:50 +0000 (13:09 -0400)]
fix recording present on the proxy when proxying DATA-PRESENT
Apparently the protoerrhandler parameter never runs. Also the const
typo prevented the type checker from complaining that relayPUTRecord was
being called with 1 less parameter than needed.
So move the relayPUTRecord out of it.
Joey Hess [Wed, 30 Oct 2024 16:29:37 +0000 (12:29 -0400)]
Fix hang when receiving a large file into a proxied special remote
Only indicate that we're done with the bytestring once it all gets written.
Otherwise, the end of it may get garbage collected before we can process
it, leading to a hang.
This seems to have been introduced in commit
cdc4bd7443a4921dd0573a0babedc51c1d62f918. Which oddly was trying to fix a
very similar problem, but specific to a cluster node. In that commit,
things got out of order, with it signaling it was done with the bytestring
before it has written all of it to the file.
My test case for this bug is a directory special remote
with a file being sent to it via a proxy accessed via ssh or http.
The file was 10 mb, and it hung on the last few kb of it not being
received.
I've also tested this fix in the case of proxying to a cluster node
directory special remote over http, which was the case
cdc4bd7443a4921dd0573a0babedc51c1d62f918 was dealing with.
Joey Hess [Wed, 30 Oct 2024 12:13:49 +0000 (08:13 -0400)]
Merge branch 'master' into p2pv4
Joey Hess [Wed, 30 Oct 2024 12:13:33 +0000 (08:13 -0400)]
break out todo item
Joey Hess [Tue, 29 Oct 2024 20:14:10 +0000 (16:14 -0400)]
add tip for DATA-PRESENT feature
Joey Hess [Tue, 29 Oct 2024 19:07:30 +0000 (15:07 -0400)]
document DATA-PRESENT in CHANGELOG
I wonder where else this could be documented? It's kind of a niche
feature, since it needs at least a partial custom implementation of the p2p
protocol or the p2phttp protocol. But it can save a lot of bandwidth and
avoid the proxy needing disk space to buffer files uploaded to a special
remote.
Joey Hess [Tue, 29 Oct 2024 18:53:06 +0000 (14:53 -0400)]
support DATA-PRESENT when proxtying for special remotes
There is a TODO left in the code for exporttree special remotes. If
possible, it should check if one of the export locations contains the
content of the key.
Joey Hess [Tue, 29 Oct 2024 18:20:07 +0000 (14:20 -0400)]
support DATA-PRESENT in the p2p protocol proxy
But not yet when proxying to special remotes.
When proxying for a cluster, the client can store the object on any node
or nodes of the cluster, and send DATA-PRESENT. That gets proxied to each
node, and if any of them agree that they have the data, the proxy will
respond with SUCCESS or SUCCESS-PLUS.
I think it's ok to not check for the proxied remotes supporting protocol
version 4. When there are multiple remotes in a cluster, it behaves as
described above, and if they all respond with ERROR, the result will be
FAILURE. And when not proxying for a cluster, the proxy negotiates the
p2p protocol to be the same version or lower than the proxied remote,
which will prevent sending DATA-PRESENT when it's too old.
Joey Hess [Tue, 29 Oct 2024 17:13:28 +0000 (13:13 -0400)]
implement put data-present parameter in http servant
Changed the protocol docs because servant parses "true" and "false" for
booleans in query parameters, not "1" and "0".
clientPut with datapresent=True is not used by git-annex, and I don't
anticipate it being used in git-annex, except for testing.
I've tested this by making clientPut be called with datapresent=True and
git-annex copy to a remote succeeds once the object file is first
manually copied to the remote. That would be a good test for the test
suite, but running the http client means exposing it to at least
localhost, and would fail if a real http client was already running on
that port.
Joey Hess [Tue, 29 Oct 2024 17:12:12 +0000 (13:12 -0400)]
implement DATA-PRESENT in p2p protocol
Not yet implemented for the http server or the proxy.
pdz [Tue, 29 Oct 2024 16:25:33 +0000 (16:25 +0000)]
Joey Hess [Tue, 29 Oct 2024 16:13:05 +0000 (12:13 -0400)]
update http servant for p2p protocol version 4
This is all just adding the v4 routes and boilerplate. At this point v4
is implemented the same as v3.
Joey Hess [Mon, 28 Oct 2024 18:16:15 +0000 (14:16 -0400)]
p2p protocol version 4 for DATA-PRESENT
Joey Hess [Mon, 28 Oct 2024 17:49:58 +0000 (13:49 -0400)]
formatting
Joey Hess [Mon, 28 Oct 2024 17:46:57 +0000 (13:46 -0400)]
update
Joey Hess [Mon, 28 Oct 2024 17:29:33 +0000 (13:29 -0400)]
simplified design for indirect uploads
Joey Hess [Mon, 28 Oct 2024 16:20:10 +0000 (12:20 -0400)]
fix reversion in getting from unchunked encrypted special remotes
Have to use the object file for the encrypted key, not the unencrypted
key.
Bug introduced in
835283b86240ef4b68c44f4332ac1b644e08e49f
Joey Hess [Mon, 28 Oct 2024 16:01:23 +0000 (12:01 -0400)]
bisected
Joey Hess [Mon, 28 Oct 2024 15:30:09 +0000 (11:30 -0400)]
reproduced
yarikoptic [Thu, 24 Oct 2024 14:00:14 +0000 (14:00 +0000)]
initial report on fresh FTBFS on debian
Joey Hess [Tue, 22 Oct 2024 17:54:54 +0000 (13:54 -0400)]
comment
Joey Hess [Tue, 22 Oct 2024 17:36:31 +0000 (13:36 -0400)]
comment
Joey Hess [Tue, 22 Oct 2024 17:27:25 +0000 (13:27 -0400)]
remove warnings about tuning being experimental
Joey Hess [Tue, 22 Oct 2024 17:25:46 +0000 (13:25 -0400)]
followup and close
Joey Hess [Tue, 22 Oct 2024 17:19:04 +0000 (13:19 -0400)]
close old xmpp bug
Joey Hess [Tue, 22 Oct 2024 17:04:37 +0000 (13:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 22 Oct 2024 15:37:36 +0000 (11:37 -0400)]
pondering
Joey Hess [Tue, 22 Oct 2024 15:12:12 +0000 (11:12 -0400)]
add missing space
Joey Hess [Tue, 22 Oct 2024 15:09:47 +0000 (11:09 -0400)]
planning
matrss [Tue, 22 Oct 2024 14:44:10 +0000 (14:44 +0000)]
Added a comment
matrss [Tue, 22 Oct 2024 14:13:53 +0000 (14:13 +0000)]
Added a comment: Re: rclone remote config in special remote
Joey Hess [Tue, 22 Oct 2024 13:49:28 +0000 (09:49 -0400)]
Merge branch 'master' into streamproxy