Commit graph

41269 commits

Author SHA1 Message Date
Joey Hess
3be9aa61e4
comment 2022-02-08 13:11:18 -04:00
Joey Hess
0ae8f45ee5
close wontfix 2022-02-08 13:03:58 -04:00
Joey Hess
f48ac9527b
document another behavior of --auto 2022-02-08 12:22:34 -04:00
Joey Hess
68ddcbb7b8
add a test case for transition propagation
As was fixed in 6992250d63.
It took 2-3 years to notice that bug, so this part of git-annex needs
test cases like this.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
2022-02-07 16:08:06 -04:00
Joey Hess
6992250d63
fix obviously wrong attoparsec parser
takeByteString can only be used at the end of a parser, not before other
input. This was a dumb enough mistake that I audited the rest of the
code base for similar mistakes. Pity that attoparsec cannot avoid it at
the type level.

Fixes git-annex forget propagation between repositories. (reversion
introduced in version 7.20190122)

Sponsored-by: Brock Spratlen on Patreon
2022-02-07 14:15:17 -04:00
Joey Hess
65ca0b49d6
bug report followup 2022-02-07 13:12:14 -04:00
Joey Hess
97c0d6e904
comment 2022-02-07 12:42:27 -04:00
Joey Hess
59f219e2a9
comment 2022-02-07 12:34:00 -04:00
Joey Hess
e0d5c7a389
comment 2022-02-07 12:33:23 -04:00
Joey Hess
697114c234
comment and bug report 2022-02-07 12:27:50 -04:00
Joey Hess
d9b55be624
comment 2022-02-07 12:17:18 -04:00
jonas@ab8487518c600ac0c785f4f6ca641c219f2bcfdc
51f6c6c057 Added a comment 2022-02-06 23:30:17 +00:00
jonas@ab8487518c600ac0c785f4f6ca641c219f2bcfdc
76a1e5cb6c 2022-02-06 23:29:02 +00:00
sh@243262e07058e7517194e54030ce421ae984ea08
74c56e2663 removed 2022-02-04 08:09:20 +00:00
sh@243262e07058e7517194e54030ce421ae984ea08
d6ae059a15 Added a comment 2022-02-04 07:58:55 +00:00
sh@243262e07058e7517194e54030ce421ae984ea08
324992d9cb Added a comment 2022-02-04 07:58:20 +00:00
MatusGoljer1
a10371ae12 2022-02-03 23:28:54 +00:00
jwrauch
f3863f0019 Added a comment 2022-02-02 20:48:56 +00:00
Ilya_Shlyakhter
71b28ca9a0 added question on git-annex memory usage 2022-02-02 16:54:29 +00:00
Joey Hess
46d5098ff4
Pass --no-textconv when running git diff internally
Seems that --no-ext-diff and -c diff.external= are not enough to disable
external diff command when gitattributes textconv specifies it.

I'm pretty sure that --no-ext-diff and -c diff.external= are not both
needed, but not 100%. Something about -G may need the latter to fully
disable diffs in some cases. So kept that part as it was.

Sponsored-by: Dartmouth College's Datalad project
2022-02-01 13:43:18 -04:00
Joey Hess
283c53642f
comment 2022-02-01 13:29:06 -04:00
adina.wagner@2a4cac6443aada2bd2a329b8a33f4a7b87cc8eff
1a9966a14c 2022-02-01 12:27:48 +00:00
jwrauch
486738b14e 2022-01-31 19:41:42 +00:00
Joey Hess
cbf5db9c2d
comment 2022-01-31 13:42:37 -04:00
Joey Hess
b91e9e5830
Merge branch 'master' of ssh://git-annex.branchable.com 2022-01-31 13:36:45 -04:00
Joey Hess
29c3c19fb7
comment 2022-01-31 13:36:32 -04:00
Joey Hess
a32ff6cef0
adb: Avoid find failing with "Argument list too long"
The "+" argument only runs the command once, so is not safe to use. Using
";" instead would have been the simplest fix, but also the slowest.

