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.43) id 1E8OZo-0000rc-Uc for garchives@archives.gentoo.org; Thu, 25 Aug 2005 20:43:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7PKfpWO025689; Thu, 25 Aug 2005 20:41:51 GMT Received: from egr.msu.edu (jeeves.egr.msu.edu [35.9.37.127]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7PKfoqV001463 for ; Thu, 25 Aug 2005 20:41:51 GMT Received: from [192.168.0.101] (pcp09042172pcs.rocsth01.mi.comcast.net [68.60.51.73]) (authenticated bits=0) by egr.msu.edu (8.13.4/8.13.4) with ESMTP id j7PKh1uZ026209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Aug 2005 16:43:06 -0400 (EDT) Message-ID: <430E2D53.2010505@egr.msu.edu> Date: Thu, 25 Aug 2005 16:42:59 -0400 From: Alec Warner User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050724) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Additional information to output: emerge -pv References: <430D29C3.5010004@wmich.edu> In-Reply-To: <430D29C3.5010004@wmich.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: c23a76f4-6157-45e6-b38a-46a74921ee19 X-Archives-Hash: 6c8435114035dd1e6aa44acf1f3583b4 Dustin Spicuzza wrote: > Hey, > > I've been using Gentoo for a couple of years now... and portage was > the #1 reason I kept using Gentoo over other Linux distros... and why > I'm still using it. > > Something that's always bugged me a lot is USE flags. Which, while I > think that they are one of the best things about portage, I think that > they are also one of the more annoying features as well... it can be > relatively annoying to configure it all up. Especially researching > what they are... yes, it just takes a little bit of effort to find > them, but why not make it slightly easier? > > Anyways, I made a patch (against Portage 2.0.51.22-r2, attached as > verbose_use_patch.tar) that adds the description of each USE flag to > the 'emerge -pv ' command. The output for openoffice, for > example, looks something like this... > > [ebuild N ] app-office/openoffice-1.1.4-r1 -curl -hardened -java > +kde -nptl +zlib 215,331 kB > * curl - Adds support for client-side URL transfer library > * hardened - activate default security enhancements for toolchain > (gcc, glibc, binutils) > * java - Adds support for Java > * kde - Adds support for kde-base/kde (K Desktop Enviroment) > * nptl - Enable support for Native POSIX Threads Library, the new > threading module (requires linux-2.6 or better usually) > * zlib - Adds support for zlib (de)compression > > And, it does this for each package (only for verbose obviously) Its a > very small, non-invasive patch, and quite small (a routine in > portage_util.py, and 5 lines of code in emerge). > I attached the patch here because I wasn't quite sure of the proper > procedure for patch submission... anyways, thanks for all your work! > Hopefully in the future I can contribute to this project. > > Dustin Spicuzza I like it but I'd like to see it in another tool. Or in the case of HEAD, an emerge module. I know it's a PITA right now because all the dependencies are depgraph related and it hasn't been easy to rip it out. It would be nice to have a set of modules for generating metadata like this in script form for servers as opposed to some kind of weird emerge output that then needs some regex voodoo process. Just my two cents :) -- gentoo-portage-dev@gentoo.org mailing list