Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482884 - [Future EAPI] Introduce eqawarn
Summary: [Future EAPI] Introduce eqawarn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: PMS/EAPI
URL:
Whiteboard: in-eapi-7
Keywords:
Depends on:
Blocks: future-eapi perl-eclass
  Show dependency tree
 
Reported: 2013-08-29 07:34 UTC by Michał Górny
Modified: 2018-04-30 22:46 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-29 07:34:17 UTC
This portage function is stubbed in eutils and used widely within eclasses. I think we should move it to PMS.

The goal is to throw QA warnings to developers & ebuild maintainers.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-21 14:19:22 UTC
Anyone opposed to adding it in EAPI 7?
Comment 2 Ulrich Müller gentoo-dev 2015-11-21 15:36:28 UTC
This was filed in 2013 but hasn't made it into EAPI 6. So apparently there is not much interest.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-25 21:57:44 UTC
It's hard to expect much attention here when it's already implemented in Portage out-of-spec.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2015-11-27 15:01:36 UTC
That's a simple thing. Let's put it in EAPI=7. One function less which requires full eutils to be inherited.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2017-01-20 21:44:03 UTC
(In reply to Ulrich Müller from comment #2)
> This was filed in 2013 but hasn't made it into EAPI 6. So apparently there
> is not much interest.

Well, the main reason for that was that it was implemented elsewhere. 

Now, in EAPI=6 we are removing eutils.eclass whereever possible, and suddenly notice that *not* having eqawarn is kinda, dumb. So, my guess, in 2013 noone realized that side effect of EAPI=6. 

Please, let's add it in EAPI=7
Comment 6 Ulrich Müller gentoo-dev 2017-01-21 06:46:02 UTC
(In reply to Andreas K. Hüttel from comment #5)
> Please, let's add it in EAPI=7

It's on the list, see the whiteboard.
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-27 20:55:53 UTC
Footnote: Having this as a first-class feature would theoretically mean portage could (outside of PMS) make packages that emit eqawarn-ings fatal in some regard at a developers discretion.
Comment 8 Larry the Git Cow gentoo-dev 2018-04-30 22:14:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/pms.git/commit/?id=52042ff4084d2da88072e4f834ff19dc2843fae7

commit 52042ff4084d2da88072e4f834ff19dc2843fae7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2017-09-28 14:05:38 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2018-03-31 15:30:43 +0000

    EAPI 7 has eqawarn
    
    Bug: https://bugs.gentoo.org/482884

 eapi-differences.tex |  4 ++++
 pkg-mgr-commands.tex | 13 +++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)}