Releases: pkgcore/pkgcheck
Releases · pkgcore/pkgcheck
v0.10.29
- drop bundling of tree-sitter-bash (@arthurzam)
- use flit as build backend for pkgcheck (@arthurzam)
- PkgBadlyFormedXml: change level to error instead of a warning (@arthurzam, #668)
- git addon: support user global gitignore (@arthurzam, #671, #672)
New checks:
- NewerEAPIAvailable: committing new ebuilds with old EAPI (@arthurzam, #666)
v0.10.28
New checks:
- VariableOrderWrong: Enforce skel.ebuild variable order (@anthonyryan1, #645)
Fixed bugs:
- git: fix issues with no-copies (@arthurzam, @thesamesam, #663, #664)
- addons.net: suppress urllib3 import warnings (@CyberTailor, #661)
v0.10.27
- Dockerfile: introduce
pkgcheckdocker, created on release, which should provide stable and tested environment to run, for example in CI (@arthurzam) - Test pkgcheck with Python 3.12 and 3.13 (@thesamesam, #567)
New checks:
- UnstatedIuse: check for unstated IUSE in "?" dependencies (@arthurzam)
- SandboxCallCheck: check for invalid sandbox function calls (@arthurzam, #644)
- OldPackageName: check for package named after old package name (@arthurzam, #650)
- RepositoryCategories: check for fundamental category issues in the repository layout (@ferringb, #656)
Fixed bugs:
- pyproject.toml: add runtime dependency on setuptools for Python 3.12 (@arthurzam)
- MissingInherits: add some special variables to exclude list (@arthurzam)
- UnusedInherits: add whitelist for weak usage by another eclass, for example conditional automagic inherit (@arthurzam)
- GitCommitsCheck: fix tarfile Python 3.12 compatibility (@parona-source, #638)
- MissingRemoteId: improve gitlab matching rules (@parona-source, #636, #637)
- OutdatedProfilePackage: don't warn when version was removed not long ago (@arthurzam)
- DeprecatedDep: fix mishandling of slotted deprecates (@arthurzam, #642)
- DependencyMoved: show better error for dependency on pkgmove (@arthurzam, #649)
- compatibility: remove reliance on
repo.category_dirs(@ferringb, #656)
v0.10.26
- tree-sitter-bash: use and bundle the latest version of the bash grammar. This version is capable to parse all the bash code that was used in gentoo repository, meaning various false positives or parsing errors were fixed. (@arthurzam)
- git addon: pass options to disable finding copies (@thesamesam, #618)
- git addon: add helping message on failure of git remote setup (@arthurzam, #608)
New checks:
- VariableScopeCheck: add check for usage of prohibited variables in global scope (@arthurzam, #607)
- VariableScopeCheck: BROOT is allowed also in
pkg_{pre,post}{inst,rm}(@ulm, #609) - GlobDistdir: check for unsafe filename expansion with
${DISTDIR}(@arthurzam, #610) - EclassManualDepsCheck: check for missing manual deps for specific eclasses (@arthurzam, #616)
- UnstableSrcUri: check for known unstable
SRC_URIsources (@arthurzam, #599) - network: add codeberg remote-id (@laumann, #620)
- EmptyGlobalAssignment: check for empty global assignments (@arthurzam, #629)
- SelfAssignment: check for global scope self assignments (@arthurzam, #629)
- BannedPhaseCall: detect calls of phase functions directly in ebuilds (@arthurzam, #627)
- VariableShadowed: check to detect shadowed variable assignments (@arthurzam, #623)
- DuplicateFunctionDefinition: check for duplicate global functions (@arthurzam, #624)
- BannedEapiCommand: also check for
has_version --host-rootandbest_version --host-rootin EAPI>=7 (@arthurzam, #630) - BannedEapiCommand: add some extra user and group commands (@arthurzam)
Fixed bugs:
- RedundantLongDescription: lower too short threshold (@arthurzam, #614)
- tests.test_pkgcheck_scan: fix issues with xdist testing (@arthurzam)
v0.10.25
- scan: add
--git-remoteoption to select remote used for git operations (@arthurzam, #601)
New checks:
- RustCheck: check for suboptimal
-CRATESseparator (@arthurzam, #589) - RustCheck: check for suboptimal
cargo_crate_uriscall (@arthurzam, #589) - OutdatedProfilePackage: show unknown packages in profile with last match date (@arthurzam, #590)
- SrcUriFilenameDotPrefix: new check for
SRC_URIfilenames with dot prefix (@arthurzam, #592) - RubyCompatCheck: new check for new
USE_RUBYcompatible values, similar toPythonCompatCheck(@arthurzam, #595) - OldPythonCompat: check for old
PYTHON_COMPATin commit's modified ebuilds (@arthurzam, #596) - RepoManifestHashCheck: check for deprecated repo
manifest-hashes(@arthurzam, #598) - DeprecatedManifestHash: check for deprecated checksums in Manifest files (@arthurzam, #598)
- PerlCheck: optional check for versioned virtual perl dependencies (@arthurzam, #597)
Fixed bugs:
- MissingInherits: exclude
@USER_VARIABLEs(@arthurzam, #575) - scan: fix unknown exit checkset during initial config load (@arthurzam, #594)
- GitPkgCommitsCheck: fix failure during compute of environment (@arthurzam)
v0.10.24
New checks:
- UnknownCategoryDirs: enable for overlays and ignore scripts dir (@arthurzam, #564)
- PythonFetchableCheck: rewrite check to reuse
PYPI_SDIST_URI_RE(@mgorny, #569) - PythonFetchableCheck: include
PYPI_PNopportunities inPythonInlinePyPIURI(@mgorny, #568, #569) - PythonFetchableCheck: restore filename check in pypi.eclass default case (@mgorny, #572)
- MissingEAPIBlankLine: new optional check for missing blank after EAPI (@arthurzam, #570, #571)
- StaleLiveCheck: new check for stale live ebuilds EAPI version (@arthurzam, #578)
Fixed bugs:
- GitPkgCommitsCheck: fix modification check for added ebuilds in packages set (@arthurzam, #563)
- SrcUriChecksumChange: fix false positive with new ebuilds (@arthurzam, #553)
- fix config loading when
XDG_CONFIG_HOMEis defined (@agireud, #573) - scan: fix unknown checkset during initial config load for checksets declared in repository config (@arthurzam, #576)
- ProfilesCheck: fix handling of profiles with
-*declared inpackages(@arthurzam, #577)
v0.10.23
- scan: use
NO_COLORenvironment variable to disable colors instead ofNOCOLOR(@ulm, https://bugs.gentoo.org/898230)
New checks:
- network: add
kde-inventremote-id (@thesamesam, #551) - EbuildSemiReservedName: check for usage of semi-reserved names in ebuilds (@arthurzam, #552)
- PythonPEP517WithoutRevbump: check for DISTUTILS_USE_PEP517 addition or removal without revision bump (@thesamesam, #556)
- EAPIChangeWithoutRevbump: check for EAPI change without revision bump (@arthurzam, #558)
Fixed bugs:
- StableRequestCheck: ignore versions which aren't keyworded for stable arches (@arthurzam, #544)
- PythonMissingSCMDependency: update to new canonical package names of SCM python packages (@arthurzam)
v0.10.22
New checks:
- PythonInlinePyPIURI: new check for using inline PyPI URI instead of via new
pypi.eclass(@mgorny, #543)
Fixed bugs:
- SuspiciousSrcUriChange: fix false positives for
SRC_URImirror expanded (@arthurzam, #542) - SuspiciousSrcUriChange: fix false positives on user configuration with default mirror (@arthurzam, #548, #549)
- InvalidCommitTag: fix false positives with advanced formatted
FixesandRevertstags (@arthurzam, #546) - UnusedInherits: fix false positives for eclasses defining special global variables such as
SRC_URIandHOMEPAGE(@arthurzam, #361, #540)
v0.10.21
New checks:
- ProvidedEclassInherit: new check for inheriting provided eclases (@arthurzam, #509)
- MissingInherits: don't show for functions defined in ebuild (@arthurzam, #513)
- EclassUsageCheck: check for setting user variables in ebuilds (@arthurzam, #518)
- VariableScopeCheck: Disallow
DandEDinpkg_postinst(@ulm, #523) - ProfilesCheck: check for unknown
ARCHin make.defaults (@arthurzam, #525) - ProfilesCheck: check for unknown
USE&IUSE_IMPLICITin make.defaults (@arthurzam, #525) - ProfilesCheck: check for unknown
USE_EXPAND_*in make.defaults (@arthurzam, #525) - ProfilesCheck: check
USE_EXPAND_VALUES_*in make.defaults (@arthurzam, #525) - ProfilesCheck: check missing values for implicit in make.defaults (@arthurzam, #525)
- ArchesMisSync: check for missync between
arch.listandarches.desc(@arthurzam, #529) - SrcUriChecksumChange: check for changing checksums of distfiles without distfile rename (@arthurzam, #497)
- SuspiciousSrcUriChange: check for changing URLs of distfiles without distfile rename (@arthurzam, #497)
- InvalidMetadataRestrict: check for invalid restricts in metadata.xml (@arthurzam, #532)
- PythonPackageNameCheck: check for mismatching python package names (@mgorny, @arthurzam, #534)
- PythonCheck: check for missing BDEPEND on setuptools_scm or alike (@arthurzam, #534)
Fixed bugs:
- git checks: include revision for old name during
git mv(@arthurzam, #511) - Profile caching: use REPO profile base to improve cache hits (@doctaweeks, #528)
- MissingManifest: fix behavior under thick repos (@arthurzam, #530)
- scan: suppress non-error results in quiet mode (@arthurzam, #413)
- RdependChange: skip when revbumped in same batch (@arthurzam, #459)
- scan: fix no attribute live or slot for commits scanning (@arthurzam, #380)
- setup.py: fix usage of absolute path, which fixes compatibility with new setuptools (@arthurzam, https://bugs.gentoo.org/892938)
v0.10.20
v0.10.20