Running fedora-review on every commit

05. 12. 2026 | Jakub Kadlčík | EN fedora packaging

I think we should automatically run the fedora-review tool for every PR and every commit in the Fedora DistGit. I talked about this idea on the Fedora Podcast and Fedora Discussion some time ago, and the feature is now ready to be shipped. But before inflicting it upon the unsuspecting packager community, I’d like to give everyone a chance to try it first and report any potential issues.

On-demand review

You can type a comment like this on any Fedora DistGit PR to trigger a review for the proposed changes to your package.

/packit-ci test fedora-review

Packit will see this comment, run fedora-review in Testing Farm, and report the problems back to you.

I am aware some packages have unique needs or exceptions. In such cases, you can provide a custom fedora-review configuration file to exclude unwanted checks or anything else you need.

Why?

We have a strong Package Review Process - before a package is added to the official Fedora repositories, it is subjected to a review from at least one other package maintainer, where it is often rigorously scrutinized and is only accepted when it meets our standards for quality. This requires a heavy investment from both the contributor and the reviewer, but it is worth it because once the package is accepted, we know it is good enough for Fedora.

The problem is, we have no idea what happens after that. We trust the maintainers, so we give them free rein. Which is a good thing, but in my opinion, we need to provide them with better guardrails. For example, we should never allow packages to drop their quality so much that they wouldn’t pass the initial Package Review Process again.

Theoretically, the package maintainer can intentionally revert all changes requested by the reviewers immediately after the package is approved. It is likely that nobody would even notice. What is far more concerning than this hypothetical scenario, though, is a slow and unknowing degradation of quality over a long period of time. For example, I maintain several Python packages for 10+ years. During that time, they went through the Python 2 to Python 3 transition, complete reinvention of Fedora Python packaging through the %pyproject_* macros, subpackages being added and removed, drastic upstream changes, switch to the SPDX license field, and the packaging best practices being updated in general. I only have good intentions, and I am doing my best trying to navigate these changes, but I never really know if my patches adopting them are correct. Many times they weren’t, that’s for sure.

Running fedora-review for every PR and every commit in the Fedora DistGit won’t solve this problem, but I think it is a step in the right direction.

Future

After proper testing, I would like to propose that we automatically run fedora-review for every change in every Fedora package. I am also working on a reimagined version of the Fedora Package Review Process, which will use the same exact CI for new packages that are being proposed to Fedora. That way, we can be consistent with our standards and also share as much tooling as possible.