From: Joey Hess Date: Mon, 31 Jul 2023 18:01:33 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~36^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a5606f1c43fd9076ce617474455077e4b5675a53;p=git-annex.git comment --- diff --git a/doc/todo/onlyingroup_preferred_content_expression/comment_3_8f205160e62aa1312b8e2ef4cafe8c50._comment b/doc/todo/onlyingroup_preferred_content_expression/comment_3_8f205160e62aa1312b8e2ef4cafe8c50._comment new file mode 100644 index 0000000000..ba44f2af00 --- /dev/null +++ b/doc/todo/onlyingroup_preferred_content_expression/comment_3_8f205160e62aa1312b8e2ef4cafe8c50._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2023-07-31T17:51:00Z" + content=""" +Another way to look at this is that preffered content allows expressing +`copies=offline:1`, but there's no way to express a match on the +number of copies that are in repositories that are not in the offline group. + +That might be expressed as say, `copies=!offline:1` + +Then `not copies=!offline:1` would be useful to only want files that are +available in some repository that is not offline. + +This would avoid the question of what to do with onlyingroup when a +repository is in the specified group but also another one. + +I really don't like the `copies=!offline:1` syntax though. (I already +disliked copies=group:n` and this takes it in an even worse direction.) +"""]]