summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* install-qa-check.d: Check for missing tests in distutils-r1 ebuildsMichał Górny2021-05-291-0/+32
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: expect unset DUS for bdependMichał Górny2021-05-251-1/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* layout.conf: Permit PROPERTIES=test_networkMichał Górny2021-05-191-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Make DUS aware of gui_scriptsMichał Górny2021-04-291-1/+1
| | | | | | | Make DISTUTILS_USE_SETUPTOOLS check aware of gui_scripts in addition to console_scripts. Thanks to Arfrever for reporting. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Future-proof entry point values for DUSMichał Górny2021-04-291-6/+14
| | | | | | | | | | | | | | | Accept both 'rdepend' and 'bdepend' as DISTUTILS_USE_SETUPTOOLS values for packages installing entry points. Starting with Python 3.8, these packages do not require any runtime dependency. However, we do not want to proactively bother people with updating everything and instead provide the option to start performing opt-in updates. Note that technically PyPy3 (that implements Python 3.7 at the moment) continues requiring additional dependencies for entry point support. However, we do not support PyPy3 target in stable and generally do not consider it important enough to maintain extra complexity for. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Extend DUS check to handle no egg-infoMichał Górny2021-04-291-1/+4
| | | | | | | | If the package does not install any .egg-info files, i.e. distutils is probably not used at all, we do not the eclass to create a setuptools dependency. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Make DUS check distinguish entry pointsMichał Górny2021-04-291-8/+8
| | | | | | | | Make DISTUTILS_USE_SETUPTOOLS check explicitly distinguish rdepend due to entry points from explicit rdepend. This currently does not change the result but it will change in the future. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/install-qa-check.d: disable non-applicable QA checks for EAPI 5Sam James2021-04-101-2/+2
| | | | | | Fixes: bdcfb21ca5a84567e9c9d6a456374a05e798f78e Closes: https://bugs.gentoo.org/781878 Signed-off-by: Sam James <sam@gentoo.org>
* metadata/layout.conf: ban EAPI 4(!)Sam James2020-11-261-2/+3
| | | | | | | | | | | Thanks to everyone for their help in eradicating these older ebuilds! (Including putting up with naggy bugs.) Bug: https://bugs.gentoo.org/756748 Closes: https://bugs.gentoo.org/656140 Signed-off-by: Sam James <sam@gentoo.org>
* install-qa-check.d/60distutils...: silence requires.txt errorMichał Górny2020-10-171-1/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d/60distutils...: Squash more false positivesMichał Górny2020-10-161-3/+3
| | | | | | Thanks to Arfrever for help with the pipeline. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/qa-policy.conf: eutils.eclass is deprecated.Ulrich Müller2020-09-261-0/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* install-qa-check.d: Fix DUS check for DISTUTILS_OPTIONALMichał Górny2020-09-221-30/+33
| | | | | | | | | | | 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>
* install-qa-check.d: Simply DISTUTILS_USE_SETUPTOOLS logicMichał Górny2020-09-221-25/+24
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Allow bdepend/rdepend mix in DUS checkMichał Górny2020-09-221-2/+9
| | | | | | | | | 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>
* install-qa-check.d: Fix reporting integrity-errors in DUS checkMichał Górny2020-09-221-4/+7
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Account for setuptools in requires.txtMichał Górny2020-09-211-0/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: add DISTUTILS_USE_SETUPTOOLS checkMichał Górny2020-09-211-0/+60
| | | | | | | | | | | | | | | | | | | | | 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>
* python-utils-r1.eclass: Mark python_export privateMichał Górny2020-03-221-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/qa-policy.conf: Include deprecated eclassesMichał Górny2020-03-051-0/+16
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/qa-policy.conf: Introduce QA check configurationMichał Górny2020-03-051-0/+63
| | | | | | | | | 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>
* metadata/install-qa-check.d/60appdata-path: new checkGeorgy Yakovlev2020-02-131-0/+35
| | | | | | | | | | 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>
* install-qa-check.d: disallow "nix" and "gnu" as top-level paths.Michael Orlitzky2020-01-201-2/+0
| | | | | | | 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>
* metadata/install-qa-check.d/60python-pyc: Add EAPI guardMichał Górny2019-12-301-66/+69
| | | | | Closes: https://bugs.gentoo.org/704286 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/layout.conf: Update comment for EAPI 0 ban.Ulrich Müller2019-12-091-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* metadata/layout.conf: ban EAPI 0Aaron Bauman2019-12-091-2/+2
| | | | | | | Closes: https://bugs.gentoo.org/657150 Closes: https://bugs.gentoo.org/696252 Signed-off-by: Aaron Bauman <bman@gentoo.org>
* metadata/install-qa-check.d/08gentoo-paths: add guixSergei Trofimovich2019-11-121-1/+3
| | | | | | | | | | | 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>
* install-qa-check.d/08gentoo-paths: add nix to allowed_paths_toplevelZac Medico2019-11-111-1/+1
| | | | | | Closes: https://bugs.gentoo.org/670902 Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
* metadata/install-qa-check.d/08gentoo-paths: add explicit maintainerSergei Trofimovich2019-11-111-0/+3
| | | | | | | | | 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>
* metadata/layout.conf: Disallow RESTRICT=primaryuriMichał Górny2019-11-021-2/+2
| | | | | Bug: https://bugs.gentoo.org/696832 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d: Add check for missing Python bytecode (.pyc)Michał Górny2019-11-011-0/+84
| | | | | | | | | | | 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>
* metadata: Ban EAPI=2 since the last ebuild is gone.Andreas K. Hüttel2019-10-041-3/+3
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* metadata/layout.conf: Allow specific PROPERTIES and RESTRICT valuesZac Medico2019-08-051-0/+4
| | | | | Bug: https://bugs.gentoo.org/690786 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* metadata: gitignore repomanMichael Palimaka2019-03-161-0/+1
| | | | Signed-off-by: Michael Palimaka <kensington@gentoo.org>
* metadata/AUTHORS: add myselfMichał Górny2019-02-021-0/+1
| | | | | Bug: https://bugs.gentoo.org/673696 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata: Add entry to AUTHORS file.Ulrich Müller2018-12-241-0/+1
| | | | | | | As approved by Trustees. Bug: https://bugs.gentoo.org/672962 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* metadata: Add AUTHORS file.Ulrich Müller2018-12-201-0/+15
| | | | | | | 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>
* install-qa-check.d: Move 08gentoo-paths check outta PortageMichał Górny2018-10-061-0/+77
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Bug: https://bugs.gentoo.org/show_bug.cgi?id=667604
* layout.conf: Last EAPI=3 ebuild is gone, so ban committing new ones. \o/Andreas K. Hüttel2018-05-201-2/+4
|
* metadata/layout.conf: Clarify scope of EAPI 5 deprecation.Ulrich Müller2018-05-141-1/+1
| | | | It is deprecated only for ebuilds, not for profiles.
* metadata/layout.conf: EAPI 5 is deprecated.Ulrich Müller2018-05-141-1/+2
| | | | By 2018-05-13 council decision.
* metadata/repoman: remove experimental files for nowZac Medico2018-03-303-488/+0
| | | | | | This files are all bundled with repoman now. See: https://github.com/gentoo/portage/commit/2ecf4e2b0ebdf727f2210f3b7db600e781cff1c4
* metadata/layout.conf: Update manifest-required-hashes to BLAKE2BMichał Górny2018-02-191-1/+1
| | | | | | | | 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
* metadata/repoman: Move the qahelp and linechecks errors out of the repoBrian Dolbec2017-12-052-152/+0
| | | | | | 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.
* metadata: add Manifest.gz to gitignoreMichael Palimaka2017-11-281-0/+1
|
* layout.conf: Update the comment for manifest-hashesMichał Górny2017-11-211-5/+3
|
* layout.conf: Disable SHA256 & WHIRLPOOL hashes, enable BLAKE2BMichał Górny2017-11-211-1/+2
| | | | | | Switch manifest-hashes to 'BLAKE2 SHA512' and enable manifest-required-hashes as 'SHA512' as decided on 2017-11-12 Council meeting.
* layout.conf: Add manifest-required-hashes settingMichał Górny2017-11-101-0/+6
| | | | | | | | | | | | 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.
* metadata/layout.conf: Update year.Ulrich Müller2017-10-131-1/+1
|
* metadata/layout.conf: Update link to GLEP 59.Ulrich Müller2017-10-131-1/+1
|