On Mon, 23 Jan 2017 10:23:35 +0100
Michał Górny <mgo...@gentoo.org> wrote:

> Hi, everyone.
> 
> I've written a short proposal that aims to provide basic
> infrastructure for defining mix-in profiles in Gentoo. I've tried to
> keep it simple, and backwards compatible. The main goal is to be able
> to start defining some mix-ins without having to reinvent the whole
> profile tree.
> 
> Most important points:
> 
> 1. Mix-ins are applied on top of base profile (which works the same as
> before),
> 
> 2. Mix-ins are supported via 'eselect profile'
> replacing /etc/portage/make.profile symlink with a directory, without
> need for Portage patching (this is how Funtoo does it),
> 
> 3. Most important mix-ins are used to construct base profiles which
> provides both backwards compatibility and proper targets for repoman
> (to avoid having to check all possible mix-in combinations).
> 
> Complete text:
> 
> https://wiki.gentoo.org/wiki/User:MGorny/GLEP:Mix-ins


Dont we need to restrict what is allowed in mixins profiles ?
It doesn't have to be in the glep, but I think it'd be good to have.


For example, if you allow use.mask or use.force in mixins, you can end
up having unsatisfiable deps that repoman will never catch.
Arguably, desktop profiles relying on having an useflag forced on a
given package are already semi-broken: they'd be better with the
useflag default enabled and proper usedeps, so the mask/force game
doesnt seem really useful for mixins.


It'd also be great to have "rules" ensuring all mixins commute, but I
doubt that's easily doable.

Reply via email to