Releases: pkgcore/pkgcheck
Releases · pkgcore/pkgcheck
v0.10.31
- fix compatibility with tree-sitter 0.23 (@arthurzam)
- bash completion: improve path handling (@arthurzam)
New Checks:
- OldPackageNameDep: check for dependency using previously moved package's name (@arthurzam, #659, #694)
- BadDependency: catch
:=
slot operator in PDEPEND (@arthurzam, #660)
Checks Updates:
- DistutilsNonPEP517Build: handle false positives when defined by eclass (@arthurzam)
- PythonCompatCheck: add whitelist for backports (@arthurzam)
- EmptyGlobalAssignment: ignore empty KEYWORDS (@arthurzam, #695)
v0.10.30
- pyproject: fix python compat with snakeoil (@antecrescent, #678)
- NetAddon: fix ftp call with
--timeout 0
(@antecrescent, #678) - NewerEAPIAvailable: handle better when no eclasses EAPI (@arthurzam, #679)
- fix compatibility with newest version of tree-sitter (@arthurzam)
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
pkgcheck
docker, 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_URI
sources (@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-root
andbest_version --host-root
in 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-remote
option to select remote used for git operations (@arthurzam, #601)
New checks:
- RustCheck: check for suboptimal
-
CRATES
separator (@arthurzam, #589) - RustCheck: check for suboptimal
cargo_crate_uris
call (@arthurzam, #589) - OutdatedProfilePackage: show unknown packages in profile with last match date (@arthurzam, #590)
- SrcUriFilenameDotPrefix: new check for
SRC_URI
filenames with dot prefix (@arthurzam, #592) - RubyCompatCheck: new check for new
USE_RUBY
compatible values, similar toPythonCompatCheck
(@arthurzam, #595) - OldPythonCompat: check for old
PYTHON_COMPAT
in 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_PN
opportunities 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_HOME
is 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_COLOR
environment variable to disable colors instead ofNOCOLOR
(@ulm, https://bugs.gentoo.org/898230)
New checks:
- network: add
kde-invent
remote-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_URI
mirror expanded (@arthurzam, #542) - SuspiciousSrcUriChange: fix false positives on user configuration with default mirror (@arthurzam, #548, #549)
- InvalidCommitTag: fix false positives with advanced formatted
Fixes
andReverts
tags (@arthurzam, #546) - UnusedInherits: fix false positives for eclasses defining special global variables such as
SRC_URI
andHOMEPAGE
(@arthurzam, #361, #540)