public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kent Fredric <kentnl@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Is removing old EAPIs worth the churn?
Date: Tue, 6 Mar 2018 18:56:13 +1300	[thread overview]
Message-ID: <20180306185613.5a1bde59@katipo2.lan> (raw)
In-Reply-To: <CAEdQ38H2fQuxxYg48cyD2__gH22R5xF34JCQrzEa1htDYyz=pQ@mail.gmail.com>

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

On Mon, 5 Mar 2018 17:52:54 -0800
Matt Turner <mattst88@gentoo.org> wrote:

> EAPI 2 removal bug: https://bugs.gentoo.org/648050
> 
> It seems like tons of churn to update old stable ebuilds to a new
> EAPI, just for its own sake. Take https://bugs.gentoo.org/648154 for
> example. New ebuild added with EAPI 6 bumped from EAPI 2. Otherwise
> functionally identical. Now asking arch teams to retest and
> restabilize. Multiply by 100 or more.
> 
> In the end we might get to delete some code from portage or an eclass?
> Does this seem worth it?
> 

New EAPI's don't just do nothing, some for example, add more power to
users.

EAPI6 is an especially significant example due to eapply_user becoming
standardized.

And with Perl packages at least, incrementing EAPI results in actual
changes driven by the eclass:

- Changes the names of various control variables
- Makes perl tests on by default, and parallel by default ( previously
  required opt-in )
- Disables the legacy code path that kills the '.packlist' files, which
  are actually useful to some tools, and was the wrong place to kill
  those files in the first place.

Incrementing EAPI also functions as an indicator that legacy approaches
and interfaces are moved away from, which can also signify an
improvement in ebuild quality.

In short, while it looks superficially useless, I'd argue that there's
a lot of nuanced benefits.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-03-06  5:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06  1:52 [gentoo-dev] Is removing old EAPIs worth the churn? Matt Turner
2018-03-06  5:56 ` Kent Fredric [this message]
2018-03-06 22:11   ` Matt Turner
2018-03-06  9:00 ` Dirkjan Ochtman
2018-03-06 22:13   ` Matt Turner
2018-03-10  5:07     ` Kent Fredric
2018-03-06 13:53 ` Michał Górny
2018-03-06 21:17 ` Andreas K. Huettel
2018-03-06 21:35   ` Rich Freeman
2018-03-06 22:22     ` Matt Turner
2018-03-06 22:27       ` Alec Warner
2018-03-06 23:39         ` Matt Turner
2018-03-07  0:12           ` Rich Freeman
2018-03-06 22:21   ` Matt Turner
2018-03-07  0:48     ` Andreas K. Huettel

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=20180306185613.5a1bde59@katipo2.lan \
    --to=kentnl@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