* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-10-04 12:00 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-10-04 12:00 UTC (permalink / raw
To: gentoo-commits
commit: 9de2990a25b672c72a4d16a64a7ac4bfe0b613d1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 11:24:01 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 11:27:56 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=9de2990a
new release 0.10.16
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 1e2ac0a9..ce3a9e88 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,19 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.16 (2022-10-04)
+----------------------------
+
+- StaticSrcUri: handle more cases of static URI and offer replacements (Arthur
+ Zamarin, #453)
+
+- scan: respect jobs count from MAKEOPTS (Arthur Zamarin, #449)
+ https://bugs.gentoo.org/799314
+
+- ProfilesCheck: new check for no-op ``package.mask`` entries which negates
+ non-existent mask in parents profiles (Arthur Zamarin, #456)
+
----------------------------
pkgcheck 0.10.15 (2022-09-16)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-10-14 20:35 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-10-14 20:35 UTC (permalink / raw
To: gentoo-commits
commit: 036def220eeefa48559cec602436641f2610f7c3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 20:12:56 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 20:34:36 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=036def22
new release 0.10.17
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index ce3a9e88..4374031a 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,39 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.17 (2022-10-14)
+----------------------------
+
+- EbuildReservedCheck: catch declaration of phase hooks as reserved (Arthur
+ Zamarin, #458)
+
+- GitPkgCommitsCheck: cleanup temporary directories after use, so unless
+ pkgcheck crashes, the ``/tmp/tmp-pkgcheck-*.repo`` directories will be
+ cleaned (Arthur Zamarin, #449)
+
+- GitPkgCommitsCheck: fix crashes when checking commit range which has multiple
+ commits dropping versions from same package (Arthur Zamarin, #460, #461)
+
+- GitPkgCommitsCheck: fix crashes with checking EAPI of ebuilds because of
+ missing ``profiles`` directory (Arthur Zamarin, #461)
+
+- PythonCheck: when checking for matching ``python_check_deps``, use
+ ``python_gen_cond_dep`` for ebuilds inheriting ``python-single-r1``
+ (Arthur Zamarin)
+
+- RedundantVersionCheck: consider profile masks for redundancy check (Arthur
+ Zamarin, #466, #465)
+
+- contrib/emacs: run flycheck only when buffer is saved (Alfred Wingate, #464)
+
+- GitCommitsCheck: run all checks sequentially on main process, to mitigate
+ race conditions during parallel calls to ``git log`` (Arthur Zamarin, #326,
+ #454)
+
+- PythonCheck: warn about use of ``distutils-r1`` non-PEP517 mode (Michał
+ Górny, #467)
+
----------------------------
pkgcheck 0.10.16 (2022-10-04)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-11-10 19:26 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-11-10 19:26 UTC (permalink / raw
To: gentoo-commits
commit: 7a58011cbd0f05dc6322225d61e90bbea5d9475b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 9 18:17:07 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 19:25:53 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=7a58011c
new release 0.10.18
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 4374031a..e45a5e5a 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,49 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.18 (2022-11-09)
+----------------------------
+
+Special thanks is given to Sam James, 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, Arthur Zamarin)
+
+- BetterCompressionCheck: new check for suggesting better compression URI for
+ gitlab and github distfiles (#483, Arthur Zamarin)
+
+- ExcessiveLineLength: report lines longer than 120 characters (with multiple
+ exception rules) (#480, Arthur Zamarin)
+
+- MissingRemoteIdCheck: new check for suggesting missing remote-ids, inferred
+ from HOMEPAGE and SRC_URI (#486, Arthur Zamarin)
+
+- DoCompressedFilesCheck: new check for calling ``doman``, ``newman``, and
+ ``doinfo`` with compressed files (#485, Arthur Zamarin)
+
+- AcctCheck: determine dynamic ID range from repository file
+ ``metadata/qa-policy.conf`` rather than static hardcoded values in pkgcheck
+ (#489, Arthur Zamarin)
+
+- UnquotedVariable: fix false positives with ``declaration_command`` and
+ ``unset_command`` (Arthur Zamarin)
+
+- VirtualWithSingleProvider: new check for virtual packages with a single
+ provider across all versions, which should be deprecated (#484, Arthur
+ Zamarin)
+
+- VirtualProvidersCheck: new check for virtual packages defining build
+ dependencies (#484, Arthur Zamarin)
+
+- NonPosixHeadTailUsage: new check for non-POSIX compliant usage of ``head``
+ and ``tail`` (#491, Arthur Zamarin)
+
+- drop Python 3.8 support (Arthur Zamarin)
+
----------------------------
pkgcheck 0.10.17 (2022-10-14)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-11-26 11:56 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-11-26 11:56 UTC (permalink / raw
To: gentoo-commits
commit: 627ecdf419857ab387c82bb29b9adc8fed003bc5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 11:56:05 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 11:56:05 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=627ecdf4
readd updated tox.ini
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
tox.ini | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..06b8ef12
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,21 @@
+[tox]
+envlist = py3{9,10,11}
+skip_missing_interpreters = True
+isolated_build = True
+
+[testenv]
+# force latest virtualenv/pip
+download = true
+extras =
+ test
+commands =
+ pytest
+
+# build docs
+[testenv:docs]
+skip_install = true
+extras =
+ doc
+commands =
+ make man
+ make html
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-11-27 17:23 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-11-27 17:23 UTC (permalink / raw
To: gentoo-commits
commit: df2580218f577a3ec93313878319e9414cce7edc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 12:08:07 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 12:08:07 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=df258021
new release 0.10.19
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index e45a5e5a..bbd07714 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,27 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.19 (2022-11-26)
+----------------------------
+
+- scan: add support to disable colors using environment variable ``NOCOLOR``
+ (Arthur Zamarin)
+
+- 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. (Arthur Zamarin, #494)
+
+- docs: use new snakeoil extension for sphinx (Arthur Zamarin, #494)
+
+- release: add support for other linux architectures wheels, including
+ aarch64, ppc64le, and s390x (Arthur Zamarin, #494)
+
+- PythonCheck: remove obsolete pypy packages (Michał Górny, #495)
+
+- PythonCheck: stop warning about eclass use on ``python:2.7`` deps (Michał
+ Górny, #495)
+
----------------------------
pkgcheck 0.10.18 (2022-11-09)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-12-27 19:15 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-12-27 19:15 UTC (permalink / raw
To: gentoo-commits
commit: a65129ec43bc6d9b88247eaf9fe4d4fd5a59a0dc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 19:09:48 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 19:09:48 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=a65129ec
update needed pkgcore version
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 6245024e..b1c069c0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,7 +9,7 @@ requires = [
"pathspec",
"tree-sitter>=0.19.0",
"snakeoil~=0.10.3",
- "pkgcore~=0.12.17",
+ "pkgcore~=0.12.18",
]
build-backend = "setuptools.build_meta"
@@ -41,7 +41,7 @@ dependencies = [
"pathspec",
"tree-sitter>=0.19.0",
"snakeoil~=0.10.3",
- "pkgcore~=0.12.17",
+ "pkgcore~=0.12.18",
]
[project.optional-dependencies]
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-12-27 19:16 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-12-27 19:16 UTC (permalink / raw
To: gentoo-commits
commit: 23c1a64b42092c03e04b2e05d80d383152fca864
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 19:16:42 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 19:16:42 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=23c1a64b
bump snakeoil minimal version
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index b1c069c0..74945a14 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ requires = [
"lxml",
"pathspec",
"tree-sitter>=0.19.0",
- "snakeoil~=0.10.3",
+ "snakeoil~=0.10.4",
"pkgcore~=0.12.18",
]
build-backend = "setuptools.build_meta"
@@ -40,7 +40,7 @@ dependencies = [
"lxml",
"pathspec",
"tree-sitter>=0.19.0",
- "snakeoil~=0.10.3",
+ "snakeoil~=0.10.4",
"pkgcore~=0.12.18",
]
@@ -53,7 +53,7 @@ test = [
doc = [
"sphinx",
"tomli; python_version < '3.11'",
- "snakeoil~=0.10.3",
+ "snakeoil~=0.10.4",
]
network = [
"requests",
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2022-12-29 18:01 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2022-12-29 18:01 UTC (permalink / raw
To: gentoo-commits
commit: e8894810833401da27fa2728e1d8017a545401fc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 18:00:46 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 18:01:11 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=e8894810
new release 0.10.20
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index bbd07714..d05a641e 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,14 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.20 (2022-12-29)
+----------------------------
+
+- MissingRemoteIdCheck: give ready ``<remote-id/>`` sample (Michał Górny, #500)
+
+- Format code with ``black`` (Arthur Zamarin)
+
----------------------------
pkgcheck 0.10.19 (2022-11-26)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-02-03 12:46 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-02-03 12:46 UTC (permalink / raw
To: gentoo-commits
commit: b4c34a95f4c66db9c658f6dd75d9193c6e55dab4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 3 12:45:44 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 3 12:45:44 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b4c34a95
setup.py: fix usage of absolute path
Bug: https://bugs.gentoo.org/892938
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
setup.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/setup.py b/setup.py
index f6e96a36..41aedd32 100644
--- a/setup.py
+++ b/setup.py
@@ -36,12 +36,12 @@ class build_treesitter(Command, SubCommand):
pass
def get_source_files(self):
- cwd = Path(__file__).parent / "tree-sitter-bash/src"
+ src = "tree-sitter-bash/src/"
return [
- str(cwd / "GNUmakefile"),
- str(cwd / "tree_sitter/parser.h"),
- str(cwd / "parser.c"),
- str(cwd / "scanner.cc"),
+ src + "GNUmakefile",
+ src + "tree_sitter/parser.h",
+ src + "parser.c",
+ src + "scanner.cc",
]
library_path = Path(__file__).parent / "src/pkgcheck/bash/lang.so"
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-02-03 12:56 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-02-03 12:56 UTC (permalink / raw
To: gentoo-commits
commit: 182b6173385a631ba34ffec6ac4f47bd0e8ae93d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 3 12:56:01 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 3 12:56:25 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=182b6173
Suppress the black reformat commit from git blame
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.git-blame-ignore-revs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 00000000..2ce6ce61
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,4 @@
+# Reformat the repository with black-22.12.0
+ae7dd4184f63185880738c5133f326fe47c6606a
+# Reformat the repository with black-23
+5f8ac7494f1e61a4958c4be513912a96fef7da61
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-02-04 16:35 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-02-04 16:35 UTC (permalink / raw
To: gentoo-commits
commit: 74fd35aa23c4cbb257f37c24991d209761ca67c3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 4 15:22:33 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 4 15:57:07 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=74fd35aa
new release 0.10.21
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index d05a641e..6fba3abc 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,77 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.21 (2023-02-04)
+----------------------------
+
+**New checks:**
+
+- ProvidedEclassInherit: new check for inheriting provided eclases (Arthur
+ Zamarin, #509)
+
+- MissingInherits: don't show for functions defined in ebuild (Arthur Zamarin,
+ #513)
+
+- EclassUsageCheck: check for setting user variables in ebuilds (Arthur
+ Zamarin, #518)
+
+- VariableScopeCheck: Disallow ``D`` and ``ED`` in ``pkg_postinst`` (Ulrich
+ Müller, #523)
+
+- ProfilesCheck: check for unknown ``ARCH`` in make.defaults (Arthur Zamarin,
+ #525)
+
+- ProfilesCheck: check for unknown ``USE`` & ``IUSE_IMPLICIT`` in make.defaults
+ (Arthur Zamarin, #525)
+
+- ProfilesCheck: check for unknown ``USE_EXPAND_*`` in make.defaults (Arthur
+ Zamarin, #525)
+
+- ProfilesCheck: check ``USE_EXPAND_VALUES_*`` in make.defaults (Arthur
+ Zamarin, #525)
+
+- ProfilesCheck: check missing values for implicit in make.defaults (Arthur
+ Zamarin, #525)
+
+- ArchesMisSync: check for missync between ``arch.list`` and ``arches.desc``
+ (Arthur Zamarin, #529)
+
+- SrcUriChecksumChange: check for changing checksums of distfiles without
+ distfile rename (Arthur Zamarin, #497)
+
+- SuspiciousSrcUriChange: check for changing URLs of distfiles without distfile
+ rename (Arthur Zamarin, #497)
+
+- InvalidMetadataRestrict: check for invalid restricts in metadata.xml (Arthur
+ Zamarin, #532)
+
+- PythonPackageNameCheck: check for mismatching python package names (Michał
+ Górny, Arthur Zamarin, #534)
+
+- PythonCheck: check for missing BDEPEND on setuptools_scm or alike (Arthur
+ Zamarin, #534)
+
+**Fixed bugs:**
+
+- git checks: include revision for old name during ``git mv`` (Arthur Zamarin,
+ #511)
+
+- Profile caching: use REPO profile base to improve cache hits (Daniel M.
+ Weeks, #528)
+
+- MissingManifest: fix behavior under thick repos (Arthur Zamarin, #530)
+
+- scan: suppress non-error results in quiet mode (Arthur Zamarin, #413)
+
+- RdependChange: skip when revbumped in same batch (Arthur Zamarin, #459)
+
+- scan: fix no attribute live or slot for commits scanning (Arthur Zamarin,
+ #380)
+
+- setup.py: fix usage of absolute path, which fixes compatibility with new
+ setuptools (Arthur Zamarin, https://bugs.gentoo.org/892938)
+
----------------------------
pkgcheck 0.10.20 (2022-12-29)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-02-21 12:25 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-02-21 12:25 UTC (permalink / raw
To: gentoo-commits
commit: 399836db017c985b8868aa9e0bc4a04ce777a372
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 20:41:35 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 20:41:35 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=399836db
new release 0.10.22
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 6fba3abc..7f022497 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,29 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.22 (2023-02-20)
+----------------------------
+
+**New checks:**
+
+- PythonInlinePyPIURI: new check for using inline PyPI URI instead of via new
+ ``pypi.eclass`` (Michał Górny, #543)
+
+**Fixed bugs:**
+
+- SuspiciousSrcUriChange: fix false positives for ``SRC_URI`` mirror expanded
+ (Arthur Zamarin, #542)
+
+- SuspiciousSrcUriChange: fix false positives on user configuration with
+ default mirror (Arthur Zamarin, #548, #549)
+
+- InvalidCommitTag: fix false positives with advanced formatted ``Fixes`` and
+ ``Reverts`` tags (Arthur Zamarin, #546)
+
+- UnusedInherits: fix false positives for eclasses defining special global
+ variables such as ``SRC_URI`` and ``HOMEPAGE`` (Arthur Zamarin, #361, #540)
+
----------------------------
pkgcheck 0.10.21 (2023-02-04)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-03-05 17:13 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-03-05 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 1eb9de2fa75eee72aed0d177fb464a29d3f307ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 10:03:59 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 5 17:13:22 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=1eb9de2f
tox: add {posargs} to pytest invocation
This lets us do e.g.:
```
$ tox -e py39 -- src/pkgcheck/checks/git.py # run just one test
```
Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/pkgcore/pkgcheck/pull/556
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
tox.ini | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tox.ini b/tox.ini
index 06b8ef12..52283ec9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@ download = true
extras =
test
commands =
- pytest
+ pytest {posargs}
# build docs
[testenv:docs]
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-03-07 17:56 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-03-07 17:56 UTC (permalink / raw
To: gentoo-commits
commit: b383af2ed1c66ed45571d27d41307abe246af9e4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 6 20:01:34 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 6 20:01:34 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b383af2e
new release 0.10.23
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 7f022497..1fa3dcfb 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,34 @@
Release Notes
=============
+----------------------------
+pkgcheck 0.10.23 (2023-03-06)
+----------------------------
+
+- scan: use ``NO_COLOR`` environment variable to disable colors instead of
+ ``NOCOLOR`` (Ulrich Müller, https://bugs.gentoo.org/898230)
+
+**New checks:**
+
+- network: add ``kde-invent`` remote-id (Sam James, #551)
+
+- EbuildSemiReservedName: check for usage of semi-reserved names in ebuilds
+ (Arthur Zamarin, #552)
+
+- PythonPEP517WithoutRevbump: check for DISTUTILS_USE_PEP517 addition or
+ removal without revision bump (Sam James, #556)
+
+- EAPIChangeWithoutRevbump: check for EAPI change without revision bump (Arthur
+ Zamarin, #558)
+
+**Fixed bugs:**
+
+- StableRequestCheck: ignore versions which aren't keyworded for stable arches
+ (Arthur Zamarin, #544)
+
+- PythonMissingSCMDependency: update to new canonical package names of SCM
+ python packages (Arthur Zamarin)
+
----------------------------
pkgcheck 0.10.22 (2023-02-20)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-05-17 18:03 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-05-17 18:03 UTC (permalink / raw
To: gentoo-commits
commit: eafe7de96fa17775cc84b4c1143d0beaf9cd2f7e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 16:15:48 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 17 16:15:48 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=eafe7de9
new release 0.10.24
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 1fa3dcfb..918298c9 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,46 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.24 (2023-05-17)
+-----------------------------
+
+**New checks:**
+
+- UnknownCategoryDirs: enable for overlays and ignore scripts dir (Arthur
+ Zamarin, #564)
+
+- PythonFetchableCheck: rewrite check to reuse ``PYPI_SDIST_URI_RE`` (Michał
+ Górny, #569)
+
+- PythonFetchableCheck: include ``PYPI_PN`` opportunities in
+ ``PythonInlinePyPIURI`` (Michał Górny, #568, #569)
+
+- PythonFetchableCheck: restore filename check in pypi.eclass default case
+ (Michał Górny, #572)
+
+- MissingEAPIBlankLine: new optional check for missing blank after EAPI (Arthur
+ Zamarin, #570, #571)
+
+- StaleLiveCheck: new check for stale live ebuilds EAPI version (Arthur
+ Zamarin, #578)
+
+**Fixed bugs:**
+
+- GitPkgCommitsCheck: fix modification check for added ebuilds in packages set
+ (Arthur Zamarin, #563)
+
+- SrcUriChecksumChange: fix false positive with new ebuilds (Arthur Zamarin,
+ #553)
+
+- fix config loading when ``XDG_CONFIG_HOME`` is defined (Alberto Gireud, #573)
+
+- scan: fix unknown checkset during initial config load for checksets declared
+ in repository config (Arthur Zamarin, #576)
+
+- ProfilesCheck: fix handling of profiles with ``-*`` declared in ``packages``
+ (Arthur Zamarin, #577)
+
----------------------------
pkgcheck 0.10.23 (2023-03-06)
----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-05-17 18:29 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-05-17 18:29 UTC (permalink / raw
To: gentoo-commits
commit: cffc43a5ad3185d5974b7f8c94a3348024ed272c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 18:29:53 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 17 18:29:53 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=cffc43a5
cibuildwheel: upgrade to manylinux_2_28
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 92e13cd3..1299f3ff 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -92,11 +92,11 @@ test-requires = ["pytest", "requests"]
test-command = "pytest {project}/tests"
# glibc 2.24
-manylinux-x86_64-image = "manylinux_2_24"
-manylinux-i686-image = "manylinux_2_24"
-manylinux-aarch64-image = "manylinux_2_24"
-manylinux-ppc64le-image = "manylinux_2_24"
-manylinux-s390x-image = "manylinux_2_24"
+manylinux-x86_64-image = "manylinux_2_28"
+manylinux-i686-image = "manylinux_2_28"
+manylinux-aarch64-image = "manylinux_2_28"
+manylinux-ppc64le-image = "manylinux_2_28"
+manylinux-s390x-image = "manylinux_2_28"
test-skip = "*-*linux_{aarch64,ppc64le,s390x}"
[[tool.cibuildwheel.overrides]]
@@ -108,10 +108,10 @@ before-all = [
[[tool.cibuildwheel.overrides]]
select = "*-manylinux*"
before-all = [
- "apt-get update",
- "apt-get install -y git libxml2-dev libxslt-dev",
- # "yum update -y",
- # "yum install -y git libxslt-devel libxml2-devel",
+ # "apt-get update",
+ # "apt-get install -y git libxml2-dev libxslt-dev",
+ "yum update -y",
+ "yum install -y git libxslt-devel libxml2-devel",
"curl -L \"https://github.com/robxu9/bash-static/releases/download/5.1.016-1.2.3/bash-linux-$(uname -m)\" -o /usr/local/bin/bash",
"chmod +x /usr/local/bin/bash",
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-07-30 16:07 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-07-30 16:07 UTC (permalink / raw
To: gentoo-commits
commit: c47a25f0722aa8bdba830d0ec34bf8852c88edb2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 29 19:15:16 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 15:41:12 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=c47a25f0
new release 0.10.25
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 918298c9..b7c81ef5 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,51 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.25 (2023-07-29)
+-----------------------------
+
+- scan: add ``--git-remote`` option to select remote used for git operations
+ (Arthur Zamarin, #601)
+
+**New checks:**
+
+- RustCheck: check for suboptimal ``-`` ``CRATES`` separator (Arthur Zamarin,
+ #589)
+
+- RustCheck: check for suboptimal ``cargo_crate_uris`` call (Arthur Zamarin,
+ #589)
+
+- OutdatedProfilePackage: show unknown packages in profile with last match date
+ (Arthur Zamarin, #590)
+
+- SrcUriFilenameDotPrefix: new check for ``SRC_URI`` filenames with dot prefix
+ (Arthur Zamarin, #592)
+
+- RubyCompatCheck: new check for new ``USE_RUBY`` compatible values, similar to
+ ``PythonCompatCheck`` (Arthur Zamarin, #595)
+
+- OldPythonCompat: check for old ``PYTHON_COMPAT`` in commit's modified ebuilds
+ (Arthur Zamarin, #596)
+
+- RepoManifestHashCheck: check for deprecated repo ``manifest-hashes`` (Arthur
+ Zamarin, #598)
+
+- DeprecatedManifestHash: check for deprecated checksums in Manifest files
+ (Arthur Zamarin, #598)
+
+- PerlCheck: optional check for versioned virtual perl dependencies (Arthur
+ Zamarin, #597)
+
+**Fixed bugs:**
+
+- MissingInherits: exclude ``@USER_VARIABLEs`` (Arthur Zamarin, #575)
+
+- scan: fix unknown exit checkset during initial config load (Arthur Zamarin,
+ #594)
+
+- GitPkgCommitsCheck: fix failure during compute of environment (ArthurZamarin)
+
-----------------------------
pkgcheck 0.10.24 (2023-05-17)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2023-10-08 15:14 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2023-10-08 15:14 UTC (permalink / raw
To: gentoo-commits
commit: eab26499ac2419207352f04f3ae89426f79e94b9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 8 07:50:37 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 8 14:22:28 2023 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=eab26499
new release 0.10.26
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 59 insertions(+), 1 deletion(-)
diff --git a/NEWS.rst b/NEWS.rst
index b7c81ef5..733e1a8f 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,64 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.26 (2023-10-08)
+-----------------------------
+
+- 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.
+ (Arthur Zamarin)
+
+- git addon: pass options to disable finding copies (Sam James, #618)
+
+- git addon: add helping message on failure of git remote setup (Arthur
+ Zamarin, #608)
+
+**New checks:**
+
+- VariableScopeCheck: add check for usage of prohibited variables in global
+ scope (Arthur Zamarin, #607)
+
+- VariableScopeCheck: BROOT is allowed also in ``pkg_{pre,post}{inst,rm}``
+ (Ulrich Müller, #609)
+
+- GlobDistdir: check for unsafe filename expansion with ``${DISTDIR}`` (Arthur
+ Zamarin, #610)
+
+- EclassManualDepsCheck: check for missing manual deps for specific eclasses
+ (Arthur Zamarin, #616)
+
+- UnstableSrcUri: check for known unstable ``SRC_URI`` sources (Arthur Zamarin,
+ #599)
+
+- network: add codeberg remote-id (Thomas Bracht Laumann Jespersen, #620)
+
+- EmptyGlobalAssignment: check for empty global assignments (Arthur Zamarin,
+ #629)
+
+- SelfAssignment: check for global scope self assignments (Arthur Zamarin, #629)
+
+- BannedPhaseCall: detect calls of phase functions directly in ebuilds (Arthur
+ Zamarin, #627)
+
+- VariableShadowed: check to detect shadowed variable assignments (Arthur
+ Zamarin, #623)
+
+- DuplicateFunctionDefinition: check for duplicate global functions (Arthur
+ Zamarin, #624)
+
+- BannedEapiCommand: also check for ``has_version --host-root`` and
+ ``best_version --host-root`` in EAPI>=7 (Arthur Zamarin, #630)
+
+- BannedEapiCommand: add some extra user and group commands (Arthur Zamarin)
+
+**Fixed bugs:**
+
+- RedundantLongDescription: lower too short threshold (Arthur Zamarin, #614)
+
+- tests.test_pkgcheck_scan: fix issues with xdist testing (Arthur Zamarin)
+
-----------------------------
pkgcheck 0.10.25 (2023-07-29)
-----------------------------
@@ -45,7 +103,7 @@ pkgcheck 0.10.25 (2023-07-29)
- scan: fix unknown exit checkset during initial config load (Arthur Zamarin,
#594)
-- GitPkgCommitsCheck: fix failure during compute of environment (ArthurZamarin)
+- GitPkgCommitsCheck: fix failure during compute of environment (Arthur Zamarin)
-----------------------------
pkgcheck 0.10.24 (2023-05-17)
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-13 19:35 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-13 19:35 UTC (permalink / raw
To: gentoo-commits
commit: 4cfca87ae213c48231cc626fd8c4cb7ec905aedd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 19:06:48 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 19:06:48 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=4cfca87a
pyproject.toml: add runtime dependency on setuptools (py>=3.12)
Used in bash/__init__.py when distutils is not available (python3.12)
and only if the tree-sitter parser is not available.
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 1299f3ff..71bfe200 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,6 +42,7 @@ dependencies = [
"tree-sitter>=0.19.0",
"snakeoil~=0.10.4",
"pkgcore~=0.12.21",
+ "setuptools; python_version >= '3.12'",
]
[project.optional-dependencies]
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-15 17:20 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-15 17:20 UTC (permalink / raw
To: gentoo-commits
commit: 111aee85312cfab6b68c48aaaf8349a6dafb08e5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 17:18:08 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 17:18:08 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=111aee85
Dockerfile: purge some more caches
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
Dockerfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index a438ca84..00909bd4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,5 +2,6 @@ FROM python:3-slim
ARG PKGCHECK_VERSION
RUN apt-get update && apt-get install -y git && \
- rm -rf /var/lib/apt/lists/ /var/cache/apt && \
- pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests
+ rm -rf /var/lib/apt/lists/ /var/cache/apt /var/cache/dpkg && \
+ pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests && \
+ pip cache purge
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-15 17:20 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-15 17:20 UTC (permalink / raw
To: gentoo-commits
commit: b17cc6c3236ddaa74a85fd8587361d844c098e24
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 17:11:08 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 17:11:08 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b17cc6c3
Dockerfile: add requests to pip installed
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 42c3b37d..a438ca84 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,4 +3,4 @@ ARG PKGCHECK_VERSION
RUN apt-get update && apt-get install -y git && \
rm -rf /var/lib/apt/lists/ /var/cache/apt && \
- pip install pkgcheck==${PKGCHECK_VERSION} setuptools
+ pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-19 9:42 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-19 9:42 UTC (permalink / raw
To: gentoo-commits
commit: 831d540429ca82532703e4efa4fd99e7d68d5d98
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 09:42:55 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 09:42:55 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=831d5404
update python versions in various places
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
LICENSE | 2 +-
README.rst | 6 +++---
pyproject.toml | 2 +-
tox.ini | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/LICENSE b/LICENSE
index efadf0d1..2d60dd3d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2006-2021, pkgcheck contributors
+Copyright (c) 2006-2024, pkgcheck contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/README.rst b/README.rst
index 251b5796..1c78f9a1 100644
--- a/README.rst
+++ b/README.rst
@@ -59,9 +59,9 @@ functionality for purposes such as CI or VCS commit support.
Tests
=====
-A standalone test runner is integrated in setup.py; to run, just execute::
+Normal pytest is used, just execute::
- python setup.py test
+ pytest
In addition, a tox config is provided so the testsuite can be run in a
virtualenv setup against all supported python versions. To run tests for all
@@ -69,7 +69,7 @@ environments just execute **tox** in the root directory of a repo or unpacked
tarball. Otherwise, for a specific python version execute something similar to
the following::
- tox -e py39
+ tox -e py311
.. _pkgcore: https://github.com/pkgcore/pkgcore
diff --git a/pyproject.toml b/pyproject.toml
index 71bfe200..a2f2531e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,9 +28,9 @@ maintainers = [
]
classifiers = [
"License :: OSI Approved :: BSD License",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
diff --git a/tox.ini b/tox.ini
index ec97ccc5..d71b88ce 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py3{9,10,11,12}
+envlist = py3{10,11,12}
skip_missing_interpreters = True
isolated_build = True
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-19 10:25 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-19 10:25 UTC (permalink / raw
To: gentoo-commits
commit: f6203f0f5e425801b86fef54845e33366f19e32f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 10:25:21 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 10:25:21 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=f6203f0f
README: explain how adding new check looks like
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
README.rst | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/README.rst b/README.rst
index 1c78f9a1..47015de0 100644
--- a/README.rst
+++ b/README.rst
@@ -71,6 +71,61 @@ the following::
tox -e py311
+Adding new checks
+=================
+
+Adding a new check consists of 2 main parts: writing the logic and
+documentation, and adding tests for the check.
+
+Writing the logic
+-----------------
+
+1. Select the best file for the check under ``src/pkgcheck/checks/``.
+
+2. Create new classes for the results:
+
+ - You would need to select the correct result level (style, info, warning,
+ error) - you might want to consult QA team.
+
+ - You would need to select the correct context: category, package, version,
+ profile, etc.
+
+ - Add long user friendly documentation for the result.
+
+ - Implement the ``desc`` property which is printed to the user.
+
+3. Create a new class for the check:
+
+ - Add long user friendly documentation for the result.
+
+ - Put the source of input for the check. This is hard, so best case is to
+ find similar check and copy the code.
+
+ - Define the results it can return.
+
+ - Implement the ``feed`` function.
+
+Adding tests
+------------
+
+1. Select one of the repos under ``testdata/repos``. In most cases you would
+ want ``standalone``.
+
+2. Add the ebuild/category/test case you want to catch.
+
+3. ``cd`` into this directory, and run ``pkgcheck scan --cache-dir /tmp -R JsonStream``.
+ This should yield the results you want to catch (filter out what you expect).
+
+4. Add the results to the test case under:
+ ``testdata/data/repos/${REPO}/${CHECK CLASS}/${RESULT CLASS}/expected.json``
+
+5. If you want to check the fix for the test case, ``git add`` the files under
+ ``testdata/repos/${REPO}``, modify to fix the results, and using
+ ``git diff testdata/repos/${REPO}`` collect the diff.
+
+6. Copy similar patch, add the diff to the patch file, and fix file names, under:
+ ``testdata/data/repos/${REPO}/${CHECK CLASS}/${RESULT CLASS}/fix.patch``
+
.. _pkgcore: https://github.com/pkgcore/pkgcore
.. _snakeoil: https://github.com/pkgcore/snakeoil
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-24 19:25 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-24 19:25 UTC (permalink / raw
To: gentoo-commits
commit: fdf36b4c493008df11958390c2b8107193e629d7
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Tue Jan 23 19:50:59 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 19:57:59 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=fdf36b4c
fix: re-add myself as an author for obvious reasons
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index a2f2531e..2279deb2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,6 +21,7 @@ license = {file = "LICENSE"}
requires-python = "~=3.9"
authors = [
{name = "Tim Harder", email = "radhermit@gmail.com"},
+ {name = "Brian Harring", email = "ferringb@gmail.com"},
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
]
maintainers = [
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-25 15:49 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-25 15:49 UTC (permalink / raw
To: gentoo-commits
commit: 455cb864b0325ce6fdc36a95b41ceb8b8d223c94
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Thu Jan 25 02:13:57 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 02:51:12 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=455cb864
authors: Add Michał Górny and Marien Zwart.
This is based on mixture of my knowledge and the invocation below.
Current *approximate* authorship based on git deltas (ignoring testdata since
it's not usually in LOC and tree-sitter-bash since it's a vendored import)
```
ferringb@frith ~/gentoo/pkgcheck $ git ls-files | grep -v testdata/ | grep -v tree-sitter-bash/ | xargs -n1 git blame -ew | cut -d\< -f2 | cut -d\> -f1 | cut -d\@ -f1 | sort -g | uniq -c | sort -gr
17265 radhermit
10391 arthurzam
1410 mgorny
933 ferringb
199 marienz
```
Note things like tweaking a line to use a genexp (py>=2.4) rather than
listcomp (py>=2.3) obscures ownership and doesn't actually override original
ownership.
mgorny is added for obvious reasons- copyright + activity.
Myself and Marienz are in there since pre 2013 I wrote... a lot.. (~66% loc, all functionality),
and Marien wrote a lot of checks + tests prior to dropping off in 2006 (~33% loc even as of 2013).
It's not obvious without looking through annotations and having some historical knowledge,
but fundamental bits and fundamental addons (UseAddon for example) were his and are still *there*
even if minor code tweaks obscure it. Minimally they should be in this list based on the
significance and importance of contribution alone.
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
pyproject.toml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 2279deb2..0d362166 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,10 +19,13 @@ description = "pkgcore-based QA utility for ebuild repos"
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = "~=3.9"
+# alphabetical by surname.
authors = [
+ {name = "Michał Górny", email = "mgorny@gentoo.org"},
{name = "Tim Harder", email = "radhermit@gmail.com"},
{name = "Brian Harring", email = "ferringb@gmail.com"},
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
+ {name = "Marien Zwart"},
]
maintainers = [
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-25 15:49 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-25 15:49 UTC (permalink / raw
To: gentoo-commits
commit: 67f7c34fdec8bf2fcf6c91e149b055198a0f0b61
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Thu Jan 25 01:27:37 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 02:13:55 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=67f7c34f
history: suppress revisions where content was being renamed or moved around.
The point here is to be able to look back through time on the evolution to
understand what/why things changed. In particular, it's useful to trace
back and get a sense of the age of the code and use that as a gauge for the
potential that things changed w/out it being updated, or was working around
things from py2.4 era.
This is from a manual audit, so I didn't catch everything, and some
stuff (minor renames or things the history isn't worth linking) I left
out based on a quick scan of commit message and coarse file changes.
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
.git-blame-ignore-revs | 32 ++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
index 2ce6ce61..2a0c7186 100644
--- a/.git-blame-ignore-revs
+++ b/.git-blame-ignore-revs
@@ -1,4 +1,32 @@
-# Reformat the repository with black-22.12.0
-ae7dd4184f63185880738c5133f326fe47c6606a
# Reformat the repository with black-23
5f8ac7494f1e61a4958c4be513912a96fef7da61
+# Reformat the repository with black-22.12.0
+ae7dd4184f63185880738c5133f326fe47c6606a
+# tests moved to tests/ , code reorg related to it, and many many renames. Naming is hard.
+4d41e00ee8a1feebf0de16afbb7a6117927f03c9
+150ba74f3ecbceb2f79b502fe5fec6d815a25f2c
+dc1df8ffec796e47ca58d488e60af58efcc163dd
+0ab5285cf4d875e86127aa52ba1fc008f7ac9ee0
+d2cc674cdf75b04507f82dca23215dd7add33a53
+3623e613b1e2993beeb5bfd97421a4cc76917455
+33f690bf150c84056e7601c6adab0584362cd9cf
+508ea2c40b9a8b4b62cabf6bd2f244d9986f9b15
+f4280552a7402b46589bfd2a325623bec42521ec
+074e70526563cdc342f2289138a690a023cfa2e3
+ee760f9d5bc2cad53a821ce6f58fdd914d0c9bac
+97b38a768c5d2d7c3e4d0e0a809f569c5d9aa2b9
+7af610d3ecb2fbe7888be6c7bb3f7a7e5f04aefe
+a075b1dea1cb4d6d566128ad4415ca3227de9ef9
+e05818d56171dbc71158a61b4511df90269c9051
+# note, this also guts some <py36 code.
+82bbd9b8e5307f778d305c7790f1b9fb03d67060
+# random renames post src/* move
+ac5c3e87a9ed3f593c036ddc9458033fc89e3055
+# code reorganization to src/
+e030f70dd4db479ac8de4dcee21fd4838a7b43b7
+# rename of pkgcore_checks to pkgcheck
+281e5c2f1a4584a876fff91d98c01bbe7d0ef5ca
+55f45f19bd2afd67b956894b4abad93e2ac05a93
+# intra repo moves
+47a5bc32a2fc5c8ab1e447e01a1ca8ac0f29d932
+a7b3d8f0e680e04df99fb0d7a9a72c57a655de1b
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
2024-01-25 17:53 Arthur Zamarin
@ 2024-01-25 17:52 ` Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-25 17:52 UTC (permalink / raw
To: gentoo-commits
commit: b6d2510f1ed81b87fa8176fcb076810a4be21ba9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 17:48:56 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 17:48:56 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b6d2510f
new release 0.10.27
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 733e1a8f..ff9b31ad 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,53 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.27 (2024-01-25)
+-----------------------------
+
+- Dockerfile: introduce ``pkgcheck`` docker, created on release, which should
+ provide stable and tested environment to run, for example in CI (Arthur
+ Zamarin)
+
+- Test pkgcheck with Python 3.12 and 3.13 (Sam James, #567)
+
+**New checks:**
+
+- UnstatedIuse: check for unstated IUSE in "?" dependencies (Arthur Zamarin)
+
+- SandboxCallCheck: check for invalid sandbox funciton calls (Arthur Zamarin,
+ #644)
+
+- OldPackageName: check for package named after old package name (Arthur
+ Zamarin, #650)
+
+- RepositoryCategories: check for fundamental category issues in the repository
+ layout (Brian Harring, #656)
+
+**Fixed bugs:**
+
+- pyproject.toml: add runtime dependency on setuptools for Python 3.12 (Arthur
+ Zamarin)
+
+- MissingInherits: add some special variables to exclude list (Arthur Zamarin)
+
+- UnusedInherits: add whitelist for weak usage by another eclass, for example
+ conditional automagic inherit (Arthur Zamarin)
+
+- GitCommitsCheck: fix tarfile Python 3.12 compatibility (Alfred Wingate, #638)
+
+- MissingRemoteId: improve gitlab matching rules (Alfred Wingate, #636, #637)
+
+- OutdatedProfilePackage: don't warn when version was removed not long ago
+ (Arthur Zamarin)
+
+- DeprecatedDep: fix mishandling of slotted deprecates (Arthur Zamarin, #642)
+
+- DependencyMoved: show better error for dependency on pkgmove (Arthur Zamarin,
+ #649)
+
+- compatibilty: remove reliance on ``repo.category_dirs`` (Brian Harring, #656)
+
-----------------------------
pkgcheck 0.10.26 (2023-10-08)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-25 17:53 Arthur Zamarin
2024-01-25 17:52 ` Arthur Zamarin
0 siblings, 1 reply; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-25 17:53 UTC (permalink / raw
To: gentoo-commits
commit: b6d2510f1ed81b87fa8176fcb076810a4be21ba9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 17:48:56 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 17:48:56 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b6d2510f
new release 0.10.27
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 733e1a8f..ff9b31ad 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,53 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.27 (2024-01-25)
+-----------------------------
+
+- Dockerfile: introduce ``pkgcheck`` docker, created on release, which should
+ provide stable and tested environment to run, for example in CI (Arthur
+ Zamarin)
+
+- Test pkgcheck with Python 3.12 and 3.13 (Sam James, #567)
+
+**New checks:**
+
+- UnstatedIuse: check for unstated IUSE in "?" dependencies (Arthur Zamarin)
+
+- SandboxCallCheck: check for invalid sandbox funciton calls (Arthur Zamarin,
+ #644)
+
+- OldPackageName: check for package named after old package name (Arthur
+ Zamarin, #650)
+
+- RepositoryCategories: check for fundamental category issues in the repository
+ layout (Brian Harring, #656)
+
+**Fixed bugs:**
+
+- pyproject.toml: add runtime dependency on setuptools for Python 3.12 (Arthur
+ Zamarin)
+
+- MissingInherits: add some special variables to exclude list (Arthur Zamarin)
+
+- UnusedInherits: add whitelist for weak usage by another eclass, for example
+ conditional automagic inherit (Arthur Zamarin)
+
+- GitCommitsCheck: fix tarfile Python 3.12 compatibility (Alfred Wingate, #638)
+
+- MissingRemoteId: improve gitlab matching rules (Alfred Wingate, #636, #637)
+
+- OutdatedProfilePackage: don't warn when version was removed not long ago
+ (Arthur Zamarin)
+
+- DeprecatedDep: fix mishandling of slotted deprecates (Arthur Zamarin, #642)
+
+- DependencyMoved: show better error for dependency on pkgmove (Arthur Zamarin,
+ #649)
+
+- compatibilty: remove reliance on ``repo.category_dirs`` (Brian Harring, #656)
+
-----------------------------
pkgcheck 0.10.26 (2023-10-08)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-25 17:54 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-25 17:54 UTC (permalink / raw
To: gentoo-commits
commit: d9124433d602c3471a0d8c4d46376c09d3e92b7d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 17:54:22 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 17:54:22 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=d9124433
pyproject: fix authors
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 0d362166..c8f59a16 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,7 +25,7 @@ authors = [
{name = "Tim Harder", email = "radhermit@gmail.com"},
{name = "Brian Harring", email = "ferringb@gmail.com"},
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
- {name = "Marien Zwart"},
+ #{name = "Marien Zwart"},
]
maintainers = [
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-26 8:46 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-26 8:46 UTC (permalink / raw
To: gentoo-commits
commit: 8433ddd781b861b5e258aea726019744c082ed2c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 08:36:36 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 08:36:36 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=8433ddd7
git-blame-ignore-revs: ignore black 24 format
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.git-blame-ignore-revs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
index 2a0c7186..2f7c35b1 100644
--- a/.git-blame-ignore-revs
+++ b/.git-blame-ignore-revs
@@ -1,3 +1,5 @@
+# Reformat the repository with black-24
+fb4dc9bbf2b51732aa4a254d8ba18c0235f8d70c
# Reformat the repository with black-23
5f8ac7494f1e61a4958c4be513912a96fef7da61
# Reformat the repository with black-22.12.0
@@ -19,7 +21,7 @@ ee760f9d5bc2cad53a821ce6f58fdd914d0c9bac
a075b1dea1cb4d6d566128ad4415ca3227de9ef9
e05818d56171dbc71158a61b4511df90269c9051
# note, this also guts some <py36 code.
-82bbd9b8e5307f778d305c7790f1b9fb03d67060
+82bbd9b8e5307f778d305c7790f1b9fb03d67060
# random renames post src/* move
ac5c3e87a9ed3f593c036ddc9458033fc89e3055
# code reorganization to src/
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-01-26 20:14 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-01-26 20:14 UTC (permalink / raw
To: gentoo-commits
commit: afeaf1eab7d851bb8056667b91192fe4756d6ab2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 20:12:20 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 20:12:20 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=afeaf1ea
pyproject: bump dependencies
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 0327d01f..687effb8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,9 +7,9 @@ requires = [
"lazy-object-proxy",
"lxml",
"pathspec",
- "tree-sitter>=0.19.0",
- "snakeoil~=0.10.4",
- "pkgcore~=0.12.21",
+ "tree-sitter>=0.20.4",
+ "snakeoil~=0.10.7",
+ "pkgcore~=0.12.25",
]
build-backend = "setuptools.build_meta"
@@ -25,7 +25,7 @@ authors = [
{name = "Tim Harder", email = "radhermit@gmail.com"},
{name = "Brian Harring", email = "ferringb@gmail.com"},
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
- #{name = "Marien Zwart"},
+ {name = "Marien Zwart"},
]
maintainers = [
{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
@@ -43,9 +43,9 @@ dependencies = [
"lazy-object-proxy",
"lxml",
"pathspec",
- "tree-sitter>=0.19.0",
- "snakeoil~=0.10.4",
- "pkgcore~=0.12.21",
+ "tree-sitter>=0.20.4",
+ "snakeoil~=0.10.7",
+ "pkgcore~=0.12.25",
"setuptools; python_version >= '3.12'",
]
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-03-01 19:43 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-03-01 19:43 UTC (permalink / raw
To: gentoo-commits
commit: 124e035b714b821b34192ea6cd9981b2936441fc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 1 19:35:39 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 19:35:39 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=124e035b
new release 0.10.28
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index ff9b31ad..187c6646 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,22 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.28 (2024-03-01)
+-----------------------------
+
+- docs: Add intersphinx linkages (Brian Harring, #658)
+
+**New checks:**
+
+- VariableOrderWrong: Enforce skel.ebuild variable order (Anthony Ryan, #645)
+
+**Fixed bugs:**
+
+- git: fix issues with no-copies (Arthur Zamarin, Sam James, #663, #664)
+
+- addons.net: suppress urllib3 import warnings (Anna "CyberTailor", #661)
+
-----------------------------
pkgcheck 0.10.27 (2024-01-25)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-03-28 19:40 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-03-28 19:40 UTC (permalink / raw
To: gentoo-commits
commit: 0dfe3b47f960830a8d194b2aba27dc9373792403
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 20:50:41 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 20:50:41 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=0dfe3b47
new release 0.10.29
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 187c6646..4f80f1a1 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,23 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.29 (2024-03-28)
+-----------------------------
+
+- drop bundling of tree-sitter-bash (Arthur Zamarin)
+
+- use flit as build backend for pkgcheck (Arthur Zamarin)
+
+- PkgBadlyFormedXml: change level to error instead of a warning (Arthur Zamarin,
+ #668)
+
+- git addon: support user global gitignore (Arthur Zamarin, #671, #672)
+
+**New checks:**
+
+- NewerEAPIAvailable: committing new ebuilds with old EAPI (Arthur Zamarin, #666)
+
-----------------------------
pkgcheck 0.10.28 (2024-03-01)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-05-08 16:24 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-05-08 16:24 UTC (permalink / raw
To: gentoo-commits
commit: 3860094b94dd2185db852db4b8674c41c4dd65ed
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May 8 10:46:33 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 8 16:23:21 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=3860094b
pyproject: bump snakeoil to restore compat with >=python-3.11.9
ArgumentParser added a separator to its option tuple with
>=python-3.11.9, which snakeoil-0.10.7 does not handle correctly.
https://github.com/python/cpython/pull/114180
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index fd0eb616..45fe7213 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ requires = [
"pathspec",
"tree-sitter>=0.21.0",
"tree-sitter-bash>=0.21.0",
- "snakeoil~=0.10.7",
+ "snakeoil~=0.10.8",
"pkgcore~=0.12.25",
]
build-backend = "py_build"
@@ -46,7 +46,7 @@ dependencies = [
"pathspec",
"tree-sitter>=0.21.0",
"tree-sitter-bash>=0.21.0",
- "snakeoil~=0.10.7",
+ "snakeoil~=0.10.8",
"pkgcore~=0.12.25",
]
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-05-18 11:46 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-05-18 11:46 UTC (permalink / raw
To: gentoo-commits
commit: 257d3943b589fdd1ad6d2b27de79f98261cb776f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 11:40:03 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May 18 11:46:24 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=257d3943
new release 0.10.30
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 4f80f1a1..dfb748cf 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,18 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.30 (2024-05-18)
+-----------------------------
+
+- pyproject: fix python compat with snakeoil (Lucio Sauer, #678)
+
+- NetAddon: fix ftp call with ``--timeout 0`` (Lucio Sauer, #678)
+
+- NewerEAPIAvailable: handle better when no eclasses EAPI (Arthur Zamarin, #679)
+
+- fix compatibility with newest version of tree-sitter (Arthur Zamarin)
+
-----------------------------
pkgcheck 0.10.29 (2024-03-28)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-09-01 21:16 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-09-01 21:16 UTC (permalink / raw
To: gentoo-commits
commit: a7da0db8c7e5834ccafc2117c50254ccfb80cfe1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 1 21:16:23 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 1 21:16:23 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=a7da0db8
pyproject: fix tree-sitter version
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index bf20ce94..4e7d2d82 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -46,7 +46,7 @@ dependencies = [
"lazy-object-proxy",
"lxml",
"pathspec",
- "tree-sitter>=0.23.2",
+ "tree-sitter>=0.23.0",
"tree-sitter-bash>=0.21.0",
"snakeoil~=0.10.8",
"pkgcore~=0.12.25",
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /
@ 2024-09-06 11:08 Arthur Zamarin
0 siblings, 0 replies; 37+ messages in thread
From: Arthur Zamarin @ 2024-09-06 11:08 UTC (permalink / raw
To: gentoo-commits
commit: dc45e03dfaa8b6548b349a253696699b0d649d1e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 6 10:43:58 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 6 10:43:58 2024 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=dc45e03d
new release 0.10.31
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
NEWS.rst | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index dfb748cf..c5161619 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,30 @@
Release Notes
=============
+-----------------------------
+pkgcheck 0.10.31 (2024-09-06)
+-----------------------------
+
+- fix compatibility with tree-sitter 0.23 (Arthur Zamarin)
+
+- bash completion: improve path handling (Arthur Zamarin)
+
+**New Checks:**
+
+- OldPackageNameDep: check for dependency using previously moved package's name
+ (Arthur Zamarin, #659, #694)
+
+- BadDependency: catch ``:=`` slot operator in PDEPEND (Arthur Zamarin, #660)
+
+**Checks Updates:**
+
+- DistutilsNonPEP517Build: handle false positives when defined by eclass
+ (Arthur Zamarin)
+
+- PythonCompatCheck: add whitelist for backports (Arthur Zamarin)
+
+- EmptyGlobalAssignment: ignore empty KEYWORDS (Arthur Zamarin, #695)
+
-----------------------------
pkgcheck 0.10.30 (2024-05-18)
-----------------------------
^ permalink raw reply related [flat|nested] 37+ messages in thread
end of thread, other threads:[~2024-09-06 11:09 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18 11:46 [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: / Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-09-06 11:08 Arthur Zamarin
2024-09-01 21:16 Arthur Zamarin
2024-05-08 16:24 Arthur Zamarin
2024-03-28 19:40 Arthur Zamarin
2024-03-01 19:43 Arthur Zamarin
2024-01-26 20:14 Arthur Zamarin
2024-01-26 8:46 Arthur Zamarin
2024-01-25 17:54 Arthur Zamarin
2024-01-25 17:53 Arthur Zamarin
2024-01-25 17:52 ` Arthur Zamarin
2024-01-25 15:49 Arthur Zamarin
2024-01-25 15:49 Arthur Zamarin
2024-01-24 19:25 Arthur Zamarin
2024-01-19 10:25 Arthur Zamarin
2024-01-19 9:42 Arthur Zamarin
2024-01-15 17:20 Arthur Zamarin
2024-01-15 17:20 Arthur Zamarin
2024-01-13 19:35 Arthur Zamarin
2023-10-08 15:14 Arthur Zamarin
2023-07-30 16:07 Arthur Zamarin
2023-05-17 18:29 Arthur Zamarin
2023-05-17 18:03 Arthur Zamarin
2023-03-07 17:56 Arthur Zamarin
2023-03-05 17:13 Arthur Zamarin
2023-02-21 12:25 Arthur Zamarin
2023-02-04 16:35 Arthur Zamarin
2023-02-03 12:56 Arthur Zamarin
2023-02-03 12:46 Arthur Zamarin
2022-12-29 18:01 Arthur Zamarin
2022-12-27 19:16 Arthur Zamarin
2022-12-27 19:15 Arthur Zamarin
2022-11-27 17:23 Arthur Zamarin
2022-11-26 11:56 Arthur Zamarin
2022-11-10 19:26 Arthur Zamarin
2022-10-14 20:35 Arthur Zamarin
2022-10-04 12:00 Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox