Skip to content

Releases: pkgcore/pkgcheck

v0.10.32

23 Nov 13:01
v0.10.32
fffd710
Compare
Choose a tag to compare

Checks Updates:

  • various Python checks: recognize dev-lang/pypy as a Python interpreter package (@mgorny, #708)
  • EclassManualDepsCheck: update for the new rust eclass: direct dependencies on dev-lang/rust and dev-lang/rust-bin; RUST_OPTIONAL variable (@mgorny, #718)
  • PythonPackageNameCheck: enforce the stricter PyPI package naming policy that requires using lowercase names with hyphens (@mgorny, #717)

v0.10.31

06 Sep 11:20
v0.10.31
dc45e03
Compare
Choose a tag to compare
  • 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

18 May 11:57
v0.10.30
257d394
Compare
Choose a tag to compare

v0.10.29

17 May 14:41
v0.10.29
0dfe3b4
Compare
Choose a tag to compare

New checks:

  • NewerEAPIAvailable: committing new ebuilds with old EAPI (@arthurzam, #666)

v0.10.28

01 Mar 20:45
v0.10.28
aaae90b
Compare
Choose a tag to compare

New checks:

Fixed bugs:

v0.10.27

26 Jan 08:48
v0.10.27
a29f96f
Compare
Choose a tag to compare
  • 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

08 Oct 16:40
v0.10.26
eab2649
Compare
Choose a tag to compare
  • 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 and best_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

30 Jul 17:25
v0.10.25
c47a25f
Compare
Choose a tag to compare
  • 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 to PythonCompatCheck (@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

17 May 19:48
v0.10.24
cffc43a
Compare
Choose a tag to compare

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 in PythonInlinePyPIURI (@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 in packages (@arthurzam, #577)

v0.10.23

07 Mar 18:58
v0.10.23
b383af2
Compare
Choose a tag to compare

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)