Skip to content

Releases: pkgcore/pkgcheck

v0.10.29

17 May 14:41
v0.10.29
0dfe3b4

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

Choose a tag to compare

New checks:

Fixed bugs:

v0.10.27

26 Jan 08:48
v0.10.27
a29f96f

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

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

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

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

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)

v0.10.22

21 Feb 13:27
v0.10.22
399836d

Choose a tag to compare

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 and Reverts tags (@arthurzam, #546)
  • UnusedInherits: fix false positives for eclasses defining special global variables such as SRC_URI and HOMEPAGE (@arthurzam, #361, #540)

v0.10.21

04 Feb 17:37
v0.10.21
74fd35a

Choose a tag to compare

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 D and ED in pkg_postinst (@ulm, #523)
  • ProfilesCheck: check for unknown ARCH in make.defaults (@arthurzam, #525)
  • ProfilesCheck: check for unknown USE & IUSE_IMPLICIT in 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.list and arches.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:

v0.10.20

29 Dec 18:52
v0.10.20
e889481

Choose a tag to compare

v0.10.20