public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@blueyonder.co.uk>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: Place of EAPI variable in ebuild
Date: Sun, 11 Nov 2007 19:27:50 +0000	[thread overview]
Message-ID: <20071111192750.0ae8601c@blueyonder.co.uk> (raw)
In-Reply-To: <4737563A.9020303@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

On Sun, 11 Nov 2007 21:21:30 +0200
Petteri Räty <betelgeuse@gentoo.org> wrote:
> > Neither EAPI 0 nor EAPI 1 provide any mechanism for an ebuild to
> > 'die' at global scope. There's simply no way for eclasses to
> > complain that they're being misused.
> 
> Well nothing formal but the ebuild developer should pick up ewarn/echo
> /whatever messages coming from global scope. That's what we have in
> debug.eclass atm.

Past experience has shown that those messages will end up being seen by
end users and not being picked up by developers. People changing
eclasses generally don't force a metadata generation for every package
that uses the eclass.

I suspect that for existing eclasses, the safest way to proceed is to
make a new eclass and move common code into a third eclass. So you'd
have foo.eclass doing EAPI 0 specific stuff and inheriting foo-common,
and foo-eapi1.eclass doing EAPI 1 specific stuff and inheriting
foo-common.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-11-11 19:30 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 21:55 [gentoo-dev] RFC: Place of EAPI variable in ebuild Petteri Räty
2007-11-09 22:04 ` Ciaran McCreesh
2007-11-09 22:42   ` Petteri Räty
2007-11-09 23:00     ` [gentoo-dev] " Markus Ullmann
2007-11-10  0:10       ` Petteri Räty
2007-11-10  0:39     ` [gentoo-dev] " Carsten Lohrke
2007-11-10  0:57       ` Ciaran McCreesh
2007-11-09 22:07 ` Fabian Groffen
2007-11-11 19:01   ` Petteri Räty
2007-11-11 19:08     ` Ciaran McCreesh
2007-11-11 19:21       ` Petteri Räty
2007-11-11 19:27         ` Ciaran McCreesh [this message]
2007-11-11 20:50           ` Fabian Groffen
2007-11-11 21:04             ` Ciaran McCreesh
2007-11-11 23:27           ` Carsten Lohrke
2007-11-13 20:22     ` Chris Gianelloni
2007-11-13 20:31       ` Ciaran McCreesh
2007-11-14  0:17         ` Chris Gianelloni
2007-11-14  0:39           ` Ciaran McCreesh
2007-11-14  0:46             ` Ciaran McCreesh
2007-11-14  1:25             ` Chris Gianelloni
2007-11-14  1:34               ` Ciaran McCreesh
2007-11-14  1:39             ` Josh Saddler
2007-11-14  0:58       ` Petteri Räty
2007-11-12 23:11 ` Petteri Räty
2007-11-12 23:13   ` Petteri Räty

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=20071111192750.0ae8601c@blueyonder.co.uk \
    --to=ciaran.mccreesh@blueyonder.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