Commit graph

44415 commits

Author SHA1 Message Date
Joey Hess
55bf01b788
add equivilant key log for VURL keys
When downloading a VURL from the web, make sure that the equivilant key
log is populated.

Unfortunately, this does not hash the content while it's being
downloaded from the web. There is not an interface in Backend currently
for incrementally hash generation, only for incremental verification of an
existing hash. So this might add a noticiable delay, and it has to show
a "(checksum...") message. This could stand to be improved.

But, that separate hashing step only has to happen on the first download
of new content from the web. Once the hash is known, the VURL key can have
its hash verified incrementally while downloading except when the
content in the web has changed. (Doesn't happen yet because
verifyKeyContentIncrementally is not implemented yet for VURL keys.)

Note that the equivilant key log file is formatted as a presence log.
This adds a tiny bit of overhead (eg "1 ") per line over just listing the
urls. The reason I chose to use that format is it seems possible that
there will need to be a way to remove an equivilant key at some point in
the future. I don't know why that would be necessary, but it seemed wise
to allow for the possibility.

Downloads of VURL keys from other special remotes that claim urls,
like bittorrent for example, does not popilate the equivilant key log.
So for now, no checksum verification will be done for those.

Sponsored-by: Nicholas Golder-Manning on Patreon
2024-02-29 16:01:49 -04:00
Joey Hess
0f7143d226
support VURL backend
Not yet implemented is recording hashes on download from web and
verifying hashes.

addurl --verifiable option added with -V short option because I
expect a lot of people will want to use this.

It seems likely that --verifiable will become the default eventually,
and possibly rather soon. While old git-annex versions don't support
VURL, that doesn't prevent using them with keys that use VURL. Of
course, they won't verify the content on transfer, and fsck will warn
that it doesn't know about VURL. So there's not much problem with
starting to use VURL even when interoperating with old versions.

Sponsored-by: Joshua Antonishen on Patreon
2024-02-29 13:48:51 -04:00
Joey Hess
8f40e0269b
comment 2024-02-27 13:36:07 -04:00
Joey Hess
90b7c2d93c
fix link 2024-02-27 13:20:24 -04:00
Joey Hess
c2d6c02c27
Added dependency on unbounded-delays
And stop vendoring part of it.

This is a free dependency because tasty depends on it.

Sponsored-by: Leon Schuermann on Patreon
2024-02-27 13:11:59 -04:00
Joey Hess
cf1411fabe
add news item for git-annex 10.20240227 2024-02-27 13:02:23 -04:00
Joey Hess
bee3abab14
releasing package git-annex version 10.20240227 2024-02-27 13:02:17 -04:00
Joey Hess
df7230deac
comment and todo 2024-02-27 12:44:34 -04:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
affeccdb65 2024-02-27 02:23:34 +00:00
Joey Hess
ad8e32c09d
comment 2024-02-26 15:40:37 -04:00
tchen_annex
a7d38febb3 Added a comment: ignore, upgrading to v10.20231227 solved this issue 2024-02-25 17:34:31 +00:00
rmtheis@e3b72add4375d3e9c1b088a2136a3d3822a0d4e8
3bc79d7ac1 2024-02-25 14:24:50 +00:00
rmtheis@e3b72add4375d3e9c1b088a2136a3d3822a0d4e8
ec0c60b976 2024-02-25 14:21:41 +00:00
tchen_annex
a62a897f4b Added a comment: this also fails with encryption=none 2024-02-25 01:08:43 +00:00
tchen_annex
f4ff4ff1ad 2024-02-25 00:55:21 +00:00
Joey Hess
bf2abf3b09
comment 2024-02-22 12:54:16 -04:00
Joey Hess
f7be26d4e3
close 2024-02-22 12:50:12 -04:00
Joey Hess
2b3740e7b4
comment 2024-02-22 12:45:57 -04:00
Joey Hess
891a0076a6
move misplaced bug or todo to a better place 2024-02-22 11:21:39 -04:00
Joey Hess
e041d4b9b5
Merge branch 'master' of ssh://git-annex.branchable.com 2024-02-22 11:19:02 -04:00
Yann Büchau
460406d409
Add logo version with '> git annex' text below 2024-02-22 11:17:08 -04:00
TTTTAAAx
a6355c1b34 Added a comment: Datalad cannot detect submodule path changed on disk 2024-02-22 08:34:47 +00:00
TTTTAAAx
47d3dc70e3 http://git-annex.branchable.com/submodules/#comment-2f017a0f1a13329f4f738568b3eb82ae 2024-02-22 08:28:05 +00:00
lell
6b5730a7a3 Added a comment 2024-02-22 07:49:59 +00:00
lell
d599e1de05 Added a comment: Using fsck is an option? 2024-02-22 07:47:37 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
1716ae7416 Added a comment: Colocating git-annex and git-lfs 2024-02-22 02:55:26 +00:00
matrss
89f30fd213 Added a comment: Multi-line string in WHEREIS-SUCCESS? 2024-02-21 12:29:14 +00:00
tomdhunt
28413f0853 2024-02-20 20:51:03 +00:00
Joey Hess
70cb41028e
Pass --no-warnings to yt-dlp
Notice a warning with -J2 causing git-annex progress output to get slightly
messed up.

