Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2
Date: Sun, 08 Oct 2006 03:18:15
Message-Id: 45286AD6.101@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 Some of you may recall that I proposed the addition of multiple
7 inheritance to profiles a couple of months ago [1]. The idea is to
8 extend the "parent" file in profiles so that it supports any number
9 of parents (one per line). Parents listed closer to the bottom of
10 the file will have the ability to override the settings of those
11 listed nearer the top of file.
12
13 As of portage-2.1 (included in the 2006.1 release media), portage
14 will automatically generate an error if it encounters multiple
15 inheritance (earlier versions would simply ignore anything after the
16 first parent). As long as users follow the profile updating
17 instructions [2] and update portage prior to a profile update, they
18 won't have any trouble. However, if a user has <=portage-2.0* and
19 fails to follow the upgrade instructions, portage may attempt to
20 build and install packages without the entire profile being
21 correctly parsed.
22
23 Should we add multiple inheritance support now? The changes
24 necessary to add this support are minimal and we can have this
25 feature in portage-2.1.2 [3], which I estimate will be ready for a
26 final release in approximately 3 to 5 weeks.
27
28 Zac
29
30
31 [1] http://thread.gmane.org/gmane.linux.gentoo.devel/41453
32 [2] http://www.gentoo.org/doc/en/gentoo-upgrading.xml#doc_chap3
33 [3] http://bugs.gentoo.org/show_bug.cgi?id=147007
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v1.4.5 (GNU/Linux)
36
37 iD8DBQFFKGrV/ejvha5XGaMRAv1iAKDNhz4CxfonP3nexIlu+SyRPRjffgCeNA76
38 GKHMg+DTMzHwBq0PPX6kV/U=
39 =DcWj
40 -----END PGP SIGNATURE-----
41 --
42 gentoo-dev@g.o mailing list

Replies