Skip to content

Releases: pkgcore/pkgcheck

v0.10.21

04 Feb 17:37
v0.10.21
74fd35a
Compare
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
Compare
Choose a tag to compare
v0.10.20

v0.10.19

27 Nov 18:44
v0.10.19
df25802
Compare
Choose a tag to compare
  • 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

10 Nov 19:44
v0.10.18
7a58011
Compare
Choose a tag to compare

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, and doinfo 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 and unset_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 and tail (#491, @arthurzam)
  • drop Python 3.8 support (@arthurzam)

v0.10.17

14 Oct 20:54
v0.10.17
036def2
Compare
Choose a tag to compare
  • 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, use python_gen_cond_dep for ebuilds inheriting python-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

04 Oct 12:19
v0.10.16
9de2990
Compare
Choose a tag to compare

v0.10.15

16 Sep 20:30
v0.10.15
af2883f
Compare
Choose a tag to compare
  • 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 and savannah-nongnu remote-ids (@thesamesam, #446)
  • network: add freedesktop-gitlab and gnome-gitlab remote-ids (@mattst88, #445)

v0.10.14

16 Aug 19:24
v0.10.14
eedd7ec
Compare
Choose a tag to compare
  • sdist file now includes contrib/ directory (@arthurzam)

v0.10.13

15 Aug 18:48
v0.10.13
e8ddfc1
Compare
Choose a tag to compare
  • 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 with DISTUTILS_OPTIONAL set (@thesamesam, #389)
  • PythonHasVersionUsage: new check for using has_version inside python_check_deps (@arthurzam, #401)
  • PythonHasVersionMissingPythonUseDep: new check for missing PYTHON_USEDEP in calls to python_has_version or has_version (@arthurzam, #401)
  • PythonAnyMismatchedHasVersionCheck: new check for mismatch between calls to python_has_version and has_version against calls to python_gen_any_dep in dependencies (@arthurzam, #401)
  • Fix calls to git on system repositories when safe.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

30 Jul 20:48
v0.10.12
f92e3a1
Compare
Choose a tag to compare
  • 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)