summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* metadata/stabilization-groups: Add a llvm groupMichał Górny2023-09-101-0/+21
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/stabilization-groups: add qt-docs to qt/qt6.groupIonen Wolkens2023-09-061-0/+1
| | | | Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* metadata/stabilization-groups: add qt/qt6.groupIonen Wolkens2023-09-051-0/+26
| | | | | | | | | | | | | | | | It may be extra work but planning to stabilize all qt6 modules together not to repeat headaches users been having with qt5 and mismatching keywords. New modules being packaged should be added here as well unless it is not possible to stabilize due to dependencies. Note this is more or less a test file (or notes) currently. Tooling may need time to understand disparities between slots combined with ebuild quirks. Closes: https://github.com/gentoo/gentoo/pull/32450 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* metadata/stabilization-groups: add watchman.groupSam James2023-09-041-0/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* metadata/stabilization-groups: add qalculate.groupSam James2023-09-041-0/+2
| | | | | | We may also have qalculate-qt at some point. Signed-off-by: Sam James <sam@gentoo.org>
* metadata/stabilization-groups: fix extension for python/glake8Arthur Zamarin2023-09-011-0/+0
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* metadata/stabilization-groups: Add python/flake8Michał Górny2023-09-011-0/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/stabilization-groups: Add initial python setMichał Górny2023-09-014-0/+9
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata: Add x11 package stabilization groupsMatt Turner2023-08-303-0/+11
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* metadata/stabilization-groups: add .group extensionArthur Zamarin2023-08-298-0/+0
| | | | | | | | | | | After further consideration, it seems that the requiring .group extension will make our life easier, with exact format, and save us from backup files, readme or similar. https://github.com/pkgcore/pkgcore/pull/412#discussion_r1307738865 Suggested-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* metadata: Add gnome package stabilization groupsMatt Turner2023-08-237-0/+20
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* metadata: Add stabilisation group for AnsibleMarek Szuba2023-08-211-0/+2
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* licenses: The Lucent Public License is version 1.02, not 1.2Ulrich Müller2023-08-181-1/+1
| | | | | Fixes: 6fa2a9610635912a3b9982c10273fab8b70573c1 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* metadata/install-qa-check.d: Check for subdirs in /bin and its friendsUlrich Müller2023-08-171-1/+5
| | | | | Bug: https://bugs.gentoo.org/912354 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* licenses: Rename 9base to LPL-1.2Ulrich Müller2023-08-171-0/+1
| | | | | | | | | Delete initial text which isn't part of the license itself. Add LPL-1.2 to license-mapping.conf. Update all ebuilds using it. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* licenses: Add BUSL-1.1Ulrich Müller2023-08-111-0/+1
| | | | | | | | Business Source License 1.1, text taken from: https://spdx.org/licenses/BUSL-1.1.html Bug: https://bugs.gentoo.org/912053 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* install-qa-check.d: Fix 60python-pyc to test pypy3.* as wellMichał Górny2023-05-171-1/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata: Add GNU FDL to license-mapping.confUlrich Müller2023-01-071-0/+21
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* licenses: Add MIT-0Ulrich Müller2023-01-071-1/+2
| | | | | Bug: https://bugs.gentoo.org/890002 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* metadata: Add license-mapping.conf for SPDX license mappingMichał Górny2022-11-221-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a file defining mapping of SPDX-2.0 license identifiers to Gentoo ebuild licenses. This was originally discussed on Gentoo Bugzilla [1], the submitted to the gentoo-dev ml [2]. The proposed file uses the common key-value format used for configuration files. Currently only `spdx-to-ebuild` section is defined but other kinds of mapping can be added in the future. As described in the top comment, it provides the ability to map SPDX-2.0 license identifiers along with the `+` and `WITH` operators to arbitrary Gentoo LICENSE strings (including all-of and any-of groups). The initial list was based on cargo-ebuild's license.rs [3], courtesy of Leonardo H. Neumann and Georgy Yakovlev. I have done some changes, particularly removed some incorrect mappings and added more variants from the same license groups (e.g. GPL variants). Ulrich Müller has noticed a number of problems and given helpful suggestions. A parser for this file format is implemented in pycargoebuild [4]. [1] https://bugs.gentoo.org/706472 [2] https://archives.gentoo.org/gentoo-dev/message/01924bb71411696dce04445d85da508d [3] https://gitweb.gentoo.org/proj/cargo-ebuild.git/tree/src/license.rs?id=b4314edc5bb672f5e94dcbc996f443e98fdb4dba [4] https://github.com/projg2/pycargoebuild/ Closes: https://github.com/gentoo/gentoo/pull/28256 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/qa-policy.conf: Drop deprecated-eclass sectionUlrich Müller2022-10-221-13/+0
| | | | | | | Nothing is using this and the list is outdated. Use the @DEPRECATED tag in eclasses instead. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* metadata/qa-policy.conf: Add user-group-ids sectionUlrich Müller2022-10-221-1/+11
| | | | | | | | | See also user and group account policy: https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901 Bug: https://github.com/pkgcore/pkgcheck/issues/356 Suggested-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* metadata/install-qa-check.d: don't use nonfatal on older EAPIs in 60python-pycSam James2022-09-191-1/+3
| | | | | | Bug: https://bugs.gentoo.org/869182 Fixes: c310e44692ad91777c71394dda97cd1f33f72589 Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: add 60noop-testsuitesmatoro2022-08-211-0/+28
| | | | | | | | | | | | This attempts to catch autotools-based tests that will pass without actually executing any tests due to automagic-based rules like the presence/absence of a dependency. (sam: This was written based on my notes for implementation.) Bug: https://bugs.gentoo.org/848579 Closes: https://github.com/gentoo/gentoo/pull/26237 Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: don't fail if has_version diedSam James2022-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | During Python target migrations, if portage[-ipc], portageq can't be invoked as a binary (which has_version does behind the scenes w/ -ipc), so just call it w/ nonfatal, to avoid aborting the emerge and possibly hurting the system (imagine python-exec gets upgraded but portage wasn't yet). Fails like: ``` ${EPREFIX}/Gentoo/usr/lib/python-exec/python3.9/portageq: this Python implementation (python3.9) is not supported by the script. * ERROR: app-admin/perl-cleaner-2.30::gentoo_prefix failed: * has_version: unexpected portageq exit code: 127 * * Call stack: * misc-functions.sh, line 1334: Called install_qa_check * misc-functions.sh, line 138: Called source 'install_symlink_html_docs' * 60python-pyc, line 118: Called python_pyc_check * 60python-pyc, line 22: Called has_version 'install_hooks' * phase-helpers.sh, line 986: Called ___best_version_and_has_version_common '${EPREFIX}/Gentoo/var/db/repos/gentoo/metadata/install-qa-check.d/60python-pyc' * phase-helpers.sh, line 973: Called die * The specific snippet of code: * die "${FUNCNAME[1]}: unexpected portageq exit code: ${retval}" ``` Bug: https://bugs.gentoo.org/778014 Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: only check images w/ site-packagesSam James2022-08-031-0/+3
| | | | | | | | Avoid noise on all merges even if no Python files installed. No need to use siteimpl function as > Python 2.7 (and .. 3.6? 3.7?) it's all standard anyway. Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: drop -b from has_version in 60python-pycSam James2022-08-031-1/+1
| | | | | | | Only for EAPI 7+, duh. Not going with the faff of --host-root for EAPI 6 etc for now given it's just an optional check. Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: skip 60python-pc if gpep517 too oldSam James2022-08-031-0/+5
| | | | | | | | | | | | | | | When building libseccomp, say: ``` * Verifying compiled files for python3.9 usage: /usr/lib/python-exec/python3.9/gpep517 [-h] {get-backend,build-wheel,install-wheel} ... /usr/lib/python-exec/python3.9/gpep517: error: argument command: invalid choice: 'verify-pyc' (choose from 'get-backend', 'build-wheel', 'install-wheel') strip: i686-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version ``` The gpep517 >= dep is in distutils-r1 but this check applies to other ebuilds. So, use has_version -b. Signed-off-by: Sam James <sam@gentoo.org>
* install-qa-check.d: Rewrite 60python-pyc to use gpep517Michał Górny2022-08-021-72/+96
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/layout.conf: Ban EAPI 5Jakov Smolić2022-07-181-3/+4
| | | | | | | | | Thanks to everyone who helped with cleaning out ebuilds 🎉 Closes: https://bugs.gentoo.org/698100 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/26465 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
* install-qa-check.d: Enable 60python-pyc in EAPI 8Michał Górny2022-07-161-1/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* install-qa-check.d/60udev-eclass: check for udev_reload in pkg_postrmMike Gilbert2022-06-071-0/+5
| | | | | Bug: https://bugs.gentoo.org/847436 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* metadata/install-qa-check.d: further fix 60libtool-la library checkIonen Wolkens2022-05-061-1/+1
| | | | | | | Without -t, the delimiter (newline) is not stripped and so elements do not end in .la to be replaced by .a Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* metadata/install-qa-check.d: fix check for static library in 60libtool-laSam James2022-05-061-5/+1
| | | | | Thanks-to: Ionen Wolkens <ionen@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: add missing whitespace in 60udev-eclassAgostino Sarubbo2022-05-021-1/+1
| | | | Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
* metadata/install-qa-check.d: add new QA check for udev rulesSam James2022-04-301-0/+63
| | | | | | | | | | | | | | | | | | | | Very similar to tmpfiles.eclass check (60tmpfiles-paths). Three checks: 1) Verify packages don't install udev rules to /etc/udev/rules.d, which is a forbidden (user-configuration) location; 2) Check whether packages inherit udev.eclass if they're installing files to /lib/udev/rules.d/.. (This helps to catch packages not calling udev_reload in pkg_postinst). 3) Check for missing udev_process calls in pkg_postinst. Bug: https://bugs.gentoo.org/433916 See: c7fe1066a8fcd35f965de4ea16c9cd1001830642 Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: fix minor typo in commentSam James2022-04-281-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: avoid -d'' in readarraySam James2022-04-271-1/+2
| | | | | | Needs newer Bash. Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: try to silence libtool-la stderrSam James2022-04-271-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: use readarraySam James2022-04-261-1/+1
| | | | | | | Otherwise we end up not splitting correctly in the loop over files (file contains two entries). Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: clarify QA warningSam James2022-04-191-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Revert "metadata/install-qa-check.d: swap libltdl check to 'has'"Sam James2022-04-191-1/+1
| | | | | | | | | | This reverts commit 8226609cee46af93656676350895135dbd910793. This ends up not matching things like "dev-libs/libltdl:0" and breaks (false positive) on e.g. imagemagick. Closes: https://bugs.gentoo.org/839387 Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: swap libltdl check to 'has'Sam James2022-04-171-1/+1
| | | | | | | | It's a bit cleaner and will hopefully mean we don't catch a hypothetical libltdl2. Not too stressed over such a possibility anyway. Thanks-to: michael Orlitzky <mjo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: add 60libtool-la (check for unnecessary .la files)Sam James2022-04-171-0/+45
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: update 60python-pyc to refer to Python guideSam James2022-03-041-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: fix 60gtk-doc-paths check for EAPI 7+Sam James2022-03-041-5/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* metadata/install-qa-check.d: drop 60distutils-use-setuptools againMike Gilbert2022-02-011-2/+0
| | | | | Bug: https://bugs.gentoo.org/832446 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* metadata/install-qa-check.d: add stub for 60distutils-use-setuptoolsMike Gilbert2022-01-311-0/+2
| | | | | | | Work around broken rsync master script. Bug: https://bugs.gentoo.org/832446 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* install-qa-check.d: Remove 60distutils-use-setuptoolsMichał Górny2022-01-161-97/+0
| | | | | | | | | Remove the DISTUTILS_USE_SETUPTOOLS correctness check that is misfiring once again (with setuptools-60+). All the special cases it was supposed to detect are no longer relevant, and the upcoming PEP 517 mode deprecates DUS entirely. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* metadata/install-qa-check.d: skip some checks when TMPFILES_OPTIONAL is setSam James2021-08-191-6/+6
| | | | | | | | | This is a good enough proxy for "this package has a complicated relationship with tmpfiles" and replaces the hardcoded list of exemptions. Closes: https://bugs.gentoo.org/808781 Signed-off-by: Sam James <sam@gentoo.org>