From: Steven J Long <slong@rathaus.eclipse.co.uk>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: The fallacies of GLEP55
Date: Fri, 15 May 2009 20:29:16 +0100 [thread overview]
Message-ID: <1461811.mMo8WK9hvy@news.friendly-coders.info> (raw)
In-Reply-To: 4A0C6DFB.3060208@robbieab.com
Robert Bridge wrote:
> Patrick Lauer wrote:
>> On Thursday 14 May 2009 20:39:07 Ciaran McCreesh wrote:
>>> On Thu, 14 May 2009 20:06:51 +0200
>>>
>>> Patrick Lauer <patrick@gentoo.org> wrote:
>>>> Let EAPI be defined as (the part behind the = of) the first line of
>>>> the ebuild starting with EAPI=
>>> Uh, so horribly utterly and obviously wrong.
>>>
>>> inherit foo
>>> EAPI=4
>>>
>>> where foo is both a global and a non-global eclass that sets metadata.
>>
>> Interesting, but quite subtly wrong. I'm surprised that you try to slip
>> such an obvious logical mistake in in an attempt to save your arguments.
>
> Patrick, in the interest of making this comprehensible to the average
> schmuck like me, which you seem to be trying to do, could you actually
> explain WHY this is wrong? Otherwise it looks like you are simply trying
> the arrogant "I am right because I say so" line.
>
AFAIK, setting EAPI has to be done before any call to inherit. Not to do
so is considered a QA violation, and I believe repoman will scream at you
if you do so (I could be wrong as I don't use it. If it doesn't, perhaps it
should.)
Furthermore, eclasses are not supposed to set EAPI. They can test what the
ebuild's EAPI is, and act accordingly, should the need arise, but they are
not supposed to set it. (I'm informed this is disallowed by GLEP-55 in any
event, so it's not a restriction anyone cares too much about, one would
surmise.)
From conversation with Harring, who invented the whole EAPI thing, they were
never meant to change very quickly. The complementary mechanism was elibs,
that is files with useful library functions, which is often how eclasses
are used nowadays. Eclasses in that context would be able to set EAPI,
since they would effectively be a template, not a repository of
functionality.
(This is my no doubt flawed understanding of what he said; I'm sure he'll
correct, and hopefully forgive, any errors which are of course my own.)
I am curious as to why eclass versioning, which has been proposed for
donkey's years, hasn't seen as much impetus as what appear from a software
engineering perspective to be quite esoteric, and poorly thought-through,
use-cases. There does appear to be a process issue, though resolution is
another matter.
Good luck with the distro. :-)
--
#friendly-coders -- We're friendly but we're not /that/ friendly ;-)
next prev parent reply other threads:[~2009-05-15 19:30 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 18:06 [gentoo-dev] The fallacies of GLEP55 Patrick Lauer
2009-05-14 18:39 ` Ciaran McCreesh
2009-05-14 19:05 ` Patrick Lauer
2009-05-14 19:11 ` Ciaran McCreesh
2009-05-14 19:17 ` RB
2009-05-14 19:20 ` Ciaran McCreesh
2009-05-14 19:24 ` Patrick Lauer
2009-05-14 19:33 ` Ciaran McCreesh
2009-05-14 19:16 ` Robert Bridge
2009-05-15 19:29 ` Steven J Long [this message]
2009-05-14 19:09 ` Tomáš Chvátal
2009-05-14 19:17 ` Ciaran McCreesh
2009-05-15 1:42 ` George Prowse
2009-05-15 7:30 ` David Leverton
2009-05-15 10:44 ` Richard Freeman
2009-05-15 16:16 ` Robert R. Russell
2009-05-15 16:29 ` Ciaran McCreesh
2009-05-15 19:12 ` [gentoo-dev] " Steven J Long
2009-05-15 19:17 ` Ciaran McCreesh
2009-05-15 20:06 ` [gentoo-dev] " Steven J Long
2009-05-15 20:13 ` Ciaran McCreesh
2009-05-24 20:53 ` [gentoo-dev] " Steven J Long
2009-05-24 21:10 ` Ciaran McCreesh
2009-05-15 20:32 ` [gentoo-dev] " David Leverton
2009-05-24 20:40 ` [gentoo-dev] " Steven J Long
2009-05-24 20:58 ` David Leverton
2009-05-14 19:06 ` [gentoo-dev] " David Leverton
2009-05-14 19:15 ` Jeremy Olexa
2009-05-14 19:24 ` Ciaran McCreesh
2009-05-14 20:03 ` Ben de Groot
2009-05-14 21:16 ` Peter Alfredsen
2009-05-14 21:49 ` William Hubbs
2009-05-14 21:53 ` Ciaran McCreesh
2009-05-14 22:44 ` Patrick Lauer
2009-05-15 18:58 ` Arun Raghavan
2009-05-15 19:11 ` Ciaran McCreesh
2009-05-26 14:06 ` [gentoo-dev] " Steven J Long
2009-05-15 19:43 ` [gentoo-dev] " William Hubbs
2009-05-15 19:49 ` Ciaran McCreesh
2009-05-16 9:27 ` Tobias Klausmann
2009-05-16 11:33 ` [gentoo-dev] " Duncan
2009-05-26 14:01 ` Steven J Long
2009-05-16 14:12 ` [gentoo-dev] " Ciaran McCreesh
2009-05-16 14:50 ` [gentoo-dev] " Steven J Long
2009-05-16 14:57 ` Ciaran McCreesh
2009-05-16 15:15 ` Richard Freeman
2009-05-16 15:20 ` Ciaran McCreesh
2009-05-16 15:34 ` Richard Freeman
2009-05-16 15:36 ` Ciaran McCreesh
2009-05-16 15:32 ` [gentoo-dev] " Tobias Klausmann
2009-05-16 15:34 ` Ciaran McCreesh
2009-05-16 15:43 ` Tobias Klausmann
2009-05-16 15:49 ` Ciaran McCreesh
2009-05-16 15:55 ` Tobias Klausmann
2009-05-16 15:57 ` Ciaran McCreesh
2009-05-16 16:15 ` Tobias Klausmann
2009-05-16 16:19 ` Ciaran McCreesh
2009-05-16 16:31 ` Tobias Klausmann
2009-05-16 16:38 ` Ciaran McCreesh
2009-05-16 16:54 ` Tobias Klausmann
2009-05-16 16:58 ` Ciaran McCreesh
2009-05-16 17:13 ` Tobias Klausmann
2009-05-16 17:53 ` Ciaran McCreesh
2009-05-17 4:54 ` Richard Freeman
2009-05-16 16:35 ` Arun Raghavan
2009-05-16 16:39 ` Thomas Anderson
2009-05-16 16:44 ` Arun Raghavan
2009-05-16 16:47 ` Ciaran McCreesh
2009-05-16 16:54 ` Arun Raghavan
2009-05-16 16:59 ` Ciaran McCreesh
2009-05-16 17:09 ` Arun Raghavan
2009-05-16 17:55 ` Ciaran McCreesh
2009-05-16 19:12 ` Arun Raghavan
2009-05-16 19:21 ` Ciaran McCreesh
2009-05-17 4:56 ` Arun Raghavan
2009-05-16 23:39 ` Nick Fortino
2009-05-16 23:48 ` Ciaran McCreesh
2009-05-17 1:17 ` Nick Fortino
2009-05-22 2:04 ` Robert R. Russell
2009-05-17 0:31 ` Ravi Pinjala
2009-05-17 4:35 ` Richard Freeman
2009-05-17 11:40 ` Thomas Anderson
2009-05-17 12:00 ` Arun Raghavan
2009-05-17 0:35 ` [gentoo-dev] " Duncan
2009-05-17 0:50 ` Ciaran McCreesh
2009-05-17 1:58 ` Duncan
2009-05-17 4:43 ` Richard Freeman
2009-05-17 7:29 ` Patrick Lauer
2009-05-17 11:14 ` David Leverton
2009-05-17 7:40 ` Tiziano Müller
2009-05-17 8:01 ` Patrick Lauer
2009-05-16 16:39 ` [gentoo-dev] " Ciaran McCreesh
2009-05-16 18:38 ` Robert Buchholz
2009-05-16 18:42 ` Ciaran McCreesh
2009-05-16 9:27 ` Marijn Schouten (hkBst)
2009-05-16 9:59 ` David Leverton
2009-05-16 11:11 ` Ben de Groot
2009-05-16 18:10 ` William Hubbs
2009-05-16 18:14 ` Ciaran McCreesh
2009-05-16 18:22 ` William Hubbs
2009-05-16 12:14 ` [gentoo-dev] " Duncan
2009-05-16 14:15 ` Ciaran McCreesh
2009-05-16 17:28 ` David Leverton
2009-05-16 20:00 ` Joe Peterson
2009-05-16 20:11 ` Denis Dupeyron
2009-05-16 20:13 ` Denis Dupeyron
2009-05-17 8:29 ` [gentoo-dev] " Alistair Bush
2009-05-17 13:04 ` Richard Freeman
2009-05-16 21:58 ` [gentoo-dev] " Mark Bateman
2009-05-16 22:06 ` Ciaran McCreesh
2009-05-17 4:07 ` Mark Bateman
2009-05-17 16:35 ` Ciaran McCreesh
2009-05-17 16:54 ` Patrick Lauer
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=1461811.mMo8WK9hvy@news.friendly-coders.info \
--to=slong@rathaus.eclipse.co.uk \
--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