From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.3/8.13.3) with ESMTP id j2DIGldO030539 for ; Sun, 13 Mar 2005 18:16:48 GMT Received: from smtp1.clear.net.nz ([203.97.33.27]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DAXdu-0000cZ-4C for gentoo-dev@robin.gentoo.org; Sun, 13 Mar 2005 18:16:46 +0000 Received: from [192.168.1.106] (tempest-amkp.christchurch.clix.net.nz [203.97.10.134]) by smtp1.clear.net.nz (CLEAR Net Mail) with ESMTP id <0IDA00HPJYRV02@smtp1.clear.net.nz> for gentoo-dev@gentoo.org; Mon, 14 Mar 2005 07:16:44 +1300 (NZDT) Date: Mon, 14 Mar 2005 07:17:14 +1300 From: Jerome Brown Subject: Re: [gentoo-dev] Identifying inherit-only / usable profiles (round 2) In-reply-to: <1110472061.21812.28.camel@cgianelloni.nuvox.net> To: gentoo-dev@robin.gentoo.org Message-id: <423483AA.8000706@hub.net.nz> Precedence: bulk List-Post: , , List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-To: gentoo-dev@gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (X11/20050119) X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <42224847.1060703@gentoo.org> <42248535.6040602@gentoo.org> <1110220955.9520.212.camel@cgianelloni.nuvox.net> <200503080924.04525.vapier@gentoo.org> <422E8204.6020706@gentoo.org> <422FA5E0.3030709@hub.net.nz> <1110469745.21812.11.camel@cgianelloni.nuvox.net> <20050310155333.622592c6@snowdrop> <1110472061.21812.28.camel@cgianelloni.nuvox.net> X-Archives-Salt: 71f75640-c389-434c-a0f8-f68cf30eb497 X-Archives-Hash: d73807ff7a54934ecaab31185e796a12 Chris Gianelloni wrote: >>I'd like multiple inheritance in profiles too, or at least some kind of >>mixin style semi-multiple inheritance. > > > Actually, that would be very useful. Be able to do things like have > both ".." and "../2004.3" in parent, so items from the parent in the > directory structure is read first, followed by the 2004.3 stuff. There > are quite a few cascaded profiles that are nearly identical between > versions, with only a single change, but that are quite divergent from > the parent. This would eliminate most of the duplication and redundancy > in them. Wont this cause headaches when it comes to depreciating profiles however? If there are very few changes between versions, I can forsee a time where someone wants to keep 2004.3, 2005.0, 2005.1, 2006.0, 2006.1, 2007.0, 2007.1 around because 2008.0 inherits from 2007.1 which inherits from ... (you get the idea). How would this work and how long would you be willing to keep a profile around for until it is removed and not just depreciated? (I do think that multiple inheritance is A Good Thing (TM), especially if it becomes possible to have user defined profiles in /etc/portage/profiles which can inherit from multiple 'base' profiles) -- Jerome Brown Technology Architect Hub.Net P: +64 3 961-5116 M: +64 29 453 7663 F: +64 3 961-5129 E: jerome@hub.net.nz W: http://www.hub.net.nz/ O: Level 4, 818 Colombo St, Christchurch, New Zealand S: PO Box 1879, Christchurch, New Zealand -- gentoo-dev@gentoo.org mailing list