From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Eclass vs EAPI For Utility Functions (Patching/etc)
Date: Sun, 15 Jun 2014 13:14:12 +0100 [thread overview]
Message-ID: <20140615131412.18cdfc26@googlemail.com> (raw)
In-Reply-To: <CAGfcS_kix1enpz4uwj5tO-Qeeqrp=8tKWjdMiC1QuUR-g8R4Tg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 966 bytes --]
On Sun, 15 Jun 2014 07:00:15 -0400
Rich Freeman <rich0@gentoo.org> wrote:
> The Eclass argument goes like this:
> Eclasses already work in every PM. Half of what we're debating is
> already in eutils. Why move this code into the PM, where it has to be
> re-implemented everywhere? If anything we should be moving more PM
> functionality out and into eclasses where we can have competing
> implementations and more flexibility.
The big problem with eclasses is that they're far too messy and
complicated. Sure, you can *technically* express (say) ABI dependencies
using a complicated eclass which translates them into a convoluted
series of use dependencies, nested || dependencies etc (more or less
correctly most of the time). But the package mangler is being given less
information that way, which means it has to have all sorts of dodgy
heuristics to deal with them, and can't give good error messages when
it breaks.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2014-06-15 12:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-15 11:00 [gentoo-dev] Eclass vs EAPI For Utility Functions (Patching/etc) Rich Freeman
2014-06-15 12:14 ` Ciaran McCreesh [this message]
2014-06-15 13:30 ` Michał Górny
2014-06-19 22:05 ` [gentoo-dev] " Steven J. Long
2014-06-19 22:22 ` Rich Freeman
2014-06-15 23:36 ` [gentoo-dev] Auto-patching ebuilds themselves Was: " Duncan
2014-06-16 9:54 ` [gentoo-dev] " Pacho Ramos
2014-06-19 17:03 ` William Hubbs
2014-06-19 17:53 ` Rich Freeman
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=20140615131412.18cdfc26@googlemail.com \
--to=ciaran.mccreesh@googlemail.com \
--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