Zac Medico wrote:
Some of you may recall that I proposed the addition of multiple
inheritance to profiles a couple of months ago [1]. The idea is to
extend the "parent" file in profiles so that it supports any number
of parents (one per line). Parents listed closer to the bottom of
the file will have the ability to override the settings of those
listed nearer the top of file.
As of portage-2.1 (included in the 2006.1 release media), portage
will automatically generate an error if it encounters multiple
inheritance (earlier versions would simply ignore anything after the
first parent). As long as users follow the profile updating
instructions [2] and update portage prior to a profile update, they
won't have any trouble. However, if a user has <=portage-2.0* and
fails to follow the upgrade instructions, portage may attempt to
build and install packages without the entire profile being
correctly parsed.
Should we add multiple inheritance support now? The changes
necessary to add this support are minimal and we can have this
feature in portage-2.1.2 [3], which I estimate will be ready for a
final release in approximately 3 to 5 weeks.
Are you proposing just adding the support or creating the new profiles as well?
If it's just the support, adding it into portage now certainly won't hurt
anything (unless someone really fscks up the current single-parent cascaded
profiles in the tree) and is probably a good idea.
If you're talking about putting together the new profiles now as well, is it
going to be a separate profile tree (much as default-linux/ was created for
cascaded profiles)? Will it be directly under profiles/? default-linux/?
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
Today's lesson in political correctness: "Go asphyxiate on a phallus"
--
gentoo-dev@gentoo.org mailing list