From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] eapi function (Was: Collecting opinions about GLEP 55 and alternatives)
Date: Thu, 26 Feb 2009 00:11:04 +0000 [thread overview]
Message-ID: <20090226001104.3cec09e5@snowmobile> (raw)
In-Reply-To: <20090226000246.GK3506@hrair>
[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]
On Wed, 25 Feb 2009 16:02:46 -0800
Brian Harring <ferringb@gmail.com> wrote:
> Bullshit. First invocation of the ebuild, that means it can do
> whatever it wants to the environment- literally swapping in the EAPI
> environment right then/there. Auto inherits, changing the inherit
> mechanism, everything (this includes shopt adjustments).
>
> Not even sure why you're arguing that one, but back it up w/ examples
> if you want to continue that line of FUD.
You can do that on a variable assignment too, with all the same
implications as having it as a function, and a slightly less horrible
upgrade path.
> > Global scope die is very very messy. This leaks out to users in the
> > form of horrible messages that make the user think something's badly
> > broken.
>
> One would think "upgrade your manager" would be... self explanatory.
> Regardless, spelling it out- the user visible barf is only visible on
> existant managers.
>
> For any manager supporting eapi>2 (thus having the function), the
> function can exist out cleanly (no stderr complaints) from sourcing
> at that point without issue.
Which is a "wait a year or more" thing... If you do it with a variable
instead of a function, you can at least roll out EAPI 3 (without any
global scope changes, but with the stricter "stop on setting an
unsupported EAPI" requirement) without the wait.
> Every proposal has uglyness- g55 for example doesn't give the user
> any indication that they're not seeing ebuilds due to EAPI (in other
> words loss of functionality that exists now).
Given you're a proponent of not showing users things that're merely
masked...
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-02-26 0:11 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-24 22:21 [gentoo-dev] Collecting opinions about GLEP 55 and alternatives Petteri Räty
2009-02-24 22:49 ` Ferris McCormick
2009-02-24 23:48 ` [gentoo-dev] " Ryan Hill
2009-02-25 0:38 ` [gentoo-dev] " Richard Freeman
2009-02-25 2:40 ` Jeremy Olexa
2009-02-25 3:53 ` Dawid Węgliński
2009-02-25 4:32 ` Alistair Bush
2009-02-25 6:46 ` Alec Warner
2009-02-25 6:49 ` Jeroen Roovers
2009-02-25 6:53 ` Ulrich Mueller
2009-02-25 21:00 ` Joe Peterson
2009-02-25 8:16 ` Alexis Ballier
2009-02-25 10:05 ` Tobias Klausmann
2009-02-25 10:34 ` Peter Alfredsen
2009-02-25 10:59 ` Michael Haubenwallner
2009-02-25 11:18 ` Mike Auty
2009-02-25 11:57 ` Jim Ramsay
2009-02-25 12:49 ` Brian Harring
2009-02-25 22:19 ` Andrew Gaffney
2009-02-25 23:03 ` [gentoo-dev] eapi function (Was: Collecting opinions about GLEP 55 and alternatives) Ciaran McCreesh
2009-02-26 0:02 ` Brian Harring
2009-02-26 0:11 ` Ciaran McCreesh [this message]
2009-02-26 0:24 ` Brian Harring
2009-02-26 0:32 ` Ciaran McCreesh
2009-02-26 0:43 ` Jorge Manuel B. S. Vicetto
2009-02-26 0:51 ` Ciaran McCreesh
2009-02-26 11:07 ` Petteri Räty
2009-02-25 14:33 ` [gentoo-dev] Collecting opinions about GLEP 55 and alternatives Robert Buchholz
2009-02-25 19:03 ` Thomas Anderson
2009-02-25 21:09 ` Josh Saddler
2009-02-26 2:13 ` Ravi Pinjala
2009-02-26 3:13 ` Kumba
2009-02-28 20:52 ` Kumba
2009-02-26 5:36 ` Zac Medico
2009-02-26 18:07 ` Ciaran McCreesh
2009-02-26 18:20 ` Ciaran McCreesh
2009-02-26 18:47 ` Nirbheek Chauhan
2009-02-26 18:56 ` Ciaran McCreesh
2009-02-26 19:16 ` Nirbheek Chauhan
2009-02-26 19:24 ` Ciaran McCreesh
2009-02-27 9:27 ` Caleb Cushing
2009-02-27 10:52 ` Rémi Cardona
2009-02-28 10:56 ` Peter Volkov
2009-02-28 12:25 ` Fernando J. Pereda
2009-02-28 19:39 ` Robert Bridge
2009-02-28 19:46 ` Ciaran McCreesh
2009-03-02 7:31 ` [gentoo-dev] " Christian Faulhammer
2009-03-02 8:33 ` Tiziano Müller
2009-03-02 21:23 ` [gentoo-dev] " Thilo Bangert
2009-03-09 13:01 ` Jacob Floyd
2009-03-09 15:54 ` [gentoo-dev] " Duncan
2009-03-09 19:54 ` Richard Freeman
2009-03-10 6:18 ` Duncan
2009-03-10 15:58 ` Christian Faulhammer
2009-03-10 21:11 ` Santiago M. Mola
2009-03-10 8:53 ` [gentoo-dev] " Michael Haubenwallner
2009-03-12 17:18 ` Alistair Bush
2009-03-13 10:29 ` Michael Haubenwallner
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=20090226001104.3cec09e5@snowmobile \
--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