Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-09 Thread Chris Gianelloni
On Sat, 2006-10-07 at 23:19 -0500, Andrew Gaffney wrote: 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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-09 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for your feedback, everyone. I've gone ahead and enabled multiple inheritance in portage-2.1.2_pre2-r7. I would appreciate it if people would start experimenting with it (of course, please don't use multiple inheritance in the live tree in

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-09 Thread Andrew Gaffney
Zac Medico wrote: (of course, please don't use multiple inheritance in the live tree in ways that will hurt users of the current single inheritance profiles). If someone does, can we blame you? :) -- Andrew Gaffneyhttp://dev.gentoo.org/~agaffney/ Gentoo Linux

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-09 Thread Alec Warner
Andrew Gaffney wrote: Zac Medico wrote: (of course, please don't use multiple inheritance in the live tree in ways that will hurt users of the current single inheritance profiles). If someone does, can we blame you? :) Don't blame the tool, blame the tool using the tool improperly. --

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-08 Thread Mike Frysinger
On Saturday 07 October 2006 23:04, Zac Medico wrote: Should we add multiple inheritance support now? yes -mike pgpJagfj7FpY3.pgp Description: PGP signature

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-08 Thread Stuart Herbert
Hi Zac, On 10/8/06, Zac Medico [EMAIL PROTECTED] wrote: I'm only proposing that we add support to portage now because it seems like it will be useful in the future. How and when people make use of this support does not concern me much. Zac I believe that multiple parent support would be

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-08 Thread Danny van Dyk
Am Sonntag, 8. Oktober 2006 12:05 schrieb Stuart Herbert: Hi Zac, On 10/8/06, Zac Medico [EMAIL PROTECTED] wrote: I'm only proposing that we add support to portage now because it seems like it will be useful in the future. How and when people make use of this support does not concern me

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-08 Thread Andrew Gaffney
Danny van Dyk wrote: I for one favour a more flattened profiles/ and a way to mark a profile as 'not standalone', similar to a deprecated file, that isn't inherited, to stop users biting their own asses. The following sample is not complete, but should give the right impressions. By 'not

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-07 Thread Andrew Gaffney
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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles, Round 2

2006-10-07 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Gaffney wrote: 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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-14 Thread Alec Warner
Donnie Berkholz wrote: Alec Warner wrote: I think both our points are that there is a middle ground between screwing the user outright and holding their hand. If you want to trumpet the change on forums, on www, on -announce, get the message out there; then I'd be more for a change like that.

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-14 Thread Christel Doty
On Mon, 2006-08-14 at 07:28 -0400, Alec Warner wrote: Donnie Berkholz wrote: Alec Warner wrote: I think both our points are that there is a middle ground between screwing the user outright and holding their hand. If you want to trumpet the change on forums, on www, on -announce, get the

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Harring wrote: Said single inheritance protection was added 06/05/06 (rev 3544), stabled for x86 roughly 06/22/06. Hasn't even yet made it to a release media- meaning folk installing from the most current release media still can get bit

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Brian Harring
On Sat, Aug 12, 2006 at 10:59:48PM -0700, Zac Medico wrote: Brian Harring wrote: Said single inheritance protection was added 06/05/06 (rev 3544), stabled for x86 roughly 06/22/06. Hasn't even yet made it to a release media- meaning folk installing from the most current release media

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Alec Warner
Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Harring wrote: Said single inheritance protection was added 06/05/06 (rev 3544), stabled for x86 roughly 06/22/06. Hasn't even yet made it to a release media- meaning folk installing from the most current release media

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Marius Mauch
On Sun, 13 Aug 2006 13:01:41 -0400 Alec Warner [EMAIL PROTECTED] wrote: Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Harring wrote: Said single inheritance protection was added 06/05/06 (rev 3544), stabled for x86 roughly 06/22/06. Hasn't even yet made

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec Warner wrote: Zac Medico wrote: I'm not sure what the probability of people hurting themselves like this is. Perhaps it's a negligible corner case and a note in the upgrade guide will be enough to keep the vast majority of users on the

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Alec Warner
Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec Warner wrote: Zac Medico wrote: I'm not sure what the probability of people hurting themselves like this is. Perhaps it's a negligible corner case and a note in the upgrade guide will be enough to keep the vast majority of

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-13 Thread Donnie Berkholz
Alec Warner wrote: I think both our points are that there is a middle ground between screwing the user outright and holding their hand. If you want to trumpet the change on forums, on www, on -announce, get the message out there; then I'd be more for a change like that. The problem is last

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Ciaran McCreesh
On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico [EMAIL PROTECTED] wrote: | 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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ciaran McCreesh wrote: On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico [EMAIL PROTECTED] wrote: | 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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Alec Warner
Ciaran McCreesh wrote: On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico [EMAIL PROTECTED] wrote: | 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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Ciaran McCreesh
On Sat, 12 Aug 2006 16:11:25 -0400 Alec Warner [EMAIL PROTECTED] wrote: | Ciaran McCreesh wrote: | On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico [EMAIL PROTECTED] | wrote: | | Currently, portage only allows single inheritance in profiles, but | | it's easy to enable multiple inheritance. In

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Alec Warner
Ciaran McCreesh wrote: On Sat, 12 Aug 2006 16:11:25 -0400 Alec Warner [EMAIL PROTECTED] wrote: | Ciaran McCreesh wrote: | On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico [EMAIL PROTECTED] | wrote: | | Currently, portage only allows single inheritance in profiles, but | | it's easy to enable

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Andrew Gaffney
Alec Warner wrote: Ciaran McCreesh wrote: You can get the best of both worlds using straight MI, if the profile tree is structured properly. Use the existing hierarchy for the 'main' profile and mixins (nodes with no parent) as extras. The only problem with this is Portage's current reliance

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Alec Warner
Ciaran McCreesh wrote: On Sat, 12 Aug 2006 16:54:41 -0500 Andrew Gaffney [EMAIL PROTECTED] wrote: | It will also cause QA problems, since the profiles wouldn't be | strictly controlled by the arch teams and releng anymore. Uh, that's easily solved. Demand that anyone changing non-arch profile

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Curtis Napier
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Alec Warner wrote: Ciaran McCreesh wrote: On Sat, 12 Aug 2006 16:54:41 -0500 Andrew Gaffney [EMAIL PROTECTED] wrote: | It will also cause QA problems, since the profiles wouldn't be | strictly controlled by the arch teams and releng anymore. Uh,

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Brian Harring
On Sat, Aug 12, 2006 at 01:24:49PM -0700, Zac Medico wrote: Hi everyone, 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

Re: [gentoo-dev] RFC: multiple inheritance support for profiles

2006-08-12 Thread Kumba
Andrew Gaffney wrote: This is pretty much exactly what Kumba was talking about. I didn't like the idea simply because it allowed the user to shoot themselves in the foot way too easily. It will also cause QA problems, since the profiles wouldn't be strictly controlled by the arch teams and