public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Add rpmlint.toml filtering for false positives and known issues in CI
@ 2026-11-23 9:36 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : de6255b5741457113454ef1ce0891e08a8a0c044
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2026-11-19T17:03:59+02:00
Stats : +65/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/de6255b5741457113454ef1ce0891e08a8a0c044?branch=pmatilai-v6
Log:
Add rpmlint.toml filtering for false positives and known issues in CI
---
diff --git a/rpmlint.toml b/rpmlint.toml
new file mode 100644
index 0000000..6f5ab78
--- /dev/null
+++ b/rpmlint.toml
@@ -0,0 +1,65 @@
+Filters = [
+ # FALSE POSITIVES / rpmlint bugs
+
+ # We damn well shouldn't own /var/log/
+ 'logrotate-log-dir-not-packaged',
+
+ # rpmlint assumes logrotate file must match the package name when it
+ # should expect *project* name instead (ours is in rpm-cron subpackage)
+ 'incoherent-logrotate-file',
+
+ # rpm doesn't call setuid(), it only provides a Lua API to do so,
+ # call order is up to the user. The matter is also context dependent.
+ 'missing-call-to-setgroups-before-setuid',
+
+ # rpm-apidocs is an docs only package to avoid huge docs in other packages
+ 'package-with-huge-docs',
+
+ # The software uses hidden files for locks, this isn't rpmlints business
+ 'hidden-file-or-dir /usr/lib/sysimage/rpm/',
+
+ # These aren't spelling errors
+ 'spelling-error .*\b(init|ionice|scriptlet|systemd)',
+
+ # cron.daily are scripts, not configuration
+ 'non-conffile-in-etc /etc/cron.daily/rpm',
+
+ # It's not a dangling link when dependencies are met
+ 'dangling-relative-symlink /usr/lib/rpm/find-debuginfo.sh',
+
+ # We can't very well claim to provide python 2 modules when we dont, etc.
+ 'obsolete-not-provided (python2-rpm|fapolicyd-dnf-plugin)',
+
+ # INTENTIONAL EXCEPTIONS
+ # Some folks insist the rpmdb should live in /usr/lib instead of /var.
+ 'non-etc-or-var-file-marked-as-conffile /usr/lib/sysimage/rpm/',
+
+ # Necessary evil while the rpmdb migration to /usr/lib/sysimage is there
+ 'dangerous-command-in-%pre ln',
+
+ # RPM is a recursive acronym, this is unavoidable
+ 'name-repeated-in-summary',
+
+ # rpm-cron doesn't need
+ 'rpm-cron.noarch: W: no-documentation',
+
+ # Empty only if %systemd_postun rpmdb-rebuild.service expands thus
+ 'rpm.*: W: empty-%postun',
+
+ # KNOWN ISSUES
+
+ # Ideally these would go to some rpm-common type subpackage
+ 'files-duplicate /usr/lib/rpm/platform',
+
+ # https://github.com/rpm-software-management/rpm/issues/1849
+ 'rpm-plugin-fsverity.*: W: no-documentation',
+
+ # https://github.com/rpm-software-management/rpm/issues/4398
+ 'python-egg-info-distutils-style',
+
+ # https://github.com/rpm-software-management/rpm/issues/4399
+ 'no-manual-page-for-binary (rpmquery|rpmverify)',
+
+ # https://github.com/rpm-software-management/rpm/issues/4400
+ 'dbus-policy-missing-allow /usr/share/dbus-1/system.d/org.rpm.conf',
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:36 [rpms/rpm] pmatilai-v6: Add rpmlint.toml filtering for false positives and known issues in CI Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox