From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] EAPI
Date: Fri, 26 Aug 2005 15:32:42 -0500 [thread overview]
Message-ID: <20050826203242.GS1701@nightcrawler> (raw)
In-Reply-To: <1125085775.16733.55.camel@localhost>
[-- Attachment #1: Type: text/plain, Size: 1982 bytes --]
On Fri, Aug 26, 2005 at 03:49:35PM -0400, Kristian Benoit wrote:
> On the EAPI subject Brian just brought back, I had this idea that we
> could use the same approch XML took with HTML.
>
> The ebuild could define which EAPI to use, but instead beiing a version,
> the EAPI would be an ebuild API definition. The equivalent to the XML's
> dtd. The ebuild could point to a directory named
> $PORTDIR/eapi/<eapi-name>/ which would contain a python script named
> <eapi-name>.py. If not already loaded, that plugable eapi would be
> loaded before processing the ebuild.
>
> That way, there is no outdated ebuild format. There is just a default
> format which is the actual format.
>
> It could also be an XML defining the ebuild's build sequence and other
> particularities a group of ebuild could have.
Few questions;
A) what does xml bring to the table explicitly that is needed?
remember portage doesn't have a hard dep on xml parsing libs yet,
this would add it (livecd/stage* potentially needing adjustment as
a result).
B) EAPI is pretty much bash env template switching; xml/python plugins
don't help in that respect, although a python plugin for that eapi
level may be added at some point (right now it's not required for
the eapi v0/v1 python side components).
I am worried, long term mind you, in tracking the differences between
eapi levels and keeping the code clean. My thought for way down the
line when an eapi level has long since gone unused is to break it out
of portage and into it's own package as a plugin.
Specifics of it haven't yet gotten to, mainly because it's not worth
sweating over till rewrite is usable (priorities), but that's the long
term intention for EAPI.
Beyond that, the question of what needs to be tracked outside of
python/bash code (what would be stuck in the suggested xml) should
also be clarified, since I'm not seeing what all would be jammed in
there.
~harring
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-08-26 20:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 19:49 [gentoo-dev] [RFC] EAPI Kristian Benoit
2005-08-26 20:32 ` Brian Harring [this message]
2005-08-26 20:41 ` Ciaran McCreesh
2005-08-26 22:02 ` Drake Wyrm
2005-08-26 22:26 ` Brian Harring
2005-08-26 21:31 ` Dan Meltzer
2005-09-02 6:09 ` Marius Mauch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050826203242.GS1701@nightcrawler \
--to=ferringb@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox