On Fri, 20 May 2016 11:40:39 -0400 Michael Orlitzky <m...@gentoo.org> wrote:
> On 05/20/2016 11:34 AM, Daniel Campbell wrote: > > > > ...and the user has this in their install.mask file: > > > > [bash-completion] > > path=/some/other/path > > desc=some other description > > > > I don't think that's allowed; the groups are specified by each > repository's metadata/install-mask.conf, not by the users. > > Although, you can ask the same question about overlays that have > group-name clashes. Is that an error, or would we use the one from the > overlay? Oh, you are correct. Originally I planned to handle that, and I forgot about it. Since there can be multiple paths, we have two options: either override, or amend like systemd does with *.d files. I think the former would be less surprising. Override is simple -- entry from next file overrides previous, and discards all data. Amending is harder. Description from next file overrides former, but paths are appended. But there is special 'path=' (empty) that discards all previous values and starts over. I don't think that's really a good idea for repos. -- Michał Górny
pgprxWKtafXRy.pgp
Description: OpenPGP digital signature