Commit graph

45864 commits

Author SHA1 Message Date
Joey Hess
eb714c107b
use 20% less memory when listing unversioned S3 bucket 2024-11-15 13:24:13 -04:00
lell
43a4adda6e 2024-11-15 09:27:28 +00:00
lell
35105a79ed 2024-11-15 09:26:56 +00:00
lell
505f1a7cd9 2024-11-15 09:25:32 +00:00
matrss
6b3920b168 Added a comment 2024-11-15 08:54:07 +00:00
lell
18d1c565be 2024-11-15 08:44:55 +00:00
Joey Hess
cea3dd500a
fixed 2024-11-14 16:16:56 -04:00
Joey Hess
4b87669ae2
S3 use last Key when there is no Marker element
Fix infinite loop and memory blowup when importing from an unversioned S3
bucket that is large enough to need pagination.

I don't think there actually ever will be a Marker element, a delimiter is
not set.

Probably this code path was never tested with pagination! Also the aws
library's lack of any docs made it easy to mess up.

Versioned buckets seem to not have the same problem. The API docs for
ListObjectVersions say that NextKeyMarker will always be provided when
paginating.
2024-11-14 16:12:37 -04:00
Joey Hess
b9b3e1257d
comments 2024-11-14 15:27:00 -04:00
Joey Hess
f724ff0388
comment 2024-11-14 14:20:05 -04:00
Joey Hess
c8ff4a1152
close 2024-11-14 13:55:55 -04:00
Joey Hess
1e17d0ee34
Merge branch 'checkbucketversioning' 2024-11-14 13:52:19 -04:00
Joey Hess
44da423e2e
S3: Send git-annex or other configured User-Agent.
--user-agent is the only way to configure it currently

(Needs aws-0.24.3)
2024-11-13 16:10:37 -04:00
Joey Hess
3f7953869d
fix 2024-11-13 16:02:55 -04:00
Joey Hess
55cd211215
response 2024-11-13 14:42:03 -04:00
Joey Hess
28428524e5
Merge branch 'master' of ssh://git-annex.branchable.com 2024-11-13 14:12:37 -04:00
Joey Hess
0a6ca3c401
comment 2024-11-13 14:12:19 -04:00
yarikoptic
653c5114b9 Added a comment 2024-11-13 18:11:58 +00:00
Joey Hess
0a94273ff8
Merge branch 'master' of ssh://git-annex.branchable.com 2024-11-13 14:09:51 -04:00
Joey Hess
b94221594b
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
876d5b6c6f in that case.
2024-11-13 14:09:24 -04:00
yarikoptic
1c8a5dc586 Added a comment 2024-11-13 18:08:59 +00:00
yarikoptic
593f992e9a Added a comment 2024-11-13 17:57:58 +00:00
Joey Hess
876d5b6c6f
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
2024-11-13 13:43:01 -04:00
Joey Hess
1f59dae0bd
fix link 2024-11-13 12:59:22 -04:00
Joey Hess
646d7e02cc
dotfile 2024-11-13 12:57:54 -04:00
datamanager
6710869043 Added a comment 2024-11-13 00:30:25 +00:00
datamanager
720f5cc494 removed 2024-11-13 00:30:05 +00:00
datamanager
ddd21af807 removed 2024-11-13 00:29:31 +00:00
datamanager
394fa5386d Added a comment 2024-11-13 00:29:14 +00:00
datamanager
18188942f7 Added a comment 2024-11-13 00:29:05 +00:00
svw
941efc99be 2024-11-12 21:18:44 +00:00
yarikoptic
96ab18ab07 initial report on annex import slowing to crawl on dandiarchive/dandisets/ 2024-11-12 20:11:25 +00:00
Joey Hess
fa3e4d0c64
Merge branch 'master' of ssh://git-annex.branchable.com 2024-11-12 14:34:05 -04:00
Joey Hess
2f5ef04bf5
implemented 2024-11-12 14:33:42 -04:00
Joey Hess
a16bf4f914
S3: Support versioning=yes with a readonly bucket.
Needs aws-0.24.3.
2024-11-12 14:32:23 -04:00
Joey Hess
03662e4d83
comments 2024-11-12 14:31:28 -04:00
Stanley
60c2c363ae 2024-11-12 09:08:54 +00:00
yarikoptic
aa8a3ad9c5 Added a comment 2024-11-11 22:18:37 +00:00
yarikoptic
89fecd5dba Added a comment 2024-11-11 22:11:13 +00:00
Joey Hess
e712d30eef
comment 2024-11-11 16:41:50 -04:00
Joey Hess
1e18df9c3a
response 2024-11-11 14:32:44 -04:00
Joey Hess
f84bfdefe6
response 2024-11-11 14:21:44 -04:00
Joey Hess
447e6adabd
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.
2024-11-11 14:15:51 -04:00
Joey Hess
c8e83189f6
close 2024-11-11 13:47:02 -04:00
Joey Hess
79cf5b1a23
test git-remote-annex
The added test case catches the reversion fixed in 700be6c38f
2024-11-11 13:40:59 -04:00
Joey Hess
700be6c38f
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.
2024-11-11 12:42:35 -04:00
Joey Hess
d2f540b1d2
analysis 2024-11-11 12:25:56 -04:00
Joey Hess
a18ec25842
break out new bug report 2024-11-11 12:02:41 -04:00
Joey Hess
b11c61e9db
correct name of createDirectoryUnder in error message 2024-11-11 11:48:23 -04:00
Atemu
db3ad985bd 2024-11-11 06:40:16 +00:00