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 1SMvdX-00087W-Jg for garchives@archives.gentoo.org; Wed, 25 Apr 2012 06:23:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26C2BE07A7; Wed, 25 Apr 2012 06:23:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DAC0BE0618 for ; Wed, 25 Apr 2012 06:22:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6A4431B4028 for ; Wed, 25 Apr 2012 06:22:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.141 X-Spam-Level: X-Spam-Status: No, score=-1.141 tagged_above=-999 required=5.5 tests=[AWL=-0.393, BAYES_00=-1.9, RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8kKcRTEKlg1 for ; Wed, 25 Apr 2012 06:22:23 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C05B51B401F for ; Wed, 25 Apr 2012 06:22:23 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SMvcG-0003Nj-TH for gentoo-dev@gentoo.org; Wed, 25 Apr 2012 08:22:16 +0200 Received: from 91.85.59.114 ([91.85.59.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 08:22:16 +0200 Received: from slong by 91.85.59.114 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 08:22:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Steven J Long Subject: [gentoo-dev] Re: Proposal to move use.local.desc somewhere in /var Date: Wed, 25 Apr 2012 07:26:19 +0100 Organization: Friendly-Coders Message-ID: References: <4F96D8A2.7060902@gentoo.org> <201204241332.24934.vapier@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: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91.85.59.114 X-Archives-Salt: 09b167d3-4369-442d-b8ec-1fc6f25417d3 X-Archives-Hash: d4c1d9d0cc834a3b4a3064ded113cad6 Mike Frysinger wrote: > Paul Varner wrote: >> Robin H. Johnson wrote: >> > Why are we keeping it? I move that we remove it. It's been replaced >> > by USE flags in metadata.xml for several years now. >> >> euse from gentoolkit still uses it since it is written in bash and XML >> parsing in bash can be problematic. We really need to get euse >> rewritten in python so it can use the portage and gentoolkit API's >> before we get rid of the file. > > it's also a bit of a speed issue. i often want to look at what flags get > used > across the tree. what's faster: loading + parsing 15000 xml files, or > loading 1 file ? shifting it to metadata/ as a cache of all the xml files > is probably fine, but i'm not sure dropping it completely is an > improvement. -mike Agreed. I don't think it's a good idea to lose the ability to script against the tree from bash. Portage itself has always made it easy for the user to write custom sys- admin scripts, and use.local.desc aids in that. -- #friendly-coders -- We're friendly, but we're not /that/ friendly ;-)