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 1SMjai-00059w-Ue for garchives@archives.gentoo.org; Tue, 24 Apr 2012 17:31:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38BE8E0CC5; Tue, 24 Apr 2012 17:31:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6F382E0B16 for ; Tue, 24 Apr 2012 17:30:52 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DDDD21B4012 for ; Tue, 24 Apr 2012 17:30:51 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Proposal to move use.local.desc somewhere in /var Date: Tue, 24 Apr 2012 13:32:24 -0400 User-Agent: KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; ) References: <4F96D8A2.7060902@gentoo.org> In-Reply-To: <4F96D8A2.7060902@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; boundary="nextPart17361346.Mr3yaEIQtT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201204241332.24934.vapier@gentoo.org> X-Archives-Salt: e2102563-11c0-41a3-b2d5-991c3005b84e X-Archives-Hash: 678769bc84b8c4f8c2b694760af43fa9 --nextPart17361346.Mr3yaEIQtT Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tuesday 24 April 2012 12:45:22 Paul Varner wrote: > On 04/24/12 11:21, Robin H. Johnson wrote: > > On Tue, Apr 24, 2012 at 04:11:44PM +0200, Theo Chatzimichos wrote: > >> log from #gentoo-portage: zmedico: (random idea) would > >> it make sence to generate local.use.desc in /var/cache, or > >> somewhere in /var, but out of the tree? > >=20 > > 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. >=20 > 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. >=20 > Additionally, if we move the file, euse will need to be updated as well > and get pushed out to a stable version of gentoolikit. >=20 > The euse rewrite is on the roadmap for gentoolkit-0.3.1 which doesn't > have a release date yet since the primary contributors have been busy > with other things. it's also a bit of a speed issue. i often want to look at what flags get u= sed=20 across the tree. what's faster: loading + parsing 15000 xml files, or load= ing=20 1 file ? shifting it to metadata/ as a cache of all the xml files is probab= ly=20 fine, but i'm not sure dropping it completely is an improvement. =2Dmike --nextPart17361346.Mr3yaEIQtT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPluOoAAoJEEFjO5/oN/WBF0kQANrelTYhtWTGD4oRhrtLSs4Z mepS4vdROoB643ymPSv/XvSpfYcgEnl0ieHIVcm4INOiJc1q+evEvzHKQuKCFf50 +bvBW7XzeRImpGEmxaeECJFokMJ2FJHJFodjeM3ypraunBebEkKQKGxAfsQIFRII giC0l6lX8B4PP5DZxbKEAf1L46nqqduO5pwPZ4981Wed8LLB8DjMVd1xzwK7rlno PQPxh8cVkasy9vaDJkrsdUfpW8FMmBXs9Xu47evVv3ZJvbB+kdynfW6jPIJ9+7j7 vk8iVYOj6iU7NQkR8g7CO9lHZ2vk9bSqtdXPwxco8DBwgGoGzFkcYaKibVHKlu9D /5/wKhF/Lcm/5l+e2+sfUzXkz3aogejwRaOyOg1ApbNuLyytiTgI/CgnhriUCAIv Rc5+HOYh2yGou3q6yLlkPqZFXhDGKyN/fy4Uswu3nGvl+7GfdEsdxzqxQ9BewrPl q3X5LvIvHcuxNvcFo1fdXK96CFzWF5Xz2oMqJfu0B7bME1Ik3aGUdnlBZS/l7zaP bhB994uZMzleGcWA29HKfMcyvoMD3RtYOf/hJtj12wWWY9udozoX5Az08jfnfbKi QZE6Q3oU8aXSRl/b4raWLEIYCF0gsaQnfqjRyH5ugB4GHQu6t79421Lb4TuSbmmL eNfC/dO9DrHJjIOBqNGi =aNpc -----END PGP SIGNATURE----- --nextPart17361346.Mr3yaEIQtT--