From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.105.134.102] (helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DiWUx-0000Vy-In for garchives@archives.gentoo.org; Wed, 15 Jun 2005 11:55:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j5FBsWHX011411; Wed, 15 Jun 2005 11:54:32 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5FBqoLu014171 for ; Wed, 15 Jun 2005 11:52:50 GMT Received: from smtp1.stealer.net ([82.165.37.24]) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DiWSg-0002Zz-Qy for gentoo-dev@lists.gentoo.org; Wed, 15 Jun 2005 11:53:39 +0000 Received: from sven by smtp1.stealer.net with local id 1DiWSg-0004RD-Od for gentoo-dev@lists.gentoo.org from sender swegener@gentoo.org; Wed, 15 Jun 2005 11:53:38 +0000 Date: Wed, 15 Jun 2005 13:53:38 +0200 From: Sven Wegener To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] use.force support Message-ID: <20050615115338.GL4585@lightning.stealer.net> References: <20050613144048.GB4585@lightning.stealer.net> <20050615121618.6339d835@eusebe> 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yQDbd2FCF2Yhw41T" Content-Disposition: inline In-Reply-To: <20050615121618.6339d835@eusebe> User-Agent: Mutt/1.5.8i X-Archives-Salt: 6972f12d-ddfe-4529-ad25-22f7fbae5ac1 X-Archives-Hash: f0a30a77fba1644f632623fe21611c78 --yQDbd2FCF2Yhw41T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 15, 2005 at 12:16:18PM +0200, Thomas de Grenier de Latour wrote: > On Mon, 13 Jun 2005 16:40:48 +0200 > Sven Wegener wrote: > =20 > > We just had a short discussion over in #gentoo-portage and the > > idea of an use.force file for profiles came up. It allows us to > > force some USE flags to be turned on for a profile. It's not > > possible to disable this flag by make.conf, the environment or > > package.use. But we would not be Gentoo, if we don't leave a > > backdoor. You can disable the flag by putting -flag in /etc/ > > portage/profile/use.force if you really need to. Same goes for > > sub-profiles that need to disable this flag. >=20 > Why a file rather than a make.default variable? I'm thinking of > something like REQUIRED_USE, which would behave just like USE and > friends (the so called "incremental" vars in portage). Its > contents could simply be added to USE after all other steps of > there respective "incrementation" (profiles, make.conf, user > env, etc.). And sure there would also be a REQUIRED_USE_EXPAND > var, similar in purpose to the existing USE_EXPAND but targeting > REQUIRED_USE, where important things like USERLAND or ELIBC could > be moved. The result is the same. I prefer to use files, because they yield better cvs diff results. Seeing someone change the REQUIRED_USE line involves looking over the complete line to find the changes. We could split the line over multiple lines to make it easier, but then we could just use a flat file. Well we're talking about a couple of flags here, but we don't know what we'll use these REQUIRE_USE for in the future > Well, i'm not saying that vars are better than files though, the > same can be achieved both ways, so it's just another option to > consider. >=20 > (and feel free to replace, in the above, "REQUIRED" by "FORCE", > "IMPORTANT", or any other kind of "DO_NOT_TOUCH"-like prefix) I actually like the required one. Sven --=20 Sven Wegener Gentoo Linux Developer http://www.gentoo.org/ --yQDbd2FCF2Yhw41T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCsBbCAXomK8S72HoRAj8tAKCIJkKRUXeBqg0z0ZrLVw/VLL03VgCeIlNm ch0xPhSbh+O+RwxntNTLHbo= =0odo -----END PGP SIGNATURE----- --yQDbd2FCF2Yhw41T-- -- gentoo-dev@gentoo.org mailing list