Commit graph

31854 commits

Author SHA1 Message Date
Joey Hess
b2d2711ba1
remove explicit-setup-deps
This has not been needed since stack <1.4.0, and even the i386ancent
build uses stack 2.1.1.

Stack 2.7.5 seems to have forgotten about this old config and warns
about it, so this avoids that warning.

The libtinfo-dev was added to the docs at the same time, I assume it is
also not necessary.
2022-07-29 17:34:13 -04:00
Joey Hess
29f6b19525
fix pagespec 2022-07-29 13:00:19 -04:00
Joey Hess
d8f94389e1
comment 2022-07-29 12:38:52 -04:00
Joey Hess
d15fe4285f
find does not support --batch-keys
It was added to the man page in error.
2022-07-29 12:34:22 -04:00
Joey Hess
08be64b6f6
comment 2022-07-29 12:30:33 -04:00
ceramic_glass
10d051f49d Added a comment 2022-07-29 08:08:33 +00:00
Dan
d04553fdc4 Added a comment: Re: Confirming all annexed files exist elsewhere? 2022-07-28 23:20:03 +00:00
Joey Hess
e3544abc71
Merge branch 'master' of ssh://git-annex.branchable.com 2022-07-28 13:47:27 -04:00
Ilya_Shlyakhter
b14270e0fe Added a comment: Re: "Confirming all annexed files exist elsewhere?" 2022-07-28 17:40:20 +00:00
Joey Hess
be19a68276
new matching options --want-get-by and --want-drop-by
Sponsored-by: Graham Spencer on Patreon
2022-07-28 13:26:03 -04:00
Joey Hess
2bb42fa003
comment 2022-07-28 12:15:07 -04:00
Joey Hess
c8a2752345
comment 2022-07-28 12:07:30 -04:00
ceramic_glass
7ec949e0fc 2022-07-28 00:23:44 +00:00
Dan Kessler
887a039194 update comment about updating comments :) 2022-07-27 19:29:43 -04:00
Dan Kessler
2f0620a917 fix up comment 2022-07-27 19:26:10 -04:00
Dan
f79cd648de Added a comment: Confirming all annexed files exist elsewhere? 2022-07-27 16:35:22 +00:00
kdm9
11f7e68e16 Added a comment: Bump for --want-get/drop-by 2022-07-26 18:19:37 +00:00
Joey Hess
d905232842
use ResourcePool for hash-object handles
Avoid starting an unncessary number of git hash-object processes when
concurrency is enabled.

Sponsored-by: Dartmouth College's DANDI project
2022-07-25 17:32:39 -04:00
Joey Hess
b1c49c373a
analysis 2022-07-25 17:03:24 -04:00
Joey Hess
d4b2c4a3fe
comment and fix my incorrect earlier comment 2022-07-25 16:30:22 -04:00
Joey Hess
e551935114
Merge branch 'master' of ssh://git-annex.branchable.com 2022-07-25 16:23:52 -04:00
Joey Hess
63cef2ae0b
v8 repositories automatically upgrade to v9
(And v9 later on to v10.)

When v9/v10 were added, making v8 automatically upgrade was deferred
"for a few months" to prevent interoperability problems if users also
have an old version of git-annex. Of course that could still be the
case, but there has been a good amount of time and this can't be put off
forever.

Allow setting annex.autoupgraderepository to false to avoid this upgrade.
Previously, that only prevented upgrades from no longer supported git-annex
versions, but v8 is still supported, and users may want to keep on v8 to
interoperate with an old git-annex version.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
2022-07-25 16:20:04 -04:00
yarikoptic
afa4f3c3da initial report on hash-object's 2022-07-25 19:17:37 +00:00
yarikoptic
dfa8298f46 Added a comment 2022-07-25 19:03:42 +00:00
Joey Hess
0ffb860981
add news item for git-annex 10.20220724 2022-07-25 14:07:37 -04:00
Joey Hess
05cae5801a
comment 2022-07-25 12:54:31 -04:00
Joey Hess
7f77405f60
comment 2022-07-25 12:50:56 -04:00
Joey Hess
7e4ee80e9a
comment 2022-07-25 12:35:58 -04:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
43898dfbcd Added a comment 2022-07-25 07:52:39 +00:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
8415f285b8 removed 2022-07-25 07:20:13 +00:00
yarikoptic
b40ac7af3d Added a comment 2022-07-24 16:52:33 +00:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
c0eac8cce6 Added a comment 2022-07-24 16:16:35 +00:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
3486a4d370 2022-07-23 15:24:06 +00:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
be2d1ab18d Added a comment 2022-07-23 08:48:17 +00:00
drunken_sapo
0e43461ea2 Added a comment: Confirmed your suspiction 2022-07-23 02:28:18 +00:00
Atemu
d73b2d307c Added a comment 2022-07-22 23:47:19 +00:00
Joey Hess
e1de941b2c
close git bug that I reported to git mailing list 2022-07-22 13:24:24 -04:00
Joey Hess
591e87f1f2
reproduced 2022-07-22 12:24:42 -04:00
Joey Hess
162c8cdec0
comment 2022-07-22 11:59:15 -04:00
Joey Hess
2de61f2e5a
comment 2022-07-22 11:38:33 -04:00
jkniiv
3d105f44bb Added a comment 2022-07-21 20:08:55 +00:00
yarikoptic
152f82796a Added a comment 2022-07-21 14:03:56 +00:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
113ccfcc32 Added a comment: Happens only when core.untrackedCache=true 2022-07-21 08:23:04 +00:00
Joey Hess
27e0108097
comment 2022-07-20 13:51:26 -04:00
Joey Hess
03ce01dcf9
comment 2022-07-20 13:44:24 -04:00
Joey Hess
8b4f7af605
Merge branch 'master' of ssh://git-annex.branchable.com 2022-07-20 13:34:37 -04:00
Joey Hess
a0746d2027
fixed 2022-07-20 13:32:26 -04:00
Joey Hess
05b96a1acf
Merge branch 'append' 2022-07-20 13:24:04 -04:00
Joey Hess
4e88137a28
prevent appends except when annex.alwayscompact=false
I would like for a new repo version to enable appends, but to do so
safely would need a v11 followed by a 1 year delay followed by a v12
that does it. Since a similar v9 and v10 transition is currently
happening, and is less than 6 months along in most repos, it does not
feel wise to stack up another year-long transition behind that. What if
I need to hurry up a new repo version for some other change?

Added todo so I remember to make this change at some time when a v11
and probably v12 repo version do make sense.

Sponsored-by: Dartmouth College's DANDI project
2022-07-20 13:23:55 -04:00
Joey Hess
d275874e6c
handling of interrupted appends
An append that is interrupted and writes part of a line is now dealt
with by subsequent reads and appends. This also handles a read that
happens at the same time as an append to the file.

Old versions of git-annex will still see a partially written line,
and could get confused. Since appends are currently done for url logs
and location logs, the confusion is limited to a substring of the actual
url or UUID of the remote being read. This will not affect writes, since
the journal file is locked when reading in preparation for writing.
However, the bad data can be output by git-annex and used by other
things, or could cause surprising behavior by git-annex. Including eg,
downloading the content of the wrong url.

So, something needs to be done to prevent old versions of git-annex from
running in a repository where this appending is being done..

Sponsored-by: Dartmouth College's DANDI project
2022-07-20 12:40:49 -04:00