1 |
>>>>> On Fri, 20 May 2016, Michał Górny wrote: |
2 |
|
3 |
> Sometime around a year ago, I started working on extending |
4 |
> INSTALL_MASK to support well-defined locations. The work was never |
5 |
> finished, and I just found my old specification for it. I've cleaned |
6 |
> it up a bit, and extended it into a complete GLEP covering |
7 |
> INSTALL_MASK [1]. |
8 |
|
9 |
> Please review the specification provided. The basic goal is to |
10 |
> provide an ability to use INSTALL_MASK alike USE flags -- with path |
11 |
> groups that are well-defined and described in the repository. |
12 |
|
13 |
Sorry, I am late in the game. (Or maybe not, since the GLEP doesn't |
14 |
yet have a number.) |
15 |
|
16 |
The GLEP says that path groups always apply globally. So the |
17 |
install-mask.conf file is not "alike layout.conf" (as the GLEP claims) |
18 |
because its scope is not restricted to the repository where it is |
19 |
stored. And in turn this can lead to name collisions ("Duplicate |
20 |
groups [...] are considered an error"). |
21 |
|
22 |
Therefore I think that repository metadata is the wrong place for |
23 |
storing the install-mask.conf file. It is configuration, specific to |
24 |
Portage (but not to the repository), so /usr/share/portage/config/ |
25 |
would be a better location to store it. |
26 |
|
27 |
Ulrich |
28 |
|
29 |
> [1]:https://wiki.gentoo.org/wiki/User:MGorny/GLEP:INSTALL_MASK |