git-annex.git
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 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

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

3 years agoremove dangling where clause
Joey Hess [Wed, 9 Nov 2022 17:25:05 +0000 (13:25 -0400)]
remove dangling where clause

3 years agoreplace guessed win32 version with actual version 2.13.4.0
Joey Hess [Wed, 9 Nov 2022 17:08:27 +0000 (13:08 -0400)]
replace guessed win32 version with actual version 2.13.4.0

3 years agoAdding S3 special remote export bug report
nell@7201fe78ade251118ef3441f4e509b37cd836503 [Tue, 8 Nov 2022 22:37:14 +0000 (22:37 +0000)]
Adding S3 special remote export bug report

3 years agoreport on troubles with aws-0.23 and stack builds
jkniiv [Tue, 8 Nov 2022 11:36:21 +0000 (11:36 +0000)]
report on troubles with aws-0.23 and stack builds

3 years agoavoid splitting repo tests into too small parts around -J16
Joey Hess [Mon, 7 Nov 2022 18:44:51 +0000 (14:44 -0400)]
avoid splitting repo tests into too small parts around -J16

The initTests have to be run once per part, and a point of diminishing
returns can be reached where more work is being done to set up for 1 or
2 tests than to run them.

This is better than a hard cap of -J8 or so, because it lets other
things than these particular tests still be parallelized at -J16.

Sponsored-by: Dartmouth College's Datalad project
3 years agocoment
Joey Hess [Mon, 7 Nov 2022 18:28:55 +0000 (14:28 -0400)]
coment

3 years agofollowup
Joey Hess [Mon, 7 Nov 2022 16:26:04 +0000 (12:26 -0400)]
followup

3 years agoinitial report on stalling test
yarikoptic [Mon, 7 Nov 2022 14:31:55 +0000 (14:31 +0000)]
initial report on stalling test

3 years ago(no commit message)
xloem [Mon, 7 Nov 2022 10:33:22 +0000 (10:33 +0000)]

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

3 years agodone
Joey Hess [Fri, 4 Nov 2022 20:20:51 +0000 (16:20 -0400)]
done

3 years agocomplete support for S3 signature=anonymous
Joey Hess [Fri, 4 Nov 2022 19:42:43 +0000 (15:42 -0400)]
complete support for S3 signature=anonymous

aws-0.23 has been released.

When built with an older aws, initremote will error out when run
with signature=anonymous. And when a remote has been initialized with
that by a version of git-annex that does support it, older versions will
fail when the remote is accessed, with a useful error message.

Sponsored-by: Dartmouth College's DANDI project
3 years agorevert demo changes to stack.yaml
Joey Hess [Fri, 4 Nov 2022 19:11:53 +0000 (15:11 -0400)]
revert demo changes to stack.yaml

done to test aws before releasing it

3 years agoMerge branch 'master' into anons3
Joey Hess [Fri, 4 Nov 2022 19:08:29 +0000 (15:08 -0400)]
Merge branch 'master' into anons3

3 years agoAdded a comment
yarikoptic [Fri, 4 Nov 2022 12:41:47 +0000 (12:41 +0000)]
Added a comment

3 years agofix build of helper program
Joey Hess [Thu, 3 Nov 2022 18:11:49 +0000 (14:11 -0400)]
fix build of helper program

broken by ba7ecbc6a9c3763e8152e4f46522d14a4ee2b59d

Sponsored-by: Svenne Krap on Patreon
3 years agoadd news item for git-annex 10.20221103
Joey Hess [Thu, 3 Nov 2022 18:08:29 +0000 (14:08 -0400)]
add news item for git-annex 10.20221103

3 years agoreleasing package git-annex version 10.20221103
Joey Hess [Thu, 3 Nov 2022 18:07:53 +0000 (14:07 -0400)]
releasing package git-annex version 10.20221103

3 years agocomment, update tip
Joey Hess [Mon, 31 Oct 2022 16:16:36 +0000 (12:16 -0400)]
comment, update tip

3 years agoAdded a comment: ipfs
xloem [Mon, 31 Oct 2022 13:36:51 +0000 (13:36 +0000)]
Added a comment: ipfs

3 years agoAdded a comment: This guide fails with "fatal: refusing to merge unrelated histories"
Stefan [Sat, 29 Oct 2022 10:28:19 +0000 (10:28 +0000)]
Added a comment: This guide fails with "fatal: refusing to merge unrelated histories"

3 years agofix build warning
Joey Hess [Thu, 27 Oct 2022 14:21:24 +0000 (10:21 -0400)]
fix build warning

3 years agoMake git-annex enable-tor work when using the linux standalone build
Joey Hess [Wed, 26 Oct 2022 19:44:06 +0000 (15:44 -0400)]
Make git-annex enable-tor work when using the linux standalone build

Clean the standalone environment before running the su command
to run "sh". Otherwise, PATH leaked through, causing it to run
git-annex.linux/bin/sh, but GIT_ANNEX_DIR was not set,
which caused that script to not work:

[2022-10-26 15:07:02.145466106] (Utility.Process) process [938146] call: pkexec ["sh","-c","cd '/home/joey/tmp/git-annex.linux/r' && '/home/joey/tmp/git-annex.linux/git-annex' 'enable-tor' '1000'"]
/home/joey/tmp/git-annex.linux/bin/sh: 4: exec: /exe/sh: not found

Changed programPath to not use GIT_ANNEX_PROGRAMPATH,
but instead run the scripts at the top of GIT_ANNEX_DIR.
That works both when the standalone environment is set up, and when it's
not.

Sponsored-by: Kevin Mueller on Patreon
3 years agocomment
Joey Hess [Wed, 26 Oct 2022 18:54:38 +0000 (14:54 -0400)]
comment

3 years agouse lookupKeyStaged in --batch code paths
Joey Hess [Wed, 26 Oct 2022 18:23:06 +0000 (14:23 -0400)]
use lookupKeyStaged in --batch code paths

Make --batch mode handle unstaged annexed files consistently whether the
file is unlocked or not. Before this, a unstaged locked file
would have the symlink on disk examined and operated on in --batch mode,
while an unstaged unlocked file would be skipped.

Note that, when not in batch mode, unstaged files are skipped over too.
That is actually somewhat new behavior; as late as 7.20191114 a
command like `git-annex whereis .` would operate on unstaged locked
files and skip over unstaged unlocked files. That changed during
optimisation of CmdLine.Seek with apparently little fanfare or notice.

Turns out that rmurl still behaved that way when given an unstaged file
on the command line. It was changed to use lookupKeyStaged to
handle its --batch mode. That also affected its non-batch mode, but
since that's just catching up to the change earlier made to most
other commands, I have not mentioed that in the changelog.

It may be that other uses of lookupKey should also change to
lookupKeyStaged. But it may also be that would slow down some things,
or lead to unwanted behavior changes, so I've kept the changes minimal
for now.

An example of a place where the use of lookupKey is better than
lookupKeyStaged is in Command.AddUrl, where it looks to see if the file
already exists, and adds the url to the file when so. It does not matter
there whether the file is staged or not (when it's locked). The use of
lookupKey in Command.Unused likewise seems good (and faster).

Sponsored-by: Nicholas Golder-Manning on Patreon
3 years agoremove whenAnnexed and ifAnnexed
Joey Hess [Wed, 26 Oct 2022 17:58:20 +0000 (13:58 -0400)]
remove whenAnnexed and ifAnnexed

In preparation for adding a new variation on lookupKey.

Sponsored-by: Max Thoursie on Patreon
3 years agocomment
Joey Hess [Wed, 26 Oct 2022 16:58:10 +0000 (12:58 -0400)]
comment