* [gentoo-dev] Re: EAPI stored in metadata.xml (was: Collecting opinions about GLEP 55 and alternatives)
@ 2009-03-03 8:37 Christian Faulhammer
0 siblings, 0 replies; only message in thread
From: Christian Faulhammer @ 2009-03-03 8:37 UTC (permalink / raw
To: gentoo-dev; +Cc: kumba
[-- Attachment #1: Type: text/plain, Size: 2254 bytes --]
Hi,
sorry, if this post doubles some other posts already done by others...I
wrote it during a journey and haven't catched yet with the discussion.
Kumba <kumba@gentoo.org>:
> Kumba wrote:
> >
> > I was talking to Alec last night in -dev (yes, I'm still alive),
> > and I tossed out the idea of using metadata.xml instead of mangling
> > the ebuild filename or even sticking it as the first line in the
> > ebuild (as a hashbang or something gentoo-specific, for example).
>
> Fleshing out more (And to solicit more thought on this idea --
> insane?).
Thanks for backing your initial thoughs with some more substance,
although I see some fundamental problems.
> Would, to specify them as EAPI=2 in metadata.xml, be encoded as (just
> an example -- suggest other formats):
In my eyes metadata.xml should contain only non-essential
informational data. The description of a local USE flag in metadata.xml
is ok, as that text is not really essential for ebuild operation. I
remember before EAPI 1 that having a default USE flag was some obscure
operation in package.use.default. A user/developer could be completely
clueless about that feature and annoyed because some USE flag is pulled
in he did not want. Having all sourcing/install/processing information
near or inside the ebuild makes it easier (I know we still have
use.mask and the like). Now your proposal moves essential (to the
package manager, where USE flag descriptions are not) metadata out of
the ebuild.
What if a submitted ebuild to Bugzilla or by mail comes in? Without
any special surrounding information ("Hey this ebuild is EAPI 5") you
would have to look up in the PMS which EAPI is appropriate or wonder
about repoman's warnings when trying to commit (and I know people who
use --force quite often). So apart from having the EAPI information in
the ebuild name or inside it there are no feasible options to store
it. Though I must confess that a user submitted ebuild could strip
parts of the name in his submission thus destroying that EAPI
information, too.
V-Li
--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
<URL:http://www.faulhammer.org/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-03 8:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 8:37 [gentoo-dev] Re: EAPI stored in metadata.xml (was: Collecting opinions about GLEP 55 and alternatives) Christian Faulhammer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox