git-annex.git
20 months agoMerge branch 'checkbucketversioning'
Joey Hess [Thu, 14 Nov 2024 17:52:19 +0000 (13:52 -0400)]
Merge branch 'checkbucketversioning'

20 months agoS3: Send git-annex or other configured User-Agent.
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)

20 months agofix
Joey Hess [Wed, 13 Nov 2024 20:02:55 +0000 (16:02 -0400)]
fix

20 months agoresponse
Joey Hess [Wed, 13 Nov 2024 18:42:03 +0000 (14:42 -0400)]
response

20 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 13 Nov 2024 18:12:37 +0000 (14:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

20 months agocomment
Joey Hess [Wed, 13 Nov 2024 18:12:19 +0000 (14:12 -0400)]
comment

20 months agoAdded a comment
yarikoptic [Wed, 13 Nov 2024 18:11:58 +0000 (18:11 +0000)]
Added a comment

20 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 13 Nov 2024 18:09:51 +0000 (14:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

20 months agoadd: When adding a dotfile as a non-large file, mention that it's a dotfile
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.

20 months agoAdded a comment
yarikoptic [Wed, 13 Nov 2024 18:08:59 +0000 (18:08 +0000)]
Added a comment

20 months agoAdded a comment
yarikoptic [Wed, 13 Nov 2024 17:57:58 +0000 (17:57 +0000)]
Added a comment

20 months agoadd: Consistently treat files in a dotdir as dotfiles, even when ran inside that...
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
20 months agofix link
Joey Hess [Wed, 13 Nov 2024 16:59:22 +0000 (12:59 -0400)]
fix link

20 months agodotfile
Joey Hess [Wed, 13 Nov 2024 16:57:54 +0000 (12:57 -0400)]
dotfile

20 months agoAdded a comment
datamanager [Wed, 13 Nov 2024 00:30:25 +0000 (00:30 +0000)]
Added a comment

20 months agoremoved
datamanager [Wed, 13 Nov 2024 00:30:05 +0000 (00:30 +0000)]
removed

20 months agoremoved
datamanager [Wed, 13 Nov 2024 00:29:31 +0000 (00:29 +0000)]
removed

20 months agoAdded a comment
datamanager [Wed, 13 Nov 2024 00:29:14 +0000 (00:29 +0000)]
Added a comment

20 months agoAdded a comment
datamanager [Wed, 13 Nov 2024 00:29:05 +0000 (00:29 +0000)]
Added a comment

20 months ago(no commit message)
svw [Tue, 12 Nov 2024 21:18:44 +0000 (21:18 +0000)]

20 months agoinitial report on annex import slowing to crawl on dandiarchive/dandisets/
yarikoptic [Tue, 12 Nov 2024 20:11:25 +0000 (20:11 +0000)]
initial report on annex import  slowing to crawl on dandiarchive/dandisets/

20 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 12 Nov 2024 18:34:05 +0000 (14:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

20 months agoimplemented
Joey Hess [Tue, 12 Nov 2024 18:33:42 +0000 (14:33 -0400)]
implemented

20 months agoS3: Support versioning=yes with a readonly bucket.
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.

20 months agocomments
Joey Hess [Tue, 12 Nov 2024 18:31:28 +0000 (14:31 -0400)]
comments

20 months ago(no commit message)
Stanley [Tue, 12 Nov 2024 09:08:54 +0000 (09:08 +0000)]

21 months agoAdded a comment
yarikoptic [Mon, 11 Nov 2024 22:18:37 +0000 (22:18 +0000)]
Added a comment

21 months agoAdded a comment
yarikoptic [Mon, 11 Nov 2024 22:11:13 +0000 (22:11 +0000)]
Added a comment

21 months agocomment
Joey Hess [Mon, 11 Nov 2024 20:41:50 +0000 (16:41 -0400)]
comment

21 months agoresponse
Joey Hess [Mon, 11 Nov 2024 18:32:44 +0000 (14:32 -0400)]
response

21 months agoresponse
Joey Hess [Mon, 11 Nov 2024 18:21:44 +0000 (14:21 -0400)]
response

21 months agovpop: Only update state after successful checkout
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.

21 months agoclose
Joey Hess [Mon, 11 Nov 2024 17:47:02 +0000 (13:47 -0400)]
close

21 months agotest git-remote-annex
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

21 months agogit-remote-annex: Fix a reversion
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.

21 months agoanalysis
Joey Hess [Mon, 11 Nov 2024 16:25:56 +0000 (12:25 -0400)]
analysis

21 months agobreak out new bug report
Joey Hess [Mon, 11 Nov 2024 16:02:41 +0000 (12:02 -0400)]
break out new bug report

21 months agocorrect name of createDirectoryUnder in error message
Joey Hess [Mon, 11 Nov 2024 15:48:23 +0000 (11:48 -0400)]
correct name of createDirectoryUnder in error message

21 months ago(no commit message)
Atemu [Mon, 11 Nov 2024 06:40:16 +0000 (06:40 +0000)]

21 months agoAdded a comment: Follow-up
AlexPraga [Thu, 7 Nov 2024 21:46:32 +0000 (21:46 +0000)]
Added a comment: Follow-up

21 months ago(no commit message)
yarikoptic [Thu, 7 Nov 2024 21:39:42 +0000 (21:39 +0000)]

21 months agoadd empty line so ``` is formatted correctly
yarikoptic [Thu, 7 Nov 2024 21:39:17 +0000 (21:39 +0000)]
add empty line so ``` is formatted correctly

21 months agoinitial remote on need to check if versioning already enabled and thus avoid PUT
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

21 months agoremoved
marc+bugs@bd1c733f9e5bee7c2279a9c649e80fac0e540c14 [Thu, 7 Nov 2024 14:17:33 +0000 (14:17 +0000)]
removed

21 months agoAdded a comment: Examples
marc+bugs@bd1c733f9e5bee7c2279a9c649e80fac0e540c14 [Thu, 7 Nov 2024 14:13:27 +0000 (14:13 +0000)]
Added a comment: Examples

21 months agoAdded a comment: cannot "unregister" fully
yarikoptic [Tue, 5 Nov 2024 20:59:16 +0000 (20:59 +0000)]
Added a comment: cannot "unregister" fully

21 months agoAdded a comment: Re: corruption using git-annex-remote-rclone
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Tue, 5 Nov 2024 15:43:10 +0000 (15:43 +0000)]
Added a comment: Re: corruption using git-annex-remote-rclone

21 months agoinitial report on keeping adding to git
yarikoptic [Mon, 4 Nov 2024 17:52:14 +0000 (17:52 +0000)]
initial report on keeping adding to git

21 months agoAdded a comment
matrss [Mon, 4 Nov 2024 14:52:56 +0000 (14:52 +0000)]
Added a comment

21 months agoAdded a comment: possible fix
psxvoid [Mon, 4 Nov 2024 13:54:23 +0000 (13:54 +0000)]
Added a comment: possible fix

21 months agoAdded a comment
yarikoptic [Sun, 3 Nov 2024 14:48:03 +0000 (14:48 +0000)]
Added a comment

21 months ago(no commit message)
psxvoid [Sun, 3 Nov 2024 14:09:34 +0000 (14:09 +0000)]

21 months ago(no commit message)
psxvoid [Sun, 3 Nov 2024 14:07:27 +0000 (14:07 +0000)]

21 months agoremoved
psxvoid [Sun, 3 Nov 2024 13:45:48 +0000 (13:45 +0000)]
removed

21 months agoAdded a comment: using fuse and nextcloud
psxvoid [Sun, 3 Nov 2024 13:44:57 +0000 (13:44 +0000)]
Added a comment: using fuse and nextcloud

21 months agoAdded 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

21 months agoAdded a comment
yarikoptic [Fri, 1 Nov 2024 02:29:23 +0000 (02:29 +0000)]
Added a comment

21 months agoscaling
Joey Hess [Thu, 31 Oct 2024 21:27:13 +0000 (17:27 -0400)]
scaling

21 months agoupdate
Joey Hess [Thu, 31 Oct 2024 21:25:59 +0000 (17:25 -0400)]
update

21 months agoadd news item for git-annex 10.20241031
Joey Hess [Thu, 31 Oct 2024 21:20:22 +0000 (17:20 -0400)]
add news item for git-annex 10.20241031

21 months agoreleasing package git-annex version 10.20241031
Joey Hess [Thu, 31 Oct 2024 21:20:13 +0000 (17:20 -0400)]
releasing package git-annex version 10.20241031

21 months agooops, add the new todos meant to be in prev commit
Joey Hess [Wed, 30 Oct 2024 18:50:24 +0000 (14:50 -0400)]
oops, add the new todos meant to be in prev commit

21 months agosplit up remaining items from todo/git-annex_proxies and close it!
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!

21 months agoprepare for release tomorrow
Joey Hess [Wed, 30 Oct 2024 18:08:47 +0000 (14:08 -0400)]
prepare for release tomorrow

21 months agolink
Joey Hess [Wed, 30 Oct 2024 18:08:01 +0000 (14:08 -0400)]
link

21 months agofix link
Joey Hess [Wed, 30 Oct 2024 18:06:51 +0000 (14:06 -0400)]
fix link

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 30 Oct 2024 17:57:19 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agoDATA-PRESENT working for exporttree=yes remotes
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.

21 months agofix recording present on the proxy when proxying DATA-PRESENT
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.

21 months agoFix hang when receiving a large file into a proxied special remote
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.

21 months agoMerge branch 'master' into p2pv4
Joey Hess [Wed, 30 Oct 2024 12:13:49 +0000 (08:13 -0400)]
Merge branch 'master' into p2pv4

21 months agobreak out todo item
Joey Hess [Wed, 30 Oct 2024 12:13:33 +0000 (08:13 -0400)]
break out todo item

21 months agoadd tip for DATA-PRESENT feature
Joey Hess [Tue, 29 Oct 2024 20:14:10 +0000 (16:14 -0400)]
add tip for DATA-PRESENT feature

21 months agodocument DATA-PRESENT in CHANGELOG
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.

21 months agosupport DATA-PRESENT when proxtying for special remotes
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.

21 months agosupport DATA-PRESENT in the p2p protocol proxy
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.

21 months agoimplement put data-present parameter in http servant
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.

21 months agoimplement DATA-PRESENT in p2p protocol
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.

21 months ago(no commit message)
pdz [Tue, 29 Oct 2024 16:25:33 +0000 (16:25 +0000)]

21 months agoupdate http servant for p2p protocol version 4
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.

21 months agop2p protocol version 4 for DATA-PRESENT
Joey Hess [Mon, 28 Oct 2024 18:16:15 +0000 (14:16 -0400)]
p2p protocol version 4 for DATA-PRESENT

21 months agoformatting
Joey Hess [Mon, 28 Oct 2024 17:49:58 +0000 (13:49 -0400)]
formatting

21 months agoupdate
Joey Hess [Mon, 28 Oct 2024 17:46:57 +0000 (13:46 -0400)]
update

21 months agosimplified design for indirect uploads
Joey Hess [Mon, 28 Oct 2024 17:29:33 +0000 (13:29 -0400)]
simplified design for indirect uploads

21 months agofix reversion in getting from unchunked encrypted special remotes
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

21 months agobisected
Joey Hess [Mon, 28 Oct 2024 16:01:23 +0000 (12:01 -0400)]
bisected

21 months agoreproduced
Joey Hess [Mon, 28 Oct 2024 15:30:09 +0000 (11:30 -0400)]
reproduced

21 months agoinitial report on fresh FTBFS on debian
yarikoptic [Thu, 24 Oct 2024 14:00:14 +0000 (14:00 +0000)]
initial report on fresh FTBFS on debian

21 months agocomment
Joey Hess [Tue, 22 Oct 2024 17:54:54 +0000 (13:54 -0400)]
comment

21 months agocomment
Joey Hess [Tue, 22 Oct 2024 17:36:31 +0000 (13:36 -0400)]
comment

21 months agoremove warnings about tuning being experimental
Joey Hess [Tue, 22 Oct 2024 17:27:25 +0000 (13:27 -0400)]
remove warnings about tuning being experimental

21 months agofollowup and close
Joey Hess [Tue, 22 Oct 2024 17:25:46 +0000 (13:25 -0400)]
followup and close

21 months agoclose old xmpp bug
Joey Hess [Tue, 22 Oct 2024 17:19:04 +0000 (13:19 -0400)]
close old xmpp bug

21 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 22 Oct 2024 17:04:37 +0000 (13:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

21 months agopondering
Joey Hess [Tue, 22 Oct 2024 15:37:36 +0000 (11:37 -0400)]
pondering

21 months agoadd missing space
Joey Hess [Tue, 22 Oct 2024 15:12:12 +0000 (11:12 -0400)]
add missing space

21 months agoplanning
Joey Hess [Tue, 22 Oct 2024 15:09:47 +0000 (11:09 -0400)]
planning

21 months agoAdded a comment
matrss [Tue, 22 Oct 2024 14:44:10 +0000 (14:44 +0000)]
Added a comment

21 months agoAdded a comment: Re: rclone remote config in special remote
matrss [Tue, 22 Oct 2024 14:13:53 +0000 (14:13 +0000)]
Added a comment: Re: rclone remote config in special remote

21 months agoMerge branch 'master' into streamproxy
Joey Hess [Tue, 22 Oct 2024 13:49:28 +0000 (09:49 -0400)]
Merge branch 'master' into streamproxy