Releases: pkgcore/pkgcheck
Releases · pkgcore/pkgcheck
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
D
andED
inpkg_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
andarches.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
v0.10.19
- scan: add support to disable colors using environment variable
NOCOLOR
(@arthurzam) - Use refactored and pure setuptools as build backend for pkgcheck. This includes removal of old development scripts and setup.py hacks, in favor of a simple commands or using the Makefile. (@arthurzam, #494)
- docs: use new snakeoil extension for sphinx (@arthurzam, #494)
- release: add support for other linux architectures wheels, including aarch64, ppc64le, and s390x (@arthurzam, #494)
- PythonCheck: remove obsolete pypy packages (@mgorny, #495)
- PythonCheck: stop warning about eclass use on
python:2.7
deps (@mgorny, #495)
v0.10.18
Special thanks is given to Sam James (@thesamesam), for continues support during all development, bringing ideas, testing and improving, and especially proofreading and improving all docs, texts and help messages. Every release is better thanks to him.
- Network checks: fix wrong attributes ("blame") shown when same URL is checked (#403, @arthurzam)
- BetterCompressionCheck: new check for suggesting better compression URI for gitlab and github distfiles (#483, @arthurzam)
- ExcessiveLineLength: report lines longer than 120 characters (with multiple exception rules) (#480, @arthurzam)
- MissingRemoteIdCheck: new check for suggesting missing remote-ids, inferred from HOMEPAGE and SRC_URI (#486, @arthurzam)
- DoCompressedFilesCheck: new check for calling
doman
,newman
, anddoinfo
with compressed files (#485, @arthurzam) - AcctCheck: determine dynamic ID range from repository file
metadata/qa-policy.conf
rather than static hardcoded values in pkgcheck (#489, @arthurzam) - UnquotedVariable: fix false positives with
declaration_command
andunset_command
(@arthurzam) - VirtualWithSingleProvider: new check for virtual packages with a single provider across all versions, which should be deprecated (#484, @arthurzam)
- VirtualProvidersCheck: new check for virtual packages defining build dependencies (#484, @arthurzam)
- NonPosixHeadTailUsage: new check for non-POSIX compliant usage of
head
andtail
(#491, @arthurzam) - drop Python 3.8 support (@arthurzam)
v0.10.17
- EbuildReservedCheck: catch declaration of phase hooks as reserved (@arthurzam, #458)
- GitPkgCommitsCheck: cleanup temporary directories after use, so unless pkgcheck crashes, the
/tmp/tmp-pkgcheck-*.repo
directories will be cleaned (@arthurzam, #449) - GitPkgCommitsCheck: fix crashes when checking commit range which has multiple commits dropping versions from same package (@arthurzam, #460, #461)
- GitPkgCommitsCheck: fix crashes with checking EAPI of ebuilds because of missing
profiles
directory (@arthurzam, #461) - PythonCheck: when checking for matching
python_check_deps
, usepython_gen_cond_dep
for ebuilds inheritingpython-single-r1
(@arthurzam) - RedundantVersionCheck: consider profile masks for redundancy check (@arthurzam, #466, #465)
- contrib/emacs: run flycheck only when buffer is saved (@parona-source, #464)
- GitCommitsCheck: run all checks sequentially on main process, to mitigate race conditions during parallel calls to
git log
(@arthurzam, #326, #454) - PythonCheck: warn about use of
distutils-r1
non-PEP517 mode (@mgorny, #467)
v0.10.16
- StaticSrcUri: handle more cases of static URI and offer replacements (@arthurzam, #453)
- scan: respect jobs count from MAKEOPTS (@arthurzam, #449)
https://bugs.gentoo.org/799314 - ProfilesCheck: new check for no-op
package.mask
entries which negates non-existent mask in parents profiles (@arthurzam, #456)
v0.10.15
- MissingInherits: fix false positives with
unset
(@arthurzam, #432) - DescriptionCheck: change long length threshold to 80 (@arthurzam)
- BadCommitSummary: version check should be ignored for
acct-*
packages (@arthurzam, #434) - ReservedNameCheck: update rules for usage of reserved, that both usage and definitions reserved names and not only defining is prohibited (@arthurzam, #437)
- GitPkgCommitsCheck: add prefix and suffix for created temporary files (@arthurzam, #441)
- FlycheckReporter: split multiple line results into separate reported lines, (@arthurzam, #443)
- RedundantVersionCheck: add
--stable-only
option, to consider redundant versions only within stable (@arthurzam, #438) - network: add
savannah
andsavannah-nongnu
remote-ids (@thesamesam, #446) - network: add
freedesktop-gitlab
andgnome-gitlab
remote-ids (@mattst88, #445)
v0.10.14
- sdist file now includes
contrib/
directory (@arthurzam)
v0.10.13
- Add new
FlycheckReporter
which is used for flycheck integration (On the fly syntax checking for GNU Emacs) (@arthurzam, @xgqt, #420)
Guide to setup emacs - PythonMissingDeps: check for missing
BDEPEND="${DISTUTILS_DEPS}"
in PEP517 python ebuilds withDISTUTILS_OPTIONAL
set (@thesamesam, #389) - PythonHasVersionUsage: new check for using
has_version
insidepython_check_deps
(@arthurzam, #401) - PythonHasVersionMissingPythonUseDep: new check for missing
PYTHON_USEDEP
in calls topython_has_version
orhas_version
(@arthurzam, #401) - PythonAnyMismatchedHasVersionCheck: new check for mismatch between calls to
python_has_version
andhas_version
against calls topython_gen_any_dep
in dependencies (@arthurzam, #401) - Fix calls to
git
on system repositories whensafe.directory
is enforced (@arthurzam, #421) - Fix and port pkgcheck to Python 3.11 (@thesamesam, #424)
- Bump snakeoil and pkgcore dependencies (@thesamesam, #425)
- UseFlagWithoutDeps (Gentoo repository only): new check for USE flags, which don't affect dependencies and because they provide little utility (@arthurzam, #428)
- StableRequestCheck: add
--stabletime
config option for specifying the time before a version is flagged by StableRequestCheck (@EmRowlands, #429) - MisplacedWeakBlocker: new check for pure-DEPEND weak blockers (@arthurzam, #430)
v0.10.12
- UnquotedVariable: new check for problematic unquoted variables in ebuilds and eclasses (@laumann, #379)
- DroppedUnstableKeywords: set priority to Error (@arthurzam, #397)
- PythonGHDistfileSuffix: exempt commit snapshots from requiring
.gh
suffix (@mgorny, #398) - SizeViolation: add check for total size of
files/
directory and improve texts (@mgorny, #406) - MetadataUrlCheck: add sourcehut remote-id (@thesamesam, #415)
- MetadataUrlCheck: add hackage remote-id (@thesamesam, #416)