git-annex.git
3 years agoinitial TODO for making it possible to use find/findref without penalty
yarikoptic [Thu, 15 Dec 2022 01:24:55 +0000 (01:24 +0000)]
initial TODO for making it possible to use find/findref without penalty

3 years agoAdded a comment
yarikoptic [Wed, 14 Dec 2022 19:39:38 +0000 (19:39 +0000)]
Added a comment

3 years ago(no commit message)
nobodyinperson [Tue, 13 Dec 2022 16:16:49 +0000 (16:16 +0000)]

3 years agoAdded a comment: why othertmp to be on the same file system?
yarikoptic [Tue, 13 Dec 2022 14:15:28 +0000 (14:15 +0000)]
Added a comment: why othertmp to be on the same file system?

3 years agofixing formatting
yarikoptic [Mon, 12 Dec 2022 23:11:21 +0000 (23:11 +0000)]
fixing formatting

3 years agoinitial report on annex upgrade too curious about submodules
yarikoptic [Mon, 12 Dec 2022 23:03:33 +0000 (23:03 +0000)]
initial report on annex upgrade too curious about submodules

3 years agoinitial report on nfs test keeps failing
yarikoptic [Mon, 12 Dec 2022 21:23:09 +0000 (21:23 +0000)]
initial report on nfs test keeps failing

3 years ago--metadata lexicographical comparisons
Joey Hess [Mon, 12 Dec 2022 17:33:24 +0000 (13:33 -0400)]
--metadata lexicographical comparisons

Change --metadata comparisons < > <= and >= to fall back to lexicographical
comparisons when one or both values being compared are not numbers.

Sponsored-by: Erik Bjäreholt on Patreon
3 years agoadd news item for git-annex 10.20221212
Joey Hess [Mon, 12 Dec 2022 16:52:20 +0000 (12:52 -0400)]
add news item for git-annex 10.20221212

3 years agoreleasing package git-annex version 10.20221212
Joey Hess [Mon, 12 Dec 2022 16:51:59 +0000 (12:51 -0400)]
releasing package git-annex version 10.20221212

3 years agocomment
Joey Hess [Mon, 12 Dec 2022 16:29:32 +0000 (12:29 -0400)]
comment

3 years agoAdded a comment: xxHash as the backend
ah.nikfal@ad3e37b2c18d5aea546f662a0ba95796d0ef33ed [Mon, 12 Dec 2022 08:21:35 +0000 (08:21 +0000)]
Added a comment: xxHash as the backend

3 years agoAdded a comment: blake3 enhancement
Ilya_Shlyakhter [Sun, 11 Dec 2022 19:25:27 +0000 (19:25 +0000)]
Added a comment: blake3 enhancement

