Gentoo Archives: gentoo-portage-dev

From: Sebastian Luther <SebastianLuther@×××.de>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] layout.conf: What's our opinion?
Date: Mon, 20 Jan 2014 11:05:34
1 Hi all,
3 ${repository}/metadata/layout.conf is a file that allows a repository
4 maintainer to adjust the package manager's behavior for a repository.
5 I guess the best known is the 'masters' key, but there are lots of other
6 things by now (see man portage).
8 Currently layout.conf is not under PMS control. This basically means
9 that every PM (or version thereof) may support different keys and assign
10 different meanings to them. Portage's behavior for unknown keys in
11 layout.conf is to ignore them without a warning.
13 The bad thing about this is that some layout.conf keys portage currently
14 supports, may render the repository unusable for a PM if it doesn't
15 support them.
17 To avoid this type of breakage in other areas (ebuilds, dependency
18 resolution, ...) PMS has been created. Since the council demands PMS to
19 be followed, I would expect that they also want the general idea "of not
20 breaking things randomly" to be followed.
22 This brings us to reason that made me write that mail. Some days ago
23 Arfrever committed some additions to layout.conf [1], for which he
24 apparently had the ack from Zac from some months ago [2].
26 After discussing this one IRC I came to the conclusion that we just
27 disagree on how we should handle additions to layout.conf.
29 Basically it's either
30 1) "We add things as we see fit." or
31 2) "We should only add things if absolutely necessary.".
33 I obviously would prefer 2) to follow the "things shouldn't break
34 randomly" route.
36 So what's your opinion? Should we go for 1) or 2) or something else?
38 - Sebastian
41 [1]
44 [2]


Subject Author
Re: [gentoo-portage-dev] layout.conf: What's our opinion? Alexander Berntsen <alexander@××××××.net>
[gentoo-portage-dev] Re: layout.conf: What's our opinion? "W. Trevor King" <wking@×××××××.us>
Re: [gentoo-portage-dev] layout.conf: What's our opinion? Mike Frysinger <vapier@g.o>