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 1E7YnS-0004AT-Nv for garchives@archives.gentoo.org; Tue, 23 Aug 2005 13:26:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7NDO0tn001782; Tue, 23 Aug 2005 13:24:00 GMT Received: from callisto.cs.kun.nl (callisto.cs.kun.nl [131.174.33.75]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7NDL3Ob022979 for ; Tue, 23 Aug 2005 13:21:03 GMT Received: from localhost (localhost [127.0.0.1]) by callisto.cs.kun.nl (Postfix) with ESMTP id 9C0D82E821A for ; Tue, 23 Aug 2005 15:20:18 +0200 (CEST) From: Paul de Vrieze To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] EBUILD_FORMAT support Date: Tue, 23 Aug 2005 15:20:16 +0200 User-Agent: KMail/1.8.1 References: <20050707002002.GH20687@lightning.stealer.net> <1120758726.18019.6.camel@supernova.lan.local> <20050707204223.GB15563@curie-int.orbis-terrarum.net> In-Reply-To: <20050707204223.GB15563@curie-int.orbis-terrarum.net> X-Face: #Lb+'V@sGJ;ptgo5}V"W+5OCoo{LZv;bh,s,`WKLi/J)ed1_$0;6X<=?utf-8?q?700LVV/=3BLqPhiDP=5E=0A=09=27f=5Dfnv?=@%6M8\'HR1t=aFx;ePfp{ZQoBe+e)JOQ8T5*(_;mHY+cltLGq<;@$Y,=?utf-8?q?O=5C=24=0A=09Tm=23G6M?=,g![Q62J{na*S9d;R[^8pc%u\aiLqU@`kJtYl"^6pxdW Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1381183.ySb4VB6jgK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508231520.16966.pauldv@gentoo.org> X-Archives-Salt: af9f1353-7ee6-4615-bc6e-b171a8b8721e X-Archives-Hash: 00d4b37c7e1fa234091e3e76a52ec1bf --nextPart1381183.ySb4VB6jgK Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 07 July 2005 22:42, Robin H. Johnson wrote: > On Thu, Jul 07, 2005 at 10:52:06AM -0700, Donnie Berkholz wrote: > > > strlen(EBUILD_FORMAT) * 19546 =3D 249K > > > strlen(EAPI) * 19546 =3D 77K > > > strlen(EV) * 19546 =3D 39K > > > > > > Where 19546 is the number if ebuilds in the tree as. > > > > So, the size of the tree is 500216K. This makes the percent increase > > in size for the options above 0.0005%, 0.0002% and 0.0001% > > respectively. In any case, nearly irrelevant to its present size. > > Probably should count some more formatting too. > strlen(EBUILD_FORMAT=3D"") =3D 16, 16 * 19546 =3D 306K > strlen(EAPI=3D"") =3D 7, 7 * 19546 =3D 134K > strlen(EV=3D"") =3D 5, 5 * 19546 =3D 96K > > Don't just count the 4K blocks. Count the actual data instead (du -b). > The tree contains 95912503 bytes of data, including metadata. > Excluding metadata it is 85301916 bytes. > > It's still less than 0.4% increase in the worst case. > > I like the 'EAPI' variant, as it's clearly seperate from 'EV', without > being too long. > > To combat some of the increase, EAPI only needs to go into new ebuilds > that use the functionality. Old ebuilds should default to the current > syntax. To allow for this to work with current portage versions, perhaps it would=20 be an option to introduce a new extension for .ebuild scripts that use=20 it's functionality. That would allow all non-EAPI aware portage versions=20 to automatically ignore ebuilds that use this. Paul ps. I would also suggest requiring that EAPI can be retrieved by a simple=20 line by line parsing without using bash. (This allows for changing the=20 parsing system) =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --nextPart1381183.ySb4VB6jgK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDCyKQbKx5DBjWFdsRAmKTAJ4mpaRX2Mms16N5hpSWjFJJmMCiYACgo0ko zKrLUn/BNWM1/ZhdgouPafo= =F3wc -----END PGP SIGNATURE----- --nextPart1381183.ySb4VB6jgK-- -- gentoo-dev@gentoo.org mailing list