-
Notifications
You must be signed in to change notification settings - Fork 29
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
Warn on no-revbump for PEP517 #498
Comments
We need to handle this before too much of the tree is converted to PEP517, as it'll stop being useful then. |
Currently the issue is that in the git checks, we use the not-parsed ebuilds, which results in my inability to know the state of PEP517. This is the reason for it being postponed. |
I think we can do it with reduced accuracy if we regex-match the text for |
pkgcheck/src/pkgcheck/checks/git.py Lines 364 to 376 in 861c24a
|
Fixes: pkgcore#498 Signed-off-by: Sam James <sam@gentoo.org>
Fixes: pkgcore#498 Signed-off-by: Sam James <sam@gentoo.org>
Fixes: pkgcore#498 Signed-off-by: Sam James <sam@gentoo.org>
Fixes: pkgcore#498 Signed-off-by: Sam James <sam@gentoo.org>
Warn when DISTUTILS_USE_PEP517 is added or removed from an ebuild without a new revision. This is important because PEP517 affects a package's installed files anyway and it's important to ensure that dependencies work correctly against it, but also because e.g. config files or other data files might either now be installed to the wrong location or not installed at all. Developers must inspect the image before/after (e.g. using iwdevtools) to avoid issues. Fixes: pkgcore#498 Signed-off-by: Sam James <sam@gentoo.org>
Warn when DISTUTILS_USE_PEP517 is added or removed from an ebuild without a new revision. This is important because PEP517 affects a package's installed files anyway and it's important to ensure that dependencies work correctly against it, but also because e.g. config files or other data files might either now be installed to the wrong location or not installed at all. Developers must inspect the image before/after (e.g. using iwdevtools) to avoid issues. Fixes: pkgcore#498 Signed-off-by: Sam James <sam@gentoo.org>
Enabling PEP517 mode is a non-conservative change and may result in installed files changing. It should always be done in a new revision.
The text was updated successfully, but these errors were encountered: