- Update to version 2.4.0+git20230918.4498739:
* dbus-services: sddm-qt6 whitelisting (bsc#1215441)
- Update to version 2.4.0+git20230918.02ed553:
* Fix time report function output string creation
- Update to version 2.4.0+git20230915.acb9f8b2:
* polkit, sudoers whitelist: add gnome-branding-Aeon (bsc#1215276)
- Update to version 2.4.0+git20230915.ac23757:
* dbus-services: update tukitd (bsc#1215216)
* FileDigestCheck: do not use hash as variable name
* FileDigestCheck: Adapt fstrings to python3.12 check
* test: Remove real_files opotional parameter
* Add 'nats' user for NATS Server
* Add 'signaling' user for Nextcloud Talk Signaling Server
* Add 'otobo' user and group, successor app for OTRS
* PythonCheck: Add python-sphinx-doctrees-leftover
* test: Allow external file content definition
* test: Allow list of files in get_tested_mock_package
* test: add test documentation
* test: each file now default to empty content
* test: mocked test_config_files
* test: mocked newly added multiple-pyc-version tests
* test: mocked test_duplicates tests
* Refactored FakePkg with a new helper method for cleaner code in get_tested_mock_package
* moved _gather_dep_info and _gather_aux to AbstractPkg
* CI: removed GSoC23 branch for CI workflow
* test: mocked python dependencies leftovers; and removed 2 binaries
* copied _gather_deps_info and _gather_aux functions to FakePkg class
* test: mocked test_python_dependencies_missing; also removed its two rpm binaries
* test: removed binaries used for testing python package dependencies from metadata and requires.txt
* test: mocked another metadata test that supports complex dependency statements
* test: mocked test for metadata check in python package
* test: mocked complex dependencies from metadata
* test: mocked test for python dependencies from requires.txt
* test: mocked test for python dependencies from metadata
* modified if condition in add_file_with_content function
* test: distutil test for python packages is mocked
* tests: Refactored Python package tests using mocking for docs, src, and tests
* test: Remove binary RPM packages with Python docs and docs modules
* test: modified test_python_doc_module_in_package with mocking
* test: mocked test_python_doc_in_package
* flake8: fixed flake8 warnings
* Flake8 suggestion
* Update main.yml for GitHub Actions on branch GSoC23
* No need to import FakePkg
* changes as suggested
* As suggested, I have made changes to to get_tested_mock_package to use API, instead of just kwargs
* Tried to mock a test: test_binary.py
* CI: Use pipx to install external dependencies
* flake8: ignored double quotes with a comment
* flake8: remove double quotes
* add flake8 extra plugins
* Use python-magic API when available
* test: Skip test_executable_stack when ldd-failed
* PythonCheck: Add check for *.pyc different version
OBS-URL: https://build.opensuse.org/request/show/1111991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=455
- Update to version 2.4.0+git20230915.ac23757:
* dbus-services: update tukitd (bsc#1215216)
* FileDigestCheck: do not use hash as variable name
* FileDigestCheck: Adapt fstrings to python3.12 check
* test: Remove real_files opotional parameter
* Add 'nats' user for NATS Server
* Add 'signaling' user for Nextcloud Talk Signaling Server
* Add 'otobo' user and group, successor app for OTRS
* PythonCheck: Add python-sphinx-doctrees-leftover
* test: Allow external file content definition
* test: Allow list of files in get_tested_mock_package
* test: add test documentation
* test: each file now default to empty content
* test: mocked test_config_files
* test: mocked newly added multiple-pyc-version tests
* test: mocked test_duplicates tests
* Refactored FakePkg with a new helper method for cleaner code in get_tested_mock_package
* moved _gather_dep_info and _gather_aux to AbstractPkg
* CI: removed GSoC23 branch for CI workflow
* test: mocked python dependencies leftovers; and removed 2 binaries
* copied _gather_deps_info and _gather_aux functions to FakePkg class
* test: mocked test_python_dependencies_missing; also removed its two rpm binaries
* test: removed binaries used for testing python package dependencies from metadata and requires.txt
* test: mocked another metadata test that supports complex dependency statements
* test: mocked test for metadata check in python package
* test: mocked complex dependencies from metadata
* test: mocked test for python dependencies from requires.txt
* test: mocked test for python dependencies from metadata
* modified if condition in add_file_with_content function
* test: distutil test for python packages is mocked
* tests: Refactored Python package tests using mocking for docs, src, and tests
* test: Remove binary RPM packages with Python docs and docs modules
* test: modified test_python_doc_module_in_package with mocking
* test: mocked test_python_doc_in_package
* flake8: fixed flake8 warnings
* Flake8 suggestion
* Update main.yml for GitHub Actions on branch GSoC23
* No need to import FakePkg
* changes as suggested
* As suggested, I have made changes to to get_tested_mock_package to use API, instead of just kwargs
* Tried to mock a test: test_binary.py
* CI: Use pipx to install external dependencies
* flake8: ignored double quotes with a comment
* flake8: remove double quotes
* add flake8 extra plugins
* Use python-magic API when available
* test: Skip test_executable_stack when ldd-failed
* PythonCheck: Add check for *.pyc different version
OBS-URL: https://build.opensuse.org/request/show/1111465
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1076
- Update to version 2.4.0+git20230818.5cdd21d0:
* dbus-services: keep old deepin names around until rename is complete (bsc#1214101)
* BinariesCheck: Allow ELF prefix in magic string
* README: added test coverage badge
* pkg_resource is deprecated, importlib and packaging are standard now
* Change setuptools dependency version and license
* Add 'rpmlint.descriptions' to packages on pyproject.toml
* Move metadata from setup.py to pyproject.toml
OBS-URL: https://build.opensuse.org/request/show/1104675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=454
* dbus-services: keep old deepin names around until rename is complete (bsc#1214101)
* BinariesCheck: Allow ELF prefix in magic string
* README: added test coverage badge
* pkg_resource is deprecated, importlib and packaging are standard now
* Change setuptools dependency version and license
* Add 'rpmlint.descriptions' to packages on pyproject.toml
* Move metadata from setup.py to pyproject.toml
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1074
- Update to version 2.4.0+git20230713.dfa31c7:
* bsc#1213292: adjust timesync1 dbus whitelisting
* spellcheck: Set lang to en_US when it's C
* SpecCheck: Allow macros for special comments
* rpmdiff: handle script argument with argparse
* PythonCheck: Handle extras in req check
* PythonCheck: Use packaging to parse deps strings
* PythonCheck: Ignore python_version in requirements
* PythonCheck: Support complex python requirements
* SpecCheck: Check for NULL char in all lines
* rpmdiff: adjust for rpm-4.19.0 API changes
* DocCheck: adjust for rpm-4.19.0 API changes
* dbus-services: drop whitelisting that was never put into production
* openSUSE/users-groups: transmission
* Releasing rpmlint as pre-commit hook
OBS-URL: https://build.opensuse.org/request/show/1098548
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1070
- Update to version 2.4.0+git20230424.e2a5b62:
* port to get_tested_path instead of testpath
* Allow *args for get_tested_path.
* tests: use get_tested_path rather than testpath
- 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/request/show/1082395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=447
- Update to version 2.4.0+git20230421.f2ea8ab:
* pam-modules: whitelist pam_wtmpdb (bsc#1209963)
* Drop dependency on pytest-flake8 as it's unmaintained.
- 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/1081220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=446
- Update to version 2.4.0+git20230331.bc7b966:
* dbus-services: add libproxy whitelisting (bsc#1209376)
- Update to version 2.4.0+git20230331.8f6e31e:
* PythonCheck: Handle complex dependency declaration gracefully
- 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.
- Depend on python-magic Python package.
OBS-URL: https://build.opensuse.org/request/show/1076468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=443
- Update to version 2.4.0+git20230322.717aa4d:
* pam-module whitelist: add lastlog2 (bsc#1209238)
- 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/request/show/1074099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=440
* 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