Commit graph

46967 commits

Author SHA1 Message Date
52d853e83c Inject custom workflow
All checks were successful
/ Generate cabal config for edge (push) Successful in 1m29s
/ Generate cabal config for v3.22 (push) Successful in 1m18s
/ Upload to generic repo (push) Successful in 23s
2025-08-29 16:01:54 +00:00
Joey Hess
18e1efc69d
releasing package git-annex version 10.20250828 2025-08-29 11:43:26 -04:00
Joey Hess
1d51a0b0ad
comments 2025-08-29 11:42:33 -04:00
Joey Hess
06a44093d6
Merge branch 'master' of ssh://git-annex.branchable.com 2025-08-29 11:13:35 -04:00
Joey Hess
3788c48b32
todo 2025-08-29 11:13:29 -04:00
yarikoptic
5771a4c83a initial report from ducky 2025-08-29 14:35:04 +00:00
Joey Hess
fe7ecf5051
prep release 2025-08-28 12:33:44 -04:00
Joey Hess
6b2af3db9e
remove dead code 2025-08-28 12:32:16 -04:00
Joey Hess
68c900f954
remove para about conflicts
That was only ever relevant for the v1 upgrade!
2025-08-27 12:37:07 -04:00
Joey Hess
83edb2cede
reword 2025-08-27 12:33:53 -04:00
Joey Hess
a82d531433
fix test suite breakage
640bc43c38 broke a test. Change that test
to not use encryption=shared. Which required some refactoring.

Sponsored-by: Joshua Antonishen
2025-08-27 12:26:50 -04:00
Joey Hess
63d134300f
Merge branch 'master' of ssh://git-annex.branchable.com 2025-08-27 09:47:19 -04:00
Joey Hess
1589c8908b
improve docs of annex.youtube-dl-options
The options are used whenever yt-dlp is run, not only when finding the
url to download.
2025-08-27 09:42:32 -04:00
Joey Hess
2a0ec700af
remove youtube-dl support, always use yt-dlp
The annex.youtube-dl-command git config is no longer used, git-annex always
runs the yt-dlp command, rather than the old youtube-dl command.

Sponsored-by: Leon Schuermann
2025-08-27 09:29:43 -04:00
Joey Hess
10e5e2e880
Improved error message when yt-dlp is not installed and is needed to get a file from the web 2025-08-27 09:11:49 -04:00
psxvoid
5fd2567a96 2025-08-27 06:46:14 +00:00
yarikoptic
00d64bce36 issue resolved 2025-08-26 12:58:20 +00:00
yarikoptic
e241d08fc2 report on failing test 2025-08-26 11:41:58 +00:00
tbabej
481504db36 Added a comment: Wrong place to post 2025-08-25 22:00:49 +00:00
tbabej
3747eaf2ab 2025-08-25 21:59:30 +00:00
yarikoptic
b58301e876 Added a comment 2025-08-25 21:30:56 +00:00
yarikoptic
6c14dcfcad Added a comment 2025-08-25 16:56:00 +00:00
yarikoptic
a9e146d30b Added a comment 2025-08-25 16:55:33 +00:00
yarikoptic
02df4deead initial report on copy to be stuck 2025-08-25 16:48:56 +00:00
stv0g
4489ea9bc2 Added a comment: Feedback on encryptonlycreds=yes 2025-08-24 11:20:24 +00:00
waldi1985@90ec1a42d21b8182257f7a16ba8b8b08c51a0b6e
2a55bf02f9 Added a comment: Download with the git-annex-install script fail 2025-08-24 11:10:50 +00:00
Lukey
b71f0f2e33 Added a comment 2025-08-23 06:51:16 +00:00
Joey Hess
640bc43c38
reject an insecure configuration
A user might expect onlyencryptcreds=yes to do some useful encryption of
the creds despite using encryption=shared. Prevent them from thinking
they have somehow secured the creds in their repository in that case.

Also reject onlyencryptcreds=yes encryption=none in case the user
somehow thinks there is creds-only encryption going on in that case.

Sponsored-by: Graham Spencer
2025-08-22 13:38:14 -04:00
Joey Hess
70b4220ddf
fix specialRemote confusion with tahoe
tahoe: Fix bug that made initremote require an encryption= parameter,
despite git-annex encryption not being used with this special remote,
since tahoe handles encryption itself.

The chunking parameters were also accepted and won't be any longer either.
They were also not actually used.

c4ea3ca40a was the commit. At that point
specialRemote was being added to most remotes and I forgot tahoe doesn't
need these parameters.

Turns out that, when embedcreds=yes was used, it did *not* cause the
introducer-furl and shared-convergence-secret to be encrypted, even
though encryption= was specified. Which is only not a security hole
because encryption= was not documented to work with the tahoe special
remote at all!

