public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3
Date: Thu, 9 Apr 2009 15:32:46 +0100	[thread overview]
Message-ID: <20090409153246.2dda1026@snowcone> (raw)
In-Reply-To: <1239241866.29054.38.camel@localhost>

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

On Thu, 09 Apr 2009 04:51:06 +0300
Mart Raudsepp <leio@gentoo.org> wrote:
> doins support for symlinks
> ==========================
> 
> Lacking information. Need to see if the PMS draft has anything about
> it. The bug and summaries just talk about the support, but no
> details. Would it be an argument to doins?

The PMS draft explains it. It's simple, though: currently, doins on a
symlink does something arbitrary. We want it to install the symlink.

> unpack failing on unknown types
> ===============================
> 
> Uncertain about it's worthiness. Might rather have the opposite with a
> --strict argument kind of deal. No official objection from me.

What with the moving towards auto-die, the trend is towards "strict
unless explicitly told not to be".

> properties must be cached properly
> ==================================
> 
> No opinion, up to the package manager developers.
> Don't see offhand why it should be an EAPI item at all. Feels like an
> implementation detail.

The cache format's tied to EAPI in a fairly unpleasant manner. It's a
necessary evil.

> DEFINED_PHASES must be supported (and cached properly)
> ======================================================
> 
> No opinion, up to the package manager developers more or less.
> Not sure why this needs to be an EAPI item. Hard to see a use case for
> the variable being available for ebuild usage for it to be necessary
> to be an EAPI item.

DEFINED_PHASES isn't available to the ebuild. But it is in the metadata
cache, which PMS has to cover.

> By my understanding it is (also?) a required implementation detail to
> handle pkg_pretend sanely and with minimal time hit.

Correct. Without it there's a delay of ~0.1s per ebuild in the
resolution set at pretend time, which soon adds up for certain
reasonably common use cases.

> Limit values in $USE to ones in $IUSE:
> ======================================
> 
> Seems more of a QA test, but forcing it can make it be caught at
> start. Don't see why it must be an EAPI item. Just vet the tree of
> (future?) repoman warnings about it and make it happen for
> all EAPIs. Impact on overlays is minimal because it is a QA error to
> not define them and they get what they asked for.

It needs to be in EAPI because we're talking about changing how the
ebuild environment is specified. Also, repoman can't catch most
accidental abuses of this.

> --disable-dependency-tracking:
> ==============================
> 
> possible breakage of (custom) configure scripts that don't accept
> unknown arguments. Would be nice to pass that for most packages, but
> doing it always with econf seems slightly inappropriate, given the
> above.

Please provide a list of packages that use custom configure scripts,
that currently work with econf (including all the weird things it
already passes), that would break with this change and whose ebuilds are
using econf. I have yet to see any examples provided.

> utility commands should die by default
> ======================================
> 
> Would like to see a list of those utility commands that would be made
> to die by default.

The PMS draft has one.

> ban || ( foo? ( . ) . )
> =======================
> 
> It is not the business of an EAPI to start disallowing *DEPEND string
> constructs.
> There is no useful alternative provided yet to my knowledge and this
> is really a QA issue, not an EAPI issue.

There is no use case for the construct anyway.

> Not convinced on the sub-optimal use case being the only one, either.
> 
> Strongly objecting on the grounds that it is not something that should
> be an EAPI issue.

Behaviour of || ( foo? ( . ) ) is already an EAPI issue, and has a
horrible section of PMS devoted to explaining its quirky behaviour.

> I'm not even sure anymore where to find a list of items that is
> current for what's on the table for EAPI-3 right now...

Do a git log on the PMS draft (or look at the summary table in the
appendix). It's fairly close to one commit per EAPI item.

