Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Ulrich Mueller <ulm@g.o>
Cc: David Seifert <soap@g.o>, Gentoo Dev <gentoo-dev@l.g.o>, base-system@g.o
Subject: Re: [gentoo-dev] [PATCH] savedconfig.eclass: clean up ED and EROOT usage
Date: Fri, 24 May 2019 05:56:38
Message-Id: CAJ0EP41jT8o43vmPNnkNiPSDnOzG85a=w_sS+Se2THYXDfC64A@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] savedconfig.eclass: clean up ED and EROOT usage by Ulrich Mueller
1 On Fri, May 24, 2019 at 1:24 AM Ulrich Mueller <ulm@g.o> wrote:
2 >
3 > >>>>> On Fri, 24 May 2019, Mike Gilbert wrote:
4 >
5 > > On Thu, May 23, 2019 at 7:16 PM David Seifert <soap@g.o> wrote:
6 > >> Given that there are no ebuilds in the tree using this eclass and being
7 > >> in EAPI 0, 1 or 2 (
8 > >> https://qa-reports.gentoo.org/output/eapi-per-eclass/savedconfig.eclass/
9 > >> ), wouldn't it make more sense to just whitelist EAPI >= 4 and clean up
10 > >> this backwards compatibility cruft instead?
11 >
12 > > I'm fixing a bug with the least invasive change possible. I'm not
13 > > trying to rework the eclass.
14 >
15 > AFAICS, that backwards compatibility code consists of two case
16 > statements, and the chance that removing them would break anything is
17 > close to zero. So I wouldn't call it a "rework". :)
18 >
19 > I'd rather remove than update that code for deprecated EAPIs. No ebuild
20 > would ever use it, so your updated code would never be tested.
21
22 Again, I'm fixing a bug. Removing EAPI 0-2 compatibility is
23 unnecessary to fix the bug.