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 1SN4VS-0001Hb-29 for garchives@archives.gentoo.org; Wed, 25 Apr 2012 15:51:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 677DFE06D9; Wed, 25 Apr 2012 15:51:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 29F8AE06B4 for ; Wed, 25 Apr 2012 15:50:17 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 495361B4025 for ; Wed, 25 Apr 2012 15:50:15 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Proposal to move use.local.desc somewhere in /var Date: Wed, 25 Apr 2012 11:51:54 -0400 User-Agent: KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; ) References: <201204241332.24934.vapier@gentoo.org> In-Reply-To: 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="nextPart41750218.E57jWoRDb3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201204251151.55728.vapier@gentoo.org> X-Archives-Salt: 81f73cff-6c2d-4e7b-9756-24ed3fc22a5d X-Archives-Hash: ed90b4c18b2c25673e5ac55de69c6d12 --nextPart41750218.E57jWoRDb3 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Wednesday 25 April 2012 02:26:19 Steven J Long wrote: > 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. > >>=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 > > it's also a bit of a speed issue. i often want to look at what flags g= et > > 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 fil= es > > is probably fine, but i'm not sure dropping it completely is an > > improvement. >=20 > Agreed. I don't think it's a good idea to lose the ability to script > against the tree from bash. technically, you can script with xml files just fine from bash. install ap= p- text/xmlstarlet and use the `xml` tool. =2Dmike --nextPart41750218.E57jWoRDb3 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) iQIcBAABAgAGBQJPmB2bAAoJEEFjO5/oN/WBYdQP/RgxBY8Q4FyqjB5i1GNTpSqe 4+VsSgUoyRoI6CDPBxsqcQ/OFMH4CDRIjMj+PKWeehVssckEQbrx6C4YbuTvSRDf G6BTZxHS4mR747pbhTNrIt7M57nH5zGd6jjF6Ueifv1VYGvncGhLeGUKw8Ypjqtp Ldkvp7DOKiSF6XE3voU2ljqVAGDnlRse+J6v7XMsix348tUhDws9YDnphwllykW4 836Z1mHne4T0E9l7oWJX4twd9xU5Z7L5CS9if12Khplz0HaZ+j9wvzKn2coPZSrH qK3N0X6ihMetu9DcCXk9TdebIxZq+yJvtHxq0cpD6vP3HOHittmrHTEeRfOLhNM7 gJWR9LX6lXjqZa3IrRx3mlIZLcAF3fCeNqIGib1aW8I5ZesfvrU0Djtp0+8i6PoH BgyXyoWru4fW0CwxcFHxE6fcjX4Qqcz7Cl37WVdPtDTldKw5Om+8v4Nj+WOE7W+N gc0xlrQnKWI0K4BpY9PslSPMFLK3q28yz/YkHtkb0ArRTANnQpuCv50+AgOrHFEZ M5JLdflicaQJKDSRxZR5EnjeVtChCq8yHccwHRQuaVaAklwClqT0Rw++10geMW6y R7lMB1xxpG5Tt47C0vDi998CMffY2JwHRw9JZtx8ESEcedoqFJx2MMxguxzMjCtq ZZqoJOrsNo/gldNaYYK2 =HKNy -----END PGP SIGNATURE----- --nextPart41750218.E57jWoRDb3--