v0.10.26
github-actions
released this
08 Oct 16:40
·
82 commits
to master
since this release
- 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)