3 years agoAdded a comment: installing custom backend scripts
Ilya_Shlyakhter [Sun, 11 Dec 2022 19:22:17 +0000 (19:22 +0000)]
Added a comment: installing custom backend scripts

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 11 Dec 2022 02:27:01 +0000 (22:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agofix confirmed finally
Joey Hess [Sun, 11 Dec 2022 02:26:44 +0000 (22:26 -0400)]
fix confirmed finally

3 years agocomment
Joey Hess [Fri, 9 Dec 2022 16:18:37 +0000 (12:18 -0400)]
comment

3 years agoAdded a comment: How to use git-annex-backend-XFOO
ah.nikfal@ad3e37b2c18d5aea546f662a0ba95796d0ef33ed [Fri, 9 Dec 2022 12:58:57 +0000 (12:58 +0000)]
Added a comment: How to use git-annex-backend-XFOO

3 years agofix deadlock in restagePointerFiles
Joey Hess [Thu, 8 Dec 2022 18:18:54 +0000 (14:18 -0400)]
fix deadlock in restagePointerFiles

Fix a hang that occasionally occurred during commands such as move.
(A bug introduced in 10.20220927, in
commit 6a3bd283b8af53f810982e002e435c0d7c040c59)

The restage.log was kept locked while running a complex index refresh
action. In an unusual situation, that action could need to write to the
restage log, which caused a deadlock.

The solution is a two-stage process. First the restage.log is moved to a
work file, which is done with the lock held. Then the content of the work
file is read and processed, which happens without the lock being held.
This is all done in a crash-safe manner.

Note that streamRestageLog may not be fully safe to run concurrently
with itself. That's ok, because restagePointerFiles uses it with the
index lock held, so only one can be run at a time.

streamRestageLog does delete the restage.old file at the end without
locking. If a calcRestageLog is run concurrently, it will either see the
file content before it was deleted, or will see it's missing. Either is
ok, because at most this will cause calcRestageLog to report more
work remains to be done than there is.

Sponsored-by: Dartmouth College's Datalad project
3 years agoanalysis
Joey Hess [Wed, 7 Dec 2022 21:36:01 +0000 (17:36 -0400)]
analysis

3 years agocomment
Joey Hess [Wed, 7 Dec 2022 18:30:33 +0000 (14:30 -0400)]
comment

3 years agospeed up --pattern
Joey Hess [Wed, 7 Dec 2022 17:46:16 +0000 (13:46 -0400)]
speed up --pattern

The splitting of the tests into parts for parallelism made --pattern
do extra work, because init tests have to be run for each part, but
many of the parts are empty.

For example, git-annex test --pattern '/move (ssh remote)/'
took 12 seconds to run before. This improves the runtime to 4 seconds.

Sponsored-by: Dartmouth College's Datalad project
3 years agocomment
Joey Hess [Wed, 7 Dec 2022 17:00:29 +0000 (13:00 -0400)]
comment

3 years agocomment
Joey Hess [Wed, 7 Dec 2022 16:36:58 +0000 (12:36 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 7 Dec 2022 16:32:39 +0000 (12:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years ago(no commit message)
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b [Wed, 7 Dec 2022 14:46:39 +0000 (14:46 +0000)]

3 years agoline breaks
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b [Wed, 7 Dec 2022 14:45:36 +0000 (14:45 +0000)]
line breaks

3 years agointroduce myself
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b [Wed, 7 Dec 2022 14:43:00 +0000 (14:43 +0000)]
introduce myself

3 years agoAdded a comment: keep me posted by email please
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b [Wed, 7 Dec 2022 14:40:52 +0000 (14:40 +0000)]
Added a comment: keep me posted by email please

3 years ago(no commit message)
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b [Wed, 7 Dec 2022 14:39:29 +0000 (14:39 +0000)]

3 years ago(no commit message)
nobodyinperson [Tue, 6 Dec 2022 06:52:34 +0000 (06:52 +0000)]

3 years agoupdate
Joey Hess [Mon, 5 Dec 2022 23:42:14 +0000 (19:42 -0400)]
update

3 years agoAdded a comment
yarikoptic [Mon, 5 Dec 2022 18:08:03 +0000 (18:08 +0000)]
Added a comment

3 years agocomment
Joey Hess [Mon, 5 Dec 2022 17:54:18 +0000 (13:54 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 5 Dec 2022 17:48:40 +0000 (13:48 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agocomment
Joey Hess [Mon, 5 Dec 2022 17:30:05 +0000 (13:30 -0400)]
comment

3 years agoAdded a comment
kanak@3c4f6e7d832d88751c617b25bdbac896417eb93b [Sun, 4 Dec 2022 17:40:38 +0000 (17:40 +0000)]
Added a comment

3 years ago(no commit message)
kanak@3c4f6e7d832d88751c617b25bdbac896417eb93b [Sun, 4 Dec 2022 17:35:45 +0000 (17:35 +0000)]

3 years agobugs/blake3_hash_support: *not* familiar enough, oops
edef [Fri, 2 Dec 2022 12:58:58 +0000 (12:58 +0000)]
bugs/blake3_hash_support: *not* familiar enough, oops

3 years agosubmit BLAKE3 patch
edef [Fri, 2 Dec 2022 12:57:48 +0000 (12:57 +0000)]
submit BLAKE3 patch

3 years ago(no commit message)
nobodyinperson [Fri, 2 Dec 2022 12:00:35 +0000 (12:00 +0000)]

3 years ago(no commit message)
nobodyinperson [Fri, 2 Dec 2022 11:57:40 +0000 (11:57 +0000)]

3 years ago(no commit message)
nobodyinperson [Fri, 2 Dec 2022 11:56:02 +0000 (11:56 +0000)]

3 years agoAdded a comment
agschaid [Thu, 1 Dec 2022 21:12:11 +0000 (21:12 +0000)]
Added a comment

3 years agoAdded a comment
Lukey [Thu, 1 Dec 2022 20:49:36 +0000 (20:49 +0000)]
Added a comment

3 years ago(no commit message)
agschaid [Thu, 1 Dec 2022 17:48:44 +0000 (17:48 +0000)]

3 years agoadd removal of metadata fields
nobodyinperson [Thu, 1 Dec 2022 12:57:05 +0000 (12:57 +0000)]
add removal of metadata fields

3 years ago(no commit message)
nobodyinperson [Wed, 30 Nov 2022 16:18:36 +0000 (16:18 +0000)]

3 years agoAdded a comment
yarikoptic [Tue, 29 Nov 2022 22:25:43 +0000 (22:25 +0000)]
Added a comment

3 years agocomment
Joey Hess [Tue, 29 Nov 2022 21:58:59 +0000 (17:58 -0400)]
comment

3 years agoAdded a comment
cnjr2 [Tue, 29 Nov 2022 16:53:39 +0000 (16:53 +0000)]
Added a comment

3 years agoAdded a comment: found related bug
cnjr2 [Tue, 29 Nov 2022 16:51:44 +0000 (16:51 +0000)]
Added a comment: found related bug

3 years agocomment
Joey Hess [Tue, 29 Nov 2022 16:49:09 +0000 (12:49 -0400)]
comment

3 years agoexplanss and close
Joey Hess [Tue, 29 Nov 2022 16:46:59 +0000 (12:46 -0400)]
explanss and close

3 years ago(no commit message)
cnjr2 [Tue, 29 Nov 2022 12:29:42 +0000 (12:29 +0000)]

3 years agoAdded a comment: Found unlock
Spellbind8200 [Tue, 29 Nov 2022 09:05:43 +0000 (09:05 +0000)]
Added a comment: Found unlock

3 years ago(no commit message)
Spellbind8200 [Tue, 29 Nov 2022 02:18:38 +0000 (02:18 +0000)]

3 years agotest: Add --test-debug option
Joey Hess [Mon, 28 Nov 2022 19:12:53 +0000 (15:12 -0400)]
test: Add --test-debug option

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.

3 years agocomment
Joey Hess [Mon, 28 Nov 2022 18:07:35 +0000 (14:07 -0400)]
comment

3 years ago(no commit message)
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Thu, 24 Nov 2022 07:11:26 +0000 (07:11 +0000)]

3 years agoinitial report on stalled test
yarikoptic [Wed, 23 Nov 2022 03:15:51 +0000 (03:15 +0000)]
initial report on stalled test

3 years agoclose dup with comment
Joey Hess [Mon, 21 Nov 2022 19:13:21 +0000 (15:13 -0400)]
close dup with comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 21 Nov 2022 19:10:03 +0000 (15:10 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoSupport parsing yt-dpl output to display download progress
Joey Hess [Mon, 21 Nov 2022 19:04:36 +0000 (15:04 -0400)]
Support parsing yt-dpl output to display download progress

Before this fix, no progress was displayed when yt-dpl was used.

Sponsored-by: Graham Spencer on Patreon
3 years agoWhen youtube-dl is not available in PATH, use yt-dlp instead
Joey Hess [Mon, 21 Nov 2022 18:39:26 +0000 (14:39 -0400)]
When youtube-dl is not available in PATH, use yt-dlp instead

Debian is going to drop youtube-dl which is not active upstream, and yt-dlp
is the replacement. This will make it be used if youtube-dl gets removed.

If an old version of youtube-dl remains installed, git-annex will still use
it. That might not be desirable, but changing git-annex to use yt-dlp in
preference to youtube-dl when both are installed risks breaking when
the user has annex.youtube-dl-options set to something that is supported
by youtube-dl, but not by yt-dlp.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
3 years agoAdd my name for better comunication
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb [Fri, 18 Nov 2022 22:05:07 +0000 (22:05 +0000)]
Add my name for better comunication

3 years agoAdd another reflink support request
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb [Fri, 18 Nov 2022 22:02:20 +0000 (22:02 +0000)]
Add another reflink support request

3 years agoupdate
Joey Hess [Fri, 18 Nov 2022 20:23:20 +0000 (16:23 -0400)]
update

3 years agomore benchmarking work
Joey Hess [Fri, 18 Nov 2022 19:54:06 +0000 (15:54 -0400)]
more benchmarking work

3 years agodon't frontload reconcileStaged in git-annex init
Joey Hess [Fri, 18 Nov 2022 17:58:35 +0000 (13:58 -0400)]
don't frontload reconcileStaged in git-annex init

init: Avoid scanning for annexed files, which can be lengthy in a
large repository. Instead that scan is done on demand. This lets git-annex
init be run and some query commands be used in a repository without
waiting.

Note that autoinit already behaved this way, so while this will mean some
commands like git-annex get/unlock/add will do the scan the first time run,
that is not really a significant behavior change.

And, it's really better to have a consistent behavior. The reason for
the inconsistency was a strange bug discussed in
b3c4579c7907147a496bdf2c73b42238d8b239d6. Avoiding reconcileStaged in
init will keep avoiding whatever that was.

Sponsored-by: Dartmouth College's DANDI project
3 years agoqueue more changes to keys db
Joey Hess [Fri, 18 Nov 2022 17:29:34 +0000 (13:29 -0400)]
queue more changes to keys db

Increasing the size of the queue 10x makes git-annex init 7% faster in a
repository with 86000 annexed files.

The memory use goes up, from 70876 kb to 85376 kb.

3 years agoSped up the initial scanning for annexed files by 15%
Joey Hess [Fri, 18 Nov 2022 17:16:57 +0000 (13:16 -0400)]
Sped up the initial scanning for annexed files by 15%

Avoids database querying overhead when the database is newly created.

In the large repository where git-annex init took 24 seconds, this sped it
up to 20.47 seconds, a speedup of around 15%.

Sponsored-by: Dartmouth College's DANDI project
3 years agoupdate changelog
Joey Hess [Fri, 18 Nov 2022 16:58:13 +0000 (12:58 -0400)]
update changelog

3 years agonew metric prefixes give us quettabyte and yottabyte
Joey Hess [Fri, 18 Nov 2022 16:03:12 +0000 (12:03 -0400)]
new metric prefixes give us quettabyte and yottabyte

There does not yet seem to be an update to IEC 80000-13, so no
robibyte or quebibyte yet.

Sponsored-by: k0ld on Patreon
3 years agoprofiling and performance
Joey Hess [Thu, 17 Nov 2022 20:47:51 +0000 (16:47 -0400)]
profiling and performance

3 years agoclose as git-annex already makes reflinks when supported
Joey Hess [Mon, 14 Nov 2022 17:29:27 +0000 (13:29 -0400)]
close as git-annex already makes reflinks when supported

3 years agocomment
Joey Hess [Mon, 14 Nov 2022 17:24:30 +0000 (13:24 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 14 Nov 2022 17:09:10 +0000 (13:09 -0400)]
comment

3 years agodocument that sync --cleanup only deletes branches
Joey Hess [Mon, 14 Nov 2022 17:00:22 +0000 (13:00 -0400)]
document that sync --cleanup only deletes branches

3 years agocomment
Joey Hess [Mon, 14 Nov 2022 16:59:57 +0000 (12:59 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 14 Nov 2022 16:04:51 +0000 (12:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agorevert change to use lts-19.32
Joey Hess [Mon, 14 Nov 2022 15:56:55 +0000 (11:56 -0400)]
revert change to use lts-19.32

This reverts commit 15dd7fe84b2aa13531c80adb00efa82469724845.

aws 0.23 is not used any longer, so read-only S3 import won't be
supported yet when building with stack.

That commit broke the build on windows, because the new version of Win32 that
was included (because the old one does not work with this lts version)
needs a version of filepath that is newer than the one bundled with the
ghc in that lts version. It is not possible to override that to a newer
filepath.

Seems that the only solution to get aws 0.23 will be to wait for a ghc that
contains filepath 1.4.100.0. No ghc yet contains it. (Backporting the Win32
fix to a point release version that does not include this bleeding edge
filepath would also resolve it, but seems unlikely to happen.)

Sponsored-by: Jarkko Kniivilä on Patreon
3 years agoadd macos reflink to comment
Lena Wildervanck [Sun, 13 Nov 2022 19:20:03 +0000 (20:20 +0100)]
add macos reflink to comment

3 years agoAdded a comment
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb [Sun, 13 Nov 2022 19:03:49 +0000 (19:03 +0000)]
Added a comment

3 years ago(no commit message)
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb [Sun, 13 Nov 2022 15:42:14 +0000 (15:42 +0000)]

3 years agoAdded a comment
pat [Sat, 12 Nov 2022 02:50:07 +0000 (02:50 +0000)]
Added a comment

3 years ago(no commit message)
pat [Sat, 12 Nov 2022 02:14:44 +0000 (02:14 +0000)]

3 years ago(no commit message)
pat [Fri, 11 Nov 2022 22:46:11 +0000 (22:46 +0000)]

3 years agoAdded a comment
amindfv@97236fbaab6048ce6805b2737b27dd7f1cd51da4 [Thu, 10 Nov 2022 21:29:33 +0000 (21:29 +0000)]
Added a comment

3 years ago(no commit message)
amindfv@97236fbaab6048ce6805b2737b27dd7f1cd51da4 [Thu, 10 Nov 2022 08:50:41 +0000 (08:50 +0000)]

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 9 Nov 2022 20:29:16 +0000 (16:29 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoexport: fix multi-file delete bug
Joey Hess [Wed, 9 Nov 2022 20:24:37 +0000 (16:24 -0400)]
export: fix multi-file delete bug

export: Fix a bug that left a file on a special remote when two files with
the same content were both deleted in the exported tree.

Case of the wrong data structure leading to the wrong result.
The DiffMap now contains all the old filenames, and all the new filenames.

Note that, when 2 files with the same content are both renamed,
it only renames the first, but deletes and re-exports the second.
Improving that is possible, but it would need to use a different temporary
filename. Anyway, that is an unusual case, and there are known to be other
unusual cases where export does not rename with maximum efficiency, IIRC.
(Or maybe this is the case that I remember?)

Sponsored-by: Dartmouth College's OpenNeuro project
3 years agoAdded a comment
nell@7201fe78ade251118ef3441f4e509b37cd836503 [Wed, 9 Nov 2022 19:51:20 +0000 (19:51 +0000)]
Added a comment

3 years agoanalysis
Joey Hess [Wed, 9 Nov 2022 19:46:14 +0000 (15:46 -0400)]
analysis

3 years agofix build warning
Joey Hess [Wed, 9 Nov 2022 19:33:46 +0000 (15:33 -0400)]
fix build warning

3 years agocomment and retitle
Joey Hess [Wed, 9 Nov 2022 19:18:28 +0000 (15:18 -0400)]
comment and retitle

3 years agocomment
Joey Hess [Wed, 9 Nov 2022 19:14:28 +0000 (15:14 -0400)]
comment

3 years agoclose
Joey Hess [Wed, 9 Nov 2022 18:32:14 +0000 (14:32 -0400)]
close

3 years agostack.yaml: Updated to lts-19.32
Joey Hess [Wed, 9 Nov 2022 18:29:00 +0000 (14:29 -0400)]
stack.yaml: Updated to lts-19.32

This allows building with aws-0.23

Win32-2.13.4.0 contains a function that is not in lts-19.32 yet. Adding
it to stack.yaml does not seem to cause problems when building on linux.

3 years agorevert change to use aws 0.23 in stack.yaml files
Joey Hess [Wed, 9 Nov 2022 17:53:24 +0000 (13:53 -0400)]
revert change to use aws 0.23 in stack.yaml files

broke the build