-- 
Ciaran McCreesh

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

  parent reply	other threads:[~2009-04-09 14:32 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08  7:49 [gentoo-dev] Ideas for a (fast) EAPI=3 Tiziano Müller
2009-03-08  8:08 ` Josh Saddler
2009-03-08  8:29   ` [gentoo-dev] " Christian Faulhammer
2009-03-08  8:38   ` [gentoo-dev] " Ciaran McCreesh
2009-03-08  9:32     ` Ulrich Mueller
2009-03-08  9:43   ` Tiziano Müller
2009-03-08 10:20     ` Ulrich Mueller
2009-03-08 11:05     ` Arfrever Frehtes Taifersar Arahesis
2009-03-08 11:23       ` Tiziano Müller
2009-03-08 16:22 ` Robert Buchholz
2009-03-08 18:31   ` Tiziano Müller
2009-03-08 16:42 ` Donnie Berkholz
2009-03-08 16:48   ` Ciaran McCreesh
2009-03-08 17:01     ` Donnie Berkholz
2009-03-08 17:24       ` William Hubbs
2009-03-08 18:24       ` Donnie Berkholz
2009-03-08 18:35         ` Tiziano Müller
2009-03-08 18:41           ` Donnie Berkholz
2009-03-08 18:27       ` Tiziano Müller
2009-03-08 22:16         ` Donnie Berkholz
2009-03-08 22:35           ` Tiziano Müller
2009-03-09  4:22             ` Donnie Berkholz
2009-03-09  6:31               ` Donnie Berkholz
2009-03-09  9:17                 ` Tiziano Müller
2009-03-09  9:02               ` [gentoo-dev] " Christian Faulhammer
2009-03-09  9:12               ` [gentoo-dev] " Michael Haubenwallner
2009-03-09 18:01                 ` Tobias Scherbaum
2009-03-09  1:46   ` Thomas Anderson
2009-03-08 17:20 ` Jesus Rivero
2009-03-08 17:44   ` Ciaran McCreesh
2009-03-08 18:06 ` Stelian Ionescu
2009-03-08 18:29   ` Tiziano Müller
2009-03-09  8:39 ` [gentoo-dev] " Christian Faulhammer
2009-03-09  9:01   ` Daniel Pielmeier
2009-03-09  9:06     ` Christian Faulhammer
2009-03-09  9:13       ` Daniel Pielmeier
2009-03-09  9:14       ` Tiziano Müller
2009-03-13  8:48         ` Christian Faulhammer
2009-03-09 20:26 ` [gentoo-dev] " Ciaran McCreesh
2009-03-09 20:56   ` Zac Medico
2009-03-09 21:08     ` Ciaran McCreesh
2009-03-09 21:28       ` Zac Medico
2009-03-09 21:37         ` Ciaran McCreesh
2009-03-09 21:33   ` [gentoo-dev] " Christian Faulhammer
2009-03-09 21:36     ` Ciaran McCreesh
2009-03-09 22:20       ` Christian Faulhammer
2009-03-09 22:25         ` Ciaran McCreesh
2009-03-09 23:25           ` Christian Faulhammer
2009-03-10 12:33             ` Ciaran McCreesh
2009-03-10 16:11               ` Christian Faulhammer
2009-03-10 16:17                 ` Ciaran McCreesh
2009-03-10  3:58           ` Alec Warner
2009-03-10 12:35             ` Ciaran McCreesh
2009-03-10 16:00               ` Christian Faulhammer
2009-03-10 16:07                 ` Ciaran McCreesh
2009-03-09 22:24       ` Maciej Mrozowski
2009-03-09 22:28         ` Ciaran McCreesh
2009-03-09 22:39   ` [gentoo-dev] " Donnie Berkholz
2009-03-09 22:53     ` Ciaran McCreesh
2009-03-12 18:43       ` Donnie Berkholz
2009-03-12 18:48         ` Ciaran McCreesh
2009-03-10  9:08     ` Michael Haubenwallner
2009-03-10 12:33       ` Ciaran McCreesh
2009-03-09 22:39   ` Peter Alfredsen
2009-03-10 17:51   ` Sébastien Fabbro
2009-03-10 19:59   ` Doug Goldstein
2009-03-09 22:38 ` Jeremy Olexa
2009-03-09 22:58   ` Ciaran McCreesh
2009-03-10 15:30 ` Ciaran McCreesh
2009-03-12 23:05 ` Maciej Mrozowski
2009-03-12 23:20   ` Ciaran McCreesh
2009-03-13 20:11 ` Ciaran McCreesh
2009-03-13 22:31   ` Tiziano Müller
2009-04-09  1:51 ` Mart Raudsepp
2009-04-09  2:12   ` Mart Raudsepp
2009-04-09  3:02   ` Olivier Crête
2009-04-09  8:37   ` Tiziano Müller
2009-04-09 10:44     ` Mart Raudsepp
2009-04-09 14:36       ` Ciaran McCreesh
2009-04-09 14:32   ` Ciaran McCreesh [this message]
2009-04-13 12:55     ` Peter Volkov

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=20090409153246.2dda1026@snowcone \
    --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