Commit Graph

896 Commits

Author SHA256 Message Date
Martin Liška
a5b62b6ee7 - Update to version 2.4.0+git20230424.b8b7e4e:
* Remove trailing whitespace.
  * pytest: fix one warning
  * Introducing new file 'pytest.ini' a conf file for pytest (#1047)
  * Add rpmlint.svg with the new rpmlint logo
-Rebase disable-flake-and-cov.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1059
2023-04-24 08:35:43 +00:00
6e500b67b6 Accepting request 1081219 from home:fbonazzi:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230421.f2ea8ab:
  * pam-modules: whitelist pam_wtmpdb (bsc#1209963)
  * Drop dependency on pytest-flake8 as it's unmaintained.

OBS-URL: https://build.opensuse.org/request/show/1081219
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1057
2023-04-21 10:38:58 +00:00
d370e49b48 Accepting request 1080371 from home:fbonazzi:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230419.2b26601:
  * pam-modules: Move pam_timestamp, pam_issue and pam-userdb (bsc#1210371)
  * flake8: fix C419 Unnecessary list comprehension passed to any() prevents short-circuiting

OBS-URL: https://build.opensuse.org/request/show/1080371
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1056
2023-04-19 15:06:47 +00:00
Martin Liška
5b5c8dde0a - Update to version 2.4.0+git20230411.8f9c3d4:
* PythonCheck: Improve dependencies check

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1054
2023-04-11 12:41:51 +00:00
Martin Liška
fa01fd9a85 - Update to version 2.4.0+git20230411.f83b036:
* SpecCheck: Improve patch applied regex

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1053
2023-04-11 09:22:18 +00:00
Martin Liška
c912c9b7c7 - Update to version 2.4.0+git20230403.7ce263c:
* tests: make a local copy of configuration in test_binaries.py

- Update to version 2.4.0+git20230403.cf6f584:
  * Add test for #1040.
  * Exclude systemd directory in UsrLibBinaryException

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1051
2023-04-03 10:46:52 +00:00
Martin Liška
927aec9b43 - Update to version 2.4.0+git20230331.bc7b966:
* dbus-services: add libproxy whitelisting (bsc#1209376)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1049
2023-03-31 13:36:02 +00:00
Martin Liška
26bf912933 - Update to version 2.4.0+git20230331.8f6e31e:
* PythonCheck: Handle complex dependency declaration gracefully

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1048
2023-03-31 07:27:11 +00:00
Martin Liška
0265fb7ab0 - Update to version 2.4.0+git20230329.3cd1bcf:
* packit: use python-magic python pages for openSUSE CI
  * openSUSE: Start using python-magic package in CI.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1046
2023-03-29 12:17:34 +00:00
Martin Liška
5442da14e9 Fix dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1045
2023-03-29 11:56:01 +00:00
Martin Liška
4572495a32 - Depend on python-magic Python package.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1044
2023-03-29 10:44:07 +00:00
Martin Liška
5fd94e45ca - Update to version 2.4.0+git20230327.f239521:
* stringToVersion: make epoch always an integer
  * pytest: use tmp_path mock instead of tmpdir
  * pytest: disable legacypath
  * Replace one more usage of tmpdir in a test.
  * Pytest documentation recommends refactoring "tmpdir" to "tmp_path"

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1043
2023-03-27 15:04:48 +00:00
Martin Liška
b718062645 - Update to version 2.4.0+git20230324.96c1ac0:
* PythonCheck: Ignore python-devel in req check
  * PythonCheck: ignore python-base package in requirements check
  * PythonCheck: Remove spaces from requirements before compare
  * Add new check: patchable-function-entry-in-archive.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1041
2023-03-24 14:27:55 +00:00
Martin Liška
f31a930cd7 - Update to version 2.4.0+git20230322.717aa4d:
* pam-module whitelist: add lastlog2 (bsc#1209238)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1039
2023-03-24 08:24:11 +00:00
Martin Liška
0b70e8b225 - Update to version 2.4.0+git20230321.8da9c94:
* PythonCheck: Add python requirements verification
  * TagsCheck: handle license exception in first item of a grouping
  * TagsCheck: restore space exclusion to license_exception_regex
  * Fix TW CI due to the new flake8 release.
  * Remove unnnecesary lambda and map in favor generator expressions
  * Include -prof in devel packages regex

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1038
2023-03-21 12:03:09 +00:00
e82e9d2972 Accepting request 1072570 from home:fbonazzi:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230316.e10f602:
  * python3-pytest-flake8 is not anymore in Tumbleweed
  * sysctl-whitelist: add further kubernetes versions (bsc#1209363)
  * test_files : Add test for unexpanded macros in files. (#1023)
  * SpecCheck: allow more %suse_version value comparisons
  * No need of using wheel: PEP 517
  * setup.cfg: rename license_file to license_files
  * setup.py: include rpmlint.descriptions in packages

OBS-URL: https://build.opensuse.org/request/show/1072570
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1036
2023-03-17 10:23:09 +00:00
171cafa199 Accepting request 1069937 from home:wfrisch:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230307.1e9f1e0:
  * d-bus services: add kde-inotify-survey (bsc#1208689)
  * Add missing newline at the end of TOML files.
  * Add missing newline at the end of file.
  * TagsCheck: handle license exception in grouping

OBS-URL: https://build.opensuse.org/request/show/1069937
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1034
2023-03-07 13:18:52 +00:00
8c3a4311a6 Accepting request 1069306 from home:fbonazzi:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230303.8af2aa4:
  * polkit-rules-whitelist: adjust libvirt-daemon rule to new sub-package (bsc#1208876)

OBS-URL: https://build.opensuse.org/request/show/1069306
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1033
2023-03-03 18:59:46 +00:00
Martin Liška
6d5404f797 - Update to version 2.4.0+git20230227.db0110c:
* DbusPolicyCheck: use existing dbus-policy-missing-allow
  * DbusPolicyCheck: use existing dbus-policy-missing-allow

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1031
2023-02-27 14:53:53 +00:00
Martin Liška
6e687f4e77 - Update to version 2.4.0+git20230227.0faf846:
* Disallow a space in rpmlint issue name
  * Unify D-Bus check name
  * FilesCheck: fix typo and shorten setuid/setgid check
  * Revert "Disable Mageia CI builds due to system problem"
  * Disable Mageia CI builds due to system problem
  * Revert "disable opensuse-tumbleweed-aarch64 due to system crash"

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1030
2023-02-27 11:20:00 +00:00
Martin Liška
8b21e9c532 - Update to version 2.4.0+git20230214.1bab129:
* Add stopwatch counter for libmagic
  * Support filtering of warnings/errors based on title
  * openSUSE/users-groups: kismet (bsc#1207654)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1028
2023-02-14 16:20:36 +00:00
17b8a1caa4 Accepting request 1063444 from home:fbonazzi:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230206.a2c4626:
  * dbus-service: adjust sssd-dbus infopipe whitelisting to /usr (bsc#1207586)
  * d-bus services: adjust NetworkManager-fortisslvpn from /etc to /usr (bsc#1207585)
  * dbus-services: adjust pulseaudio to new /usr path (bsc#1207584)

OBS-URL: https://build.opensuse.org/request/show/1063444
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1026
2023-02-06 15:46:25 +00:00
d286143a4b - Update to version 2.4.0+git20230125.20e5b58:
* SymlinkExceptions: also exclude systemd-mini
  * FileDigestCheck: allow multiple package names in ghost/symlink exceptions

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1024
2023-01-25 10:06:42 +00:00
Martin Liška
70a413c305 - Update to version 2.4.0+git20230124.a2050c3:
* FileDigestCheck: support exceptions to symlink restrictions
  * Revert "temporarily drop badness for sysctl-file-* errors"

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1023
2023-01-24 19:03:03 +00:00
Martin Liška
c0ee71fc30 - Update to version 2.4.0+git20230124.a959d84:
* temporarily drop badness for sysctl-file-* errors

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1021
2023-01-24 08:17:43 +00:00
df1594be7d Accepting request 1059842 from home:wfrisch:branches:devel:openSUSE:Factory:rpmlint
- Update to version 2.4.0+git20230119.40d52b0:
  * openSUSE: new whitelisting restriction for sysctl drop-in files (bsc#1174722)

OBS-URL: https://build.opensuse.org/request/show/1059842
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1019
2023-01-19 18:20:14 +00:00
cad7eb62d1 - Update to version 2.4.0+git20230118.aac2cf3:
* zypper-plugins whitelist: adjust libzypp-plugin-appdata (bsc#1206836)
  * simplify str.split
  * disable opensuse-tumbleweed-aarch64 due to system crash

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1018
2023-01-18 10:13:30 +00:00
Martin Liška
fc7822ec94 - Update to version 2.4.0+git20230118.42ed609:
* Update D-Bus whitelisting for NetworkManager-libreswan (bsc#1206757)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1017
2023-01-18 08:34:32 +00:00
Martin Liška
73e2ca1a5c - Update to version 2.4.0+git20230112.139edaf:
* use subprocess.run(..., text=True) instead of stdout.decode()
  * Print number of messages that are filtered out
  * Speed up DuplicatesCheck by shorter messages

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1015
2023-01-13 07:52:46 +00:00
Martin Liška
b1302d5683 - Update to version 2.4.0+git20230111.8ae3cb5:
* Files in /etc/pam.d/ should be moved to /usr

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1013
2023-01-11 14:10:33 +00:00
Martin Liška
20d4c180ca - Update to version 2.4.0+git20230111.cd8d2e8:
* magic: remove python2 support and simplify
  * Remove Python 2 support in generate-isocodes.py

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1012
2023-01-11 10:11:07 +00:00
Martin Liška
7c5a6eeb39 - Update to version 2.4.0+git20230110.6b6e36c:
* Use badge for entire devel package in OBS.
  * zypper-plugins: complement test whitelisting by a mismatching entry

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1011
2023-01-10 10:25:34 +00:00
Martin Liška
915dd7a148 - Update to version 2.4.0+git20230106.738df37:
* speed up parsing of ElfSectionInfo

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1010
2023-01-06 14:57:48 +00:00
Martin Liška
a561ca01fc - Update to version 2.4.0+git20230106.c39f6c2:
* Relax no-binary and noarch-with-lib64 checks

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1009
2023-01-06 14:02:48 +00:00
Martin Liška
ec3c16a76e - Update to version 2.4.0+git20230106.ba0020a:
* Update openSUSE's licenses.toml
  * Franklin Street address is ok

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1008
2023-01-06 08:49:59 +00:00
Martin Liška
b932c6975a - Update to version 2.4.0+git20230105.c9a861d:
* openSUSE: new whitelisting restriction for zypper plugins (bsc#1204314)
  * Update D-Bus whitelisting for NetworkManager-iodine (bsc#1206756)
  * Add OBS badge.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1007
2023-01-05 18:07:58 +00:00
Martin Liška
418e6fd3a5 - Update to version 2.4.0+git20221220.12af927:
* pam-modules: pam_unix: adjust package name to pam (bsc#1206485)
  * dbus-services: sddm: adjust to configuration file moved from /etc to /usr/share
  * Start using new ruff linter.
  * dbus-services: whitelist transaction-update-notifier (bsc#1206163)
  * Remove for now LGTM badges as it will be closed.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1005
2022-12-20 08:34:02 +00:00
Martin Liška
df6326dd73 Accepting request 1041867 from home:marxin:rpmlint
- Update to version 2.4.0+git20221209.975098b:
  * dbus-services: whitelist transaction-update-notifier (bsc#1206163)
  * Remove for now LGTM badges as it will be closed.

OBS-URL: https://build.opensuse.org/request/show/1041867
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1003
2022-12-09 13:21:33 +00:00
Martin Liška
a375c95105 - Update to version 2.4.0+git20221206.f05dc9c:
* dbus-services: /etc -> /usr move for lightdm whitelisting (bsc#1205939)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1001
2022-12-07 10:04:41 +00:00
Martin Liška
dc59f9cb72 - Update to version 2.4.0+git20221201.82b8b0c:
* Remove shared-library-without-dependency and library-not-linked-against-libc

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=999
2022-12-01 11:13:06 +00:00
Martin Liška
1314e83088 - Update to version 2.4.0+git20221128.b71453b:
* PythonCheck: Allow tests folder in python packages

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=997
2022-11-28 09:40:47 +00:00
Martin Liška
61c560f03f - Update to version 2.4.0+git20221122.a31cc76:
* pam-modules whitelist: add pam_saslauthd (bsc#1205459)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=995
2022-11-22 13:33:47 +00:00
Martin Liška
fd422e00b9 - Update to version 2.4.0+git20221122.836c918:
* dbus-services: whitelist experimental YaST installer D-Bus backend (bsc#1202059)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=994
2022-11-22 09:49:43 +00:00
Martin Liška
6c7a3df575 - Update to version 2.4.0+git20221117.15e61cc:
* Remove Python entries from Filelist checks.
  * GitHub Action: remove --security-opt in action

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=992
2022-11-17 09:53:42 +00:00
Martin Liška
f56836ae58 - Update to version 2.4.0+git20221115.3d27dda:
* PythonCheck: Do not allow tests folder in subpackages (#961)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=991
2022-11-15 17:55:20 +00:00
Martin Liška
cc6050197c - Update to version 2.4.0+git20221115.32b20b2:
* Add python check (#955)

- Update to version 2.4.0+git20221114.9c41868:
  * codeql: remove cron and use it only for some branches
  * Add CodeQL workflow for GitHub code scanning

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=990
2022-11-15 13:11:33 +00:00
Martin Liška
5a56e21b3a - Update to version 2.4.0+git20221110.f8919c6:
* Set DuplicatesMinSize default value to 2
  * dump_stats.py: add one more category for filtering
  * Do not consider files-duplicate for SMALL files
  * SpecCheck: Add python_sitelib glob check
  * remove bugbear exception (B023)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=988
2022-11-10 15:21:03 +00:00
Martin Liška
7ad1f746fd - Update to version 2.4.0+git20221028.5eac7b1:
* SpecCheck: Add python_sitelib glob check
  * dbus-service whitelist: move NetworkManager-openconnect to /usr (bsc#1204795)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=986
2022-10-28 11:45:28 +00:00
Martin Liška
b4bcbb33ee - Update to version 2.4.0+git20221025.93c4f05:
* Add python-module-def check to SpecCheck

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=985
2022-10-28 07:54:04 +00:00
Martin Liška
4f131d19c1 - Update to version 2.4.0+git20221024.648726f:
* Update the Python module regex to also match stable ABI names
  * update checkout action to v3

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=984
2022-10-24 11:47:55 +00:00