From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Gentoo Prefix: on EPREFIX, ED and EROOT inside ebuilds
Date: Fri, 20 Nov 2009 09:45:32 +0100 [thread overview]
Message-ID: <20091120084532.GJ19586@gentoo.org> (raw)
In-Reply-To: <19197.18013.751396.332003@a1i15.kph.uni-mainz.de>
On 13-11-2009 12:43:25 +0100, Ulrich Mueller wrote:
> In its November meeting [1], the council has unanimously expressed
> support for this proposal [2].
>
> However, there is need for additional discussion. From the council
> meeting log I could extract the following open questions:
>
> 1. What are the implications for non-prefix devs and users?
for devs: take note of EPREFIX, ED and EROOT, be aware what they mean
and eventually, use them in the right way. This is not hard, since a
simple script[3] based on some heuristics can do the work in 98% of the
cases right.
for users: not an single bit, unless they look inside ebuilds
> 2. Should the Prefix team be allowed to do the necessary changes to
> ebuilds themselves, or should it be done by the respective
> maintainers?
The Prefix team is the equivalent of an arch team, only handling a big
bunch of arches [4]. Hence, keywording should be out of the question,
and just allowed. Adding simple patches (to normal non-critical
ebuilds) used to be allowed AFAIR, so I see that as ok too. In other
words, like darkside mentioned, I see our activities like those of an
arch team.
> 3. Are there any backwards compatibility or upgrade path issues for
> eclasses that must still accept EAPI 0 (where the new ED, EROOT,
> and EPREFIX variables are not defined)?
The backward and forward compatability is handled with conditional
code like:
use prefix || local ED=${D}
or
[[ -z ${ED} ]] && local ED=${D}
Since Zac checked in yesterday blacklisting of EPREFIX, EROOT and ED in
the main Portage branch, these variables hopefully soon become protected
in the sense that an externally set ED does not result in weird
behaviour of a Prefix aware eclass or ebuild when using the latter
approach, which is true forward compatible.
For your information, this was exactly what I asked for from the council.
> 4. EAPI numbering: Would this simply be added as an additional
> feature to EAPI 3? Or should we have an intermediate EAPI slot,
> e.g. 2.1 or 3 (and current EAPI 3 renamed to 4 in the latter
> case)?
I don't care about this, but a fast EAPI is necessary to 1) rely on ED not
coming from outside, and 2) since we're defining ED, EROOT and EPREFIX
anyway, initialise ED and EROOT such that we don't need any conditional
code in ebuilds at all (and can just use ED where necessary).
> 5. Who is going to write the exact specification (PMS patch) for
> this EAPI feature?
We agreed that I/Prefix team will give this a shot.
> 6. (Any question that I've missed?)
I guess most additional questions go beyond, and actually address the
real Prefix work, and its implications to Gentoo and many ebuilds, since
we have to touch around 2300 ebuilds, most with trivial changes, some
with heavy changes (think of the 32 patches that one needs to compile
Python...)
> Let's start the discussion now, in order to work out these details
> before the next council meeting (December 7th).
>
> Ulrich
>
> [1] <http://www.gentoo.org/proj/en/council/meeting-logs/20091109.txt>
> (topic was discussed from 21:32 to 22:11 in the log's timezone)
> [2] <http://archives.gentoo.org/gentoo-dev/msg_2a62689c71f95e4de5699a330b8b5524.xml>
>
[3] http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/eapify
[4] http://stats.prefix.freens.org/keywords-packages.png
--
Fabian Groffen
Gentoo on a different level
next prev parent reply other threads:[~2009-11-20 8:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-18 9:11 [gentoo-dev] Gentoo Prefix: on EPREFIX, ED and EROOT inside ebuilds Fabian Groffen
2009-10-18 11:57 ` Tomáš Chvátal
2009-10-18 12:31 ` Fabian Groffen
2009-10-19 19:44 ` Fabian Groffen
2009-10-24 19:37 ` Petteri Räty
2009-10-24 20:00 ` Fabian Groffen
2009-11-13 11:43 ` Ulrich Mueller
2009-11-20 8:45 ` Fabian Groffen [this message]
2009-11-20 0:26 ` Denis Dupeyron
2009-11-20 1:42 ` Jeremy Olexa
2009-11-20 9:03 ` Fabian Groffen
2009-11-25 23:43 ` Denis Dupeyron
2009-11-26 8:53 ` Fabian Groffen
2009-11-26 10:01 ` [gentoo-dev] " Duncan
2009-11-26 10:10 ` Fabian Groffen
2009-11-26 10:37 ` Duncan
2009-11-26 10:51 ` Fabian Groffen
2009-11-26 12:36 ` Duncan
2009-11-26 15:26 ` Fabian Groffen
2009-11-26 13:43 ` [gentoo-dev] " Fabian Groffen
2009-11-26 0:01 ` Denis Dupeyron
2009-11-26 9:02 ` Fabian Groffen
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=20091120084532.GJ19586@gentoo.org \
--to=grobian@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