| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix DISTUTILS_USE_SETUPTOOLS check to process all Python implementations
with egg-infos present in site-packages (possibly none). This fixes
eclass errors when trying to call distutils-r1 functions when it is
actually disabled in DISTUTILS_OPTIONAL ebuilds. It also reduces noise
while processing.
Closes: https://bugs.gentoo.org/744079
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Allow DISTUTILS_USE_SETUPTOOLS guess to partially evaluate to bdepend
and partially to rdepend. That is the case in dev-python/hypothesis
that installs CLI tools for CPython but not PyPy3. In this case,
rdepend is the expected value.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move DISTUTILS_USE_SETUPTOOLS check from distutils-r1.eclass to install
QA checks, and rewrite it to use installed egg-info rather than greps
on input files. This produces less false positives, particularly
in packages that use boilerplate empty 'entry_points' in their setup
script or configuration file.
We also no longer require explicit setuptools RDEPEND for packages using
other entry point types than console_scripts -- instead, we assume that
the package consuming these entry points will bring setuptools
as necessary.
The rough idea is to look at egg-info metadata installed by distutils
or setuptools. Plain distutils installs it as a regular file, while
setuptools as a directory, and that's how we distinguish the two.
For setuptools, we additionally grep entry_points.txt for
`[console_scripts]`, and require RDEPEND when they are present.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Introduce a new configuration file for assigning QA check significance
levels to PGnnnn policies. Long-term goal is that this will permit
unified configuration of various QA tools, including pkgcheck, repoman
and install-qa-check.d.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
this will warn if package installs xml files to /usr/share/appdata
this location is deprecated, files should be installed to
/usr/share/metainfo
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
|
|
|
|
|
| |
These exceptions were made for the sys-apps/nix and sys-apps/guix
packages that are no longer in the tree.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/704286
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/657150
Closes: https://bugs.gentoo.org/696252
Signed-off-by: Aaron Bauman <bman@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
sys-apps/nix and sys-apps/guix are twins:
- sys-apps/nix manages /nix/store
- sys-apps/guix manages /gnu/store
Added 'gnu' and mentioned packages that own the directory.
Bug: https://bugs.gentoo.org/670902
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/670902
Suggested-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Bugs like bug #670902 get stuck due to unclear maintainership status.
Let's assign it to dev-portage@ as it historicallily lived in portage
source tree and QA does not take it over in bug #670902.
Bug: https://bugs.gentoo.org/670902
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/696832
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a check that detects Python modules that were not compiled after
installation. To limit false positives, this is only done on modules
installed to site-packages.
Early testing of this check made it possible to detect a bug
in python_optimize.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/690786
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/673696
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
| |
As approved by Trustees.
Bug: https://bugs.gentoo.org/672962
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Start out empty; entries will be added after approval by Trustees.
Bug: https://bugs.gentoo.org/672962
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Bug: https://bugs.gentoo.org/show_bug.cgi?id=667604
|
| |
|
|
|
|
| |
It is deprecated only for ebuilds, not for profiles.
|
|
|
|
| |
By 2018-05-13 council decision.
|
|
|
|
|
|
| |
This files are all bundled with repoman now.
See: https://github.com/gentoo/portage/commit/2ecf4e2b0ebdf727f2210f3b7db600e781cff1c4
|
|
|
|
|
|
|
|
| |
Update manifest-required-hashes according to the Council-approved plan
outlined in [1]. The Portage version supporting BLAKE2B is amd64-stable
for 3 months already.
[1]:https://archives.gentoo.org/gentoo-dev/message/682618f6d1cf4d63b30577cb1e9bd269
|
|
|
|
|
|
| |
These items have been moved to new /usr/share/repoman/{qa_data,linechecks}
directories. These directories can be installed to by third party add on modules.
These files could then be used via gettext for localized translation files.
|
| |
|
| |
|
|
|
|
|
|
| |
Switch manifest-hashes to 'BLAKE2 SHA512' and enable
manifest-required-hashes as 'SHA512' as decided on 2017-11-12 Council
meeting.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the manifest-required-hashes setting that specifies which hashes
need to be present in the Manifest files for Portage to consider old
distfile checksums acceptable (and not refetch the files to rehash
them). It is complementary to manifest-hashes that specifies which
hashes are used in new/updated entries.
Formerly, this setting was hardcoded in Portage. However, the new
Portage release will no longer do that and instead expect layout.conf
to supply the setting.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
With teh version field, repoman can check that it meets the API compatibility
requirements of the metadata/repoman file(s).
The minimum repoman_version is output in the repoman error message if the
currently installed repoman is not capable of handling all the file & data
features.
|
| |
|
| |
|
|
|
|
| |
This file is used to enable/disable scan_modules and linechecks modules.
|
|
|
|
|
|
| |
This file holds the main qa_data, defining the scope and help text
of the variuos errors and warnings.
This is the initial port of the data from qa_data.py.
|
| |
|
|
|
|
| |
and keep file sorted
|
|
|
|
| |
Gentoo-Bug:_ 551968
|
| |
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
| |
|