It might be nice to support onlyencryptcreds=yes with tahoe, and it
would make sense to accept the encryption= parameter then, and only use
it for encrypting the creds. That would take some work, since the
encryption= parameter would need to be optional, and the usual encrypted
special remote code couldn't be used.

Sponsored-by: unqueued
2025-08-22 13:24:53 -04:00
Joey Hess
5b0cef467a
don't refer to tahoe daemon
since tahoe no longer supports daemonization
2025-08-22 12:59:44 -04:00
Joey Hess
fe973a4833
error message typo 2025-08-22 12:59:06 -04:00
Joey Hess
79a42a736f
fix disrectory name 2025-08-22 12:58:23 -04:00
Joey Hess
d8127709e3
showOutput
tahoe store and retrieve both output messages which cannot be shut up with
--quiet. The messages go to stderr, which makes it hard to avoid
displaying them without hiding problems. This kinda sucks.

Using showOutput helps with output formatting, but with -J this output
is still scrambled in with the progress output.
2025-08-22 12:54:43 -04:00
Joey Hess
98d4f07057
tahoe: Support tahoe-lafs command versions newer than 1.16
tahoe start was deprecated and removed in 2020.

This feels like a very janky way to run a daemon, but it does work.

Sponsored-by: k0ld
2025-08-22 12:35:53 -04:00
Joey Hess
01c0eeb189
comment 2025-08-21 20:32:10 -04:00
Joey Hess
381a4980cf
reorder 2025-08-21 16:38:00 -04:00
Joey Hess
e27b3b4411
update test suite for change
fd89e611b2 changed the exit code of
git-annex sync which broke the test suite

I'm actually a bit surprised that this test's export works after the
sync fails. huh
2025-08-21 16:35:51 -04:00
Joey Hess
04c39a2df9
add test case for enableremote changing encryption
As fixed in 6b63fb7ea2

Sponsored-by: Brock Spratlen
2025-08-21 16:21:47 -04:00
Joey Hess
bc18b11cb8
prevent changing onlyencryptcreds of existing remote
That would break accessing data already stored in the remote, the same
as changing encryption type would do.

Sponsored-by: Jack Hill
2025-08-21 13:50:39 -04:00
Joey Hess
6b63fb7ea2
Don't allow the type of encryption of an existing special remote to be changed.
eg, git-annex enableremote foo encryption=none will not remove encryption,
and other encryption= settings don't change the type of encryption used.
Either of which would render data stored in a special remote inaccessible.

Probably fixes reversion introduced in
71f78fe45d.
That commit got rid of the hasEncryptionConfig check, which I think would
have detected this before. I've not gone back to verify that.

Sponsored-by: mycroft
2025-08-21 13:41:00 -04:00
Joey Hess
117b520825
Removed support for git versions older than 2.22.
Which fixed an OOM with unlocked files.

Debian oldoldstable is the oldest version of git that git-annex needs to
support, since it's used in the amd64ancient build. That has 2.30.

At this point, the only complication git-annex for an bug in old
versions of git is that git bundle was broken before git 2.31.
That prevents git-remote-annex from working with git 2.30.

Sponsored-by: Luke T. Shumaker
2025-08-21 11:22:59 -04:00
Joey Hess
132f938a92
cleanup too long line 2025-08-21 11:14:19 -04:00
Joey Hess
75be161574
remove git version check for adjusted branch
2686d2d7ea made git older than 2.5 not be
supported, so this check for an older version is not longer needed.

Sponsored-by: Kevin Mueller
2025-08-21 11:12:36 -04:00
Joey Hess
2686d2d7ea
Removed support for git versions older than 2.5.
This entirely removes Git.BuildVersion, which avoids the possibility that
git-annex will behave differently based on the version of git it was built
with, rather than the version it's used with.

Debian oldoldstable is the oldest version of git that git-annex needs to
support, since it's used in the amd64ancient build.

cabal configure will fail if the git version is too old.

Sponsored-by: Nicholas Golder-Manning
2025-08-21 11:04:26 -04:00
Joey Hess
afff2bb47d
onlyencryptcreds=yes
initremote: When onlyencryptcreds=yes is used along with embedcreds=yes,
and encryption is enabled, only encrypt the embedded creds, without
encrypting the content of the special remote.

Useful for exporttree=yes/importtree=yes remotes.

Sponsored-by: Joshua Antonishen
2025-08-20 15:14:01 -04:00
Joey Hess
8122195ac8
bug 2025-08-20 14:58:44 -04:00
Joey Hess
e38afbcd43
bug 2025-08-20 14:35:27 -04:00
Joey Hess
c5bfbe07bc
remove now unused parameters 2025-08-20 14:23:03 -04:00
Joey Hess
dbb207890d
comment 2025-08-20 14:16:29 -04:00
Joey Hess
0f36cd1613
fixed 2025-08-20 13:36:39 -04:00