public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Doug Klima <cardoe@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] EAPI placement
Date: Wed, 12 Dec 2007 09:22:41 -0500	[thread overview]
Message-ID: <475FEEB1.5020002@gentoo.org> (raw)
In-Reply-To: <20071212122100.1e11a426@blueyonder.co.uk>

Ciaran McCreesh wrote:
> On Tue, 11 Dec 2007 16:59:28 -0500
> Doug Klima <cardoe@gentoo.org> wrote:
>   
>> discuss.
>>     
>
> * EAPI may only be set before the 'inherit' in an ebuild.
>
> * Eclasses may not set EAPI.
>
> * Eclasses may not assume a particular EAPI.
>
> * If an eclass needs to work with multiple EAPIs, EAPI-specific code
> should be split out into foo-eapiBLAH.eclass, and EAPI-agnostic code
> and a conditional inherit should remain in foo.eclass.
>
> * Eclasses cannot be made not to work with any given EAPI. If such
> functionality is desirable, someone needs to file an EAPI request for
> permitting an alternative to 'die' that is legal in global scope.
>
>   
My point is it's fine to state this, however there needs to be
enforcement of this in the associated utilities. repoman, etc.
Unfortunately, eclasses are not checked at all at commit time, which
would allow developers to make this potentially catastrophic change.

So we're going to have "eapi 1 && inherit foo-eapi1.eclass" allowable in
"foo.eclass"? When will this "eapi" keyword be available for eclasses to
use?
-- 
gentoo-dev@gentoo.org mailing list



  parent reply	other threads:[~2007-12-12 14:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 21:59 [gentoo-dev] EAPI placement Doug Klima
2007-12-11 23:21 ` [gentoo-dev] " Markus Ullmann
2007-12-11 23:40   ` Thomas Anderson
2007-12-12  0:58     ` Doug Klima
2007-12-11 23:26 ` [gentoo-dev] " Marius Mauch
2007-12-12  1:00   ` Doug Klima
2007-12-13  2:43     ` Marius Mauch
2007-12-12  9:52 ` Petteri Räty
2007-12-12 14:20   ` Doug Klima
2007-12-12 14:27     ` Ciaran McCreesh
2007-12-12 15:23       ` Doug Klima
2007-12-12 12:21 ` Ciaran McCreesh
2007-12-12 14:08   ` Santiago M. Mola
2007-12-12 14:20     ` Ciaran McCreesh
2007-12-12 15:14       ` Piotr Jaroszyński
2007-12-13 16:16       ` Petteri Räty
2007-12-12 14:22   ` Doug Klima [this message]
2007-12-12 14:37     ` Ciaran McCreesh
2007-12-12 22:14   ` Carsten Lohrke
2007-12-12 22:37     ` Santiago M. Mola
2007-12-22 16:00       ` Carsten Lohrke
2007-12-12 22:50     ` Ciaran McCreesh
2007-12-15  9:43       ` Vlastimil Babka
2007-12-15 12:20         ` Marius Mauch
2007-12-22 16:27       ` Carsten Lohrke
2007-12-24  5:51     ` [gentoo-dev] " Steve Long
2007-12-24  8:27       ` Duncan
2007-12-24  8:38         ` [gentoo-dev] PMS location (Was: Re: EAPI placement) Ciaran McCreesh
2007-12-24 21:39           ` [gentoo-dev] " Duncan
2007-12-24 23:00             ` Roy Marples
2007-12-25  3:36               ` [gentoo-dev] Roy's retirement (Was: PMS location) Duncan
2007-12-25  3:52               ` [gentoo-dev] Re: PMS location (Was: Re: EAPI placement) Robin H. Johnson
2007-12-25  6:59                 ` Roy Marples

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=475FEEB1.5020002@gentoo.org \
    --to=cardoe@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