Error output would also probably do that, so perhaps it should capture
stderr and only display it when yt-dlp exited nonzero?

This option might also make sense for youtube-dl, I don't have an
installation handy anymore to check.
2024-02-19 18:35:57 -04:00
anarcat
729097ea30 expand on what i feel a tweak could help 2024-02-19 14:21:36 +00:00
anarcat
f182ea517a 2024-02-19 04:07:06 +00:00
nobodyinperson
efc461ff51 Add annextimelog project 2024-02-17 07:40:07 +00:00
yarikoptic
581e8b0661 add openneuro project 2024-02-16 18:39:01 +00:00
Joey Hess
1dd51d37c5
comment 2024-02-16 14:12:06 -04:00
jstritch
372228dfc4 Added a comment 2024-02-16 17:48:55 +00:00
jstritch
d8e426bcd7 removed 2024-02-16 17:26:44 +00:00
lell
d6f92d2e96 Fix typo 2024-02-16 09:25:50 +00:00
lell
9aa99a87a3 2024-02-16 09:25:03 +00:00
yarikoptic
f223051789 Added a comment: a script to hide history 2024-02-15 22:05:12 +00:00
Joey Hess
d7ce073227
Explicitly specify 1.0 Debian source format
This is what has always been used, avoids a build warning.

Using 3.0 (native) would be better, but risks breaking builds that
modify this debian directory. Eg, if someone adds -1 to the version
number, they would also have to change away from native source format.
2024-02-15 13:53:26 -04:00
Joey Hess
a55be6ed0e
update thanks and separate out 2023 name list 2024-02-15 13:24:32 -04:00
nobodyinperson
65839cfbac Suggest cooperating with hellotux.com for git-annex-branded shirts 2024-02-13 19:36:11 +00:00
Joey Hess
3475b09c3e
pre-commit: Avoid committing the git-annex branch
Except when a commit is made in a view, which changes metadata.

Make the assistant commit the git-annex branch after git commit of working
tree changes.

This allows using the annex.commitmessage-command in the assistant to
generate a commit message for the git-annex branch that relies on state
gathered during the commit of the working tree. Eg, it might reuse the
commit message.

Note that, when not using the assistant, a git-annex add still commits
the git-annex branch, so such a annex.commitmessage-command set up would
not work then. But if someone is using the assistant and wants
programmatic control over commit messages, this is useful. Someone not
using the assistant can get the same result by using annex.alwayscommit=false
during the git-annex add, and git-annex merge after they git commit.

pre-commit was never really intended to commit the git-annex branch
(except after recording changed metadata), but the assistant did sort of
rely on it. It does later commit the git-annex branch before pushing to
remotes, but I didn't want to risk building up lots of uncommitted changes
to it if that didn't happen frequently.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
2024-02-12 14:42:11 -04:00
Joey Hess
68e99513f0
added annex.commitmessage-command config
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
2024-02-12 14:35:22 -04:00
Joey Hess
66919bf6ec
comment 2024-02-12 13:04:56 -04:00
yarikoptic
2832714af1 Added a comment 2024-02-11 18:54:45 +00:00
yarikoptic
6c7d7ae719 removed 2024-02-11 18:54:10 +00:00
yarikoptic
9e07eeaef3 Added a comment 2024-02-11 18:50:18 +00:00
Joey Hess
990b7bc3ef
top 2024-02-10 12:50:00 -04:00
Joey Hess
41cad8d9aa
improved approach 2024-02-10 12:24:06 -04:00