Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: multiple inheritance support for profiles
Date: Sat, 12 Aug 2006 20:29:31
Message-Id: 44DE3911.10906@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 Currently, portage only allows single inheritance in profiles, but it's easy to enable multiple inheritance. In order to do this, we only need to unconstrain the number of parents allowed in the parent file (only 1 is currently allowed). When a parent file contains multiple parents, parents listed later if the file will have the ability to override those listed earlier in the file.
7
8 Multiple inheritance seems like it would add useful flexibility to the profile structure. Should we remove the single inheritance constraint and allow multiple inheritance?
9
10 Zac
11 -----BEGIN PGP SIGNATURE-----
12 Version: GnuPG v1.4.5 (GNU/Linux)
13
14 iD8DBQFE3jkN/ejvha5XGaMRApIfAJ0cYXsowPFPrfLIZwwLfdsSV+W+LwCcCmkN
15 1FUrNNnNcb6PyIxLGGSSZLg=
16 =rzHQ
17 -----END PGP SIGNATURE-----
18 --
19 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] RFC: multiple inheritance support for profiles Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
Re: [gentoo-dev] RFC: multiple inheritance support for profiles Brian Harring <ferringb@×××××.com>