This commit is contained in:
Joey Hess 2023-07-31 14:01:33 -04:00
parent d2a87d4a1b
commit a5606f1c43
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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.)
"""]]