Since my phone has an xargs that supports -0, I piped find to xargs
instead. Unsure how portable this will be, perhaps some android's don't
have xargs -0 or find -printf to send null terminated output.

The business with pipefail is necessary to make a failure of find cause the
import to fail. Probably this works on all androids, but if not, it will
probably just result in a failure of find being ignored. It would be
possible to make ignorefinderror just disable setting pipefail, but then
if some android has a shell that has pipefail enabled by default, ignorefinderror
would not work, so I kept the || true approach for that.

Sponsored-by: Max Thoursie on Patreon
2022-01-31 13:19:09 -04:00
Joey Hess
8f3d48c5cf
comment 2022-01-31 12:39:54 -04:00
Ilya_Shlyakhter
b0494f8cb6 Added a comment: conda updated 2022-01-31 16:28:52 +00:00
chewie@a4440559aa1bc84271fa9c8ef754e402afbd7d0d
dd82f676b0 2022-01-30 18:14:47 +00:00
amerlyq
f9558108cf Added a comment 2022-01-29 15:59:31 +00:00
Ilya_Shlyakhter
d9203f0691 Added a comment 2022-01-28 19:49:56 +00:00
jbwexler@31214ed76f174318e7628aefcf8404d64627aaaa
b5337252be Added a comment: Thanks! 2022-01-28 14:20:46 +00:00
Joey Hess
4564829789
add news item for git-annex 10.20220127 2022-01-27 14:54:10 -04:00
Joey Hess
e6e60b644b
releasing package git-annex version 10.20220127 2022-01-27 14:53:22 -04:00
Joey Hess
ae8ce7fa3e
improve display of subframes 2022-01-27 14:36:40 -04:00
Joey Hess
f9603dd42a
update 2022-01-27 13:51:16 -04:00
Joey Hess
df6a8476e3
comment 2022-01-27 12:58:36 -04:00
jbwexler@31214ed76f174318e7628aefcf8404d64627aaaa
fd1bc9e2cc 2022-01-26 19:41:13 +00:00
yarikoptic
b019d9ca28 Added a comment: comment regarding "default" version of the repo etc 2022-01-26 18:40:50 +00:00
Joey Hess
0bcb944870
comment 2022-01-26 13:26:55 -04:00
Joey Hess
d8da64ceea
clarify --version behavior on upgrade
eg, git-annex init --version=9 does not use v10 even though v9 can
automatically upgrade to v10, because v9 is a supported version. It's
only unsupported versions that make a newer version be used.
2022-01-26 13:25:01 -04:00
Joey Hess
21e40b86d8
have v9 autoupgrade to v10
This was right before commit a27776f602,
which made v6 v7 autoupgrade to v8 but not yet to v10.

Sponsored-by: Dartmouth College's Datalad project
2022-01-26 13:16:06 -04:00
Joey Hess
835c50966a
reject batch options combined with non-batch options
Reject combinations of --batch (or --batch-keys) with options like --all or
--key or with filenames.

Most commands ignored the non-batch items when batch mode was enabled.

For some reason, addurl and dropkey both processed first the specified
non-batch items, followed by entering batch mode. Changed them to also
error out, for consistency.

Sponsored-by: Dartmouth College's Datalad project
2022-01-26 13:00:19 -04:00
Joey Hess
56a12eb84c
comment 2022-01-26 12:03:16 -04:00
yarikoptic
46143ea795 initial whining about --batch-keys and --all 2022-01-26 14:38:35 +00:00
yarikoptic
c3817495fc Added a comment 2022-01-25 18:37:56 +00:00
Joey Hess
d750fcdb02
comment 2022-01-25 14:03:22 -04:00
yarikoptic
73ea006873 Added a comment 2022-01-25 18:00:17 +00:00
Joey Hess
a27776f602
init --version=6 upgrade to 8 not yet 10
autoUpgradeableVersions had latestVersion (10), but it did not make
sense for asking for old version 6 to get version 10, while asking for
version 8 got version 8. So use defaultVersion (8) instead.

Sponsored-by: Dartmouth College's Datalad project
2022-01-25 13:52:42 -04:00