Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Check]: pkgcheck scan: "newer EAPI available" #666

Closed
1 task done
juippis opened this issue Feb 18, 2024 · 0 comments · Fixed by #670
Closed
1 task done

[New Check]: pkgcheck scan: "newer EAPI available" #666

juippis opened this issue Feb 18, 2024 · 0 comments · Fixed by #670
Assignees
Labels

Comments

@juippis
Copy link

juippis commented Feb 18, 2024

Is there an existing such new check request for this?

  • I have searched the existing issues

Explain

I wonder how feasible it would be to add a check which tells you when you can bump to latest available EAPI. Apparently we still have devs pushing EAPI-7 ebuilds when 8 would work. And this is seen tons with users who contribute sporadically, not following our latest -dev changes.

Examples

Someone pushes an EAPI-7 ebuild, while (with no inherits or) the eclasses inherited already supports EAPI-8.

Output message

Ebuild eligible for newer EAPI: 8

Documentation

No response

Result level

warning

@juippis juippis added the check label Feb 18, 2024
@arthurzam arthurzam self-assigned this Mar 1, 2024
arthurzam added a commit to arthurzam/pkgcheck that referenced this issue Mar 2, 2024
Catch cases where new ebuilds are committed with old EAPIs. This is
checked during `--commits` stage.

Resolves: pkgcore#666
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants