From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EdyGv-0001kU-Uk for garchives@archives.gentoo.org; Sun, 20 Nov 2005 23:06:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAKN6D8O026844; Sun, 20 Nov 2005 23:06:13 GMT Received: from corwin.easynet.fr (smarthost168.mail.easynet.fr [212.180.1.168]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAKN4RHU005686 for ; Sun, 20 Nov 2005 23:04:27 GMT Received: from easyconnect2121138-64.clients.easynet.fr ([212.11.38.64] helo=eusebe) by corwin.easynet.fr with esmtp (Exim 4.50) id 1EdyEU-0000pJ-LC for gentoo-dev@lists.gentoo.org; Mon, 21 Nov 2005 00:04:26 +0100 Date: Mon, 21 Nov 2005 00:06:38 +0100 From: Thomas de Grenier de Latour To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] punting the use.defaults feature Message-ID: <20051121000638.00459520@eusebe> In-Reply-To: <1132525399.1292.4.camel@Darkmere.darkmere> References: <951460691.20051118163308@gentoo.org> <20051118154312.GF24327@toucan.gentoo.org> <1726602389.20051118165931@gentoo.org> <20051118191858.GA28166@phaenix.haell.com> <20051118231429.GA2777@toucan.gentoo.org> <4380D4AC.3080602@gentoo.org> <1132525399.1292.4.camel@Darkmere.darkmere> Organization: Fasmz X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.6; i686-pc-linux-gnu) 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@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 220e782b-4e4e-41ea-a0f5-d78b3e64b883 X-Archives-Hash: d414be3bb1db6ec16216e7a1fb1699e1 On Sun, 20 Nov 2005 23:23:19 +0100 "Spider (D.m.D. Lj.)" wrote: > On Sun, 2005-11-20 at 11:55 -0800, Michael Marineau wrote: > > > For users who do like the functionality just properly document > > the existance of USE_ORDER in the install guide. > > However, I'd -also- want the IUSE="+auto -bongodrums alpha beta > +zeta" to be set, perhaps with a new USE_ORDER variable > ":ebuild:" ? Imho, that's the problem with documenting USE_ORDER (although it's a minor one): if a user set USE_ORDER="env:pkg:conf:defaults" in his make.conf and a later version of portage introduces some new interesting value, he will miss this new feature without noticing. Since it seems that the common usage of user-defined USE_ORDER is to remove values, but not actually to change their priorities (probably because the default ones are the only ones which really make sense), i would rather see a split in two distinct vars: - FOO (i'm not good to invent names) would be portage internal and define valid values and their respective priorities. - BAR would be accessible to the users as an incremental var, and would define what values should be taken into account. FOO default would be "env:pkg:conf:auto:defaults". BAR default would be "auto conf default env pkg". This way, users could set BAR="-auto" in make.conf, which would really mean "take all of the default USE_ORDER but the auto thing". And the day "ebuild" or any other new feature is implemented, this user will have it automatically (just like he would get any new enabled-by-default FEATURES flag for instance). -- TGL. -- gentoo-dev@gentoo.org mailing list