1 |
On Mon, 23 Jan 2017 13:12:19 +0100 |
2 |
Alexis Ballier <aballier@g.o> wrote: |
3 |
|
4 |
> On Mon, 23 Jan 2017 10:23:35 +0100 |
5 |
> Michał Górny <mgorny@g.o> wrote: |
6 |
> |
7 |
> > Hi, everyone. |
8 |
> > |
9 |
> > I've written a short proposal that aims to provide basic |
10 |
> > infrastructure for defining mix-in profiles in Gentoo. I've tried to |
11 |
> > keep it simple, and backwards compatible. The main goal is to be able |
12 |
> > to start defining some mix-ins without having to reinvent the whole |
13 |
> > profile tree. |
14 |
> > |
15 |
> > Most important points: |
16 |
> > |
17 |
> > 1. Mix-ins are applied on top of base profile (which works the same as |
18 |
> > before), |
19 |
> > |
20 |
> > 2. Mix-ins are supported via 'eselect profile' |
21 |
> > replacing /etc/portage/make.profile symlink with a directory, without |
22 |
> > need for Portage patching (this is how Funtoo does it), |
23 |
> > |
24 |
> > 3. Most important mix-ins are used to construct base profiles which |
25 |
> > provides both backwards compatibility and proper targets for repoman |
26 |
> > (to avoid having to check all possible mix-in combinations). |
27 |
> > |
28 |
> > Complete text: |
29 |
> > |
30 |
> > https://wiki.gentoo.org/wiki/User:MGorny/GLEP:Mix-ins |
31 |
> |
32 |
> |
33 |
> Dont we need to restrict what is allowed in mixins profiles ? |
34 |
> It doesn't have to be in the glep, but I think it'd be good to have. |
35 |
|
36 |
At some point, probably yes. I wanted to start with a GLEP to have |
37 |
technical basics, then see how it all works out. I don't consider |
38 |
myself capable of predicting it all right now. |
39 |
|
40 |
> For example, if you allow use.mask or use.force in mixins, you can end |
41 |
> up having unsatisfiable deps that repoman will never catch. |
42 |
> Arguably, desktop profiles relying on having an useflag forced on a |
43 |
> given package are already semi-broken: they'd be better with the |
44 |
> useflag default enabled and proper usedeps, so the mask/force game |
45 |
> doesnt seem really useful for mixins. |
46 |
|
47 |
That's why if you do such a thing, you would have to declare a regular |
48 |
profile using this mix-in for repoman to test. |
49 |
|
50 |
-- |
51 |
Best regards, |
52 |
Michał Górny |
53 |
<http://dev.gentoo.org/~mgorny/> |