From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nvm07-0000h4-GJ for garchives@archives.gentoo.org; Sun, 28 Mar 2010 06:29:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B0BEE0812; Sun, 28 Mar 2010 06:29:33 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 376EEE07FB for ; Sun, 28 Mar 2010 06:29:01 +0000 (UTC) Received: by gyh20 with SMTP id 20so4990519gyh.40 for ; Sat, 27 Mar 2010 23:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=DcEZm6M5KGUqfnZ6wMM6Q1Bne6ZdW8wedQwxWHuZH/w=; b=SsmHl1QNA+0DL2FNtSIrHQou/kiX2m0FCmwtrxN+QkfNZ7rjTyKzeeJEqo86fa3Woy kwaA09K+eZyt8ds0QaWIiUjqt9CsHK5d/dePiBvVgWEX8ipTAiv/4Sc5yu4eeV8YggbQ yTYV8rVuA0jOP1mKkfJltMM1M1LBH7MV6ECAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ADoZhJ6RliqlK0BOrEGsNss9nf7YsZk35Ofiho2boEXzDjomo/LRfmGr3ajIigTWQz DbRjo7ukuJ2EgjGwUNq5Efe1RGdJMYORBOVE7oK6i1bTl5gFsxjlc+VK7gdN52gFBHnA raOmhdKpLCJQZtj5ZZZSub4WPzkDEQrotNVnQ= Received: by 10.101.128.35 with SMTP id f35mr3785128ann.74.1269757740853; Sat, 27 Mar 2010 23:29:00 -0700 (PDT) Received: from smtp.gmail.com (c-67-169-36-60.hsd1.ca.comcast.net [67.169.36.60]) by mx.google.com with ESMTPS id 22sm2595600iwn.12.2010.03.27.23.28.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 27 Mar 2010 23:28:59 -0700 (PDT) Received: by smtp.gmail.com (sSMTP sendmail emulation); Sat, 27 Mar 2010 23:27:05 -0700 Date: Sat, 27 Mar 2010 23:27:05 -0700 From: Brian Harring To: gentoo-dev@lists.gentoo.org Cc: cardoe@gentoo.org, zmedico@gentoo.org, ciaranm@googlemail.com Subject: usemove [was Re: [gentoo-dev] RFC: changing ssl use flag descriptions and unify behaviour] Message-ID: <20100328062705.GA7101@hrair.hsd1.ca.comcast.net> References: <4BAE1C33.6060604@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.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="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: 8c7eef9d-3355-48b8-9a61-393b92516ba6 X-Archives-Hash: 6d0c9c4226e3b37001e760a8d92a69e7 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 28, 2010 at 01:03:43AM -0500, Doug Goldstein wrote: > I seriously hate changing USE flags for the sake of changing use > flags. This provides a moderate amount of annoyance for anyone that > maintains more then one Gentoo box because they need to then tinker > with their /etc/make.conf and /etc/portage/package.use to get > everything right again. And oh no what if the one box is on ~arch and > one isn't and what if one is x86 and one isn't. Its just such a > configuration nightmare. >=20 > So unless there's any real benefit, I'm against this. I'm not arguing for arbitrary changes, but if the change makes sense=20 and isn't trivial it should be done. What is needed is to tweak the tools for such a move- specifically=20 adding a new command to the update machinery (profiles/updates). =20 Something roughly like usemove [atom] original_flag new_flag If an atom is specified, the move applies only to w/in that pkg; if no=20 atom, it's a global shift in the configuration (meaning all ebuilds=20 now use gtk instead of gtk2 for example). Examples: usemove gtk gtk2 usemove app-admin/gtkrellm gnutls ssl usemove dev-cpp/sptk:3 gnutls ssl usemove >=3Dapp-editors/emacs-22.3 gzip-el gzip Etc. Per the norm for updates, usual rules apply- since it's a string of=20 delta commands, once a command is in there it cannot be changed in=20 purpose (although folk can tweak existing commands to update for a=20 final target, eg: A -> B, B -> C; changing it to A -> C, B -> C). > Also two little side points... USE defaults happened in EAPI 1. And > the method by which you're asking people to select would be nice if we > had some method for saying USE X and Y are subset of USE A. USE_EXPAND, roughly- I wouldn't say it's fully there, but it certainly=20 would be where I'd start for any proposal... ~harring --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAkuu9rkACgkQsiLx3HvNzgctkQCeJBRLcn2i6qwL/RljIqStRRNn ZUwAoMHZyveW4vsX/UkcHfLX+gFU8jUy =+O90 -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--