Utilities for package maintainers

A number of utilities are available to support package maintainers in maintaining their packages. This page attempts to list them, but is not a complete list.

Testing new builds with pull requests and CI

Checking package update impact: fedrq

Before updating their packages as per the updates policy, package maintainers should check if/how the update impacts other packages. To list what packages depend on another in each Fedora release, package maintainers can use the fedrq tool. Example usage:

$ sudo dnf install fedrq

$ fedrq whatrequires-src -b f38 python-pydantic
fedrq-0.7.1-1.fc38.noarch
fedrq-0.7.1-1.fc38.src
input-remapper-2.0.0-2.fc38.noarch
input-remapper-2.0.0-2.fc38.src
matrix-synapse-1.85.2-1.fc38.src
matrix-synapse-1.85.2-1.fc38.x86_64
psi4-1:1.3.2-19.fc38.i686
psi4-1:1.3.2-19.fc38.src
psi4-1:1.3.2-19.fc38.x86_64
python-aws-sam-translator-1.68.0-1.fc38.src
python-bsmschema-0.1.0-1.fc38.src
python-fastapi-0.96.0-1.fc38.src
python-pytest-toolbox-0.4-12.fc37.src
python-qcelemental-0.25.0-4.fc38.src
python-qcengine-0.26.0-1.fc38.src
python-versioningit-2.2.0-1.fc38.src
python3-aws-sam-translator-1.68.0-1.fc38.noarch
python3-bsmschema-0.1.0-1.fc38.noarch
python3-fastapi-0.96.0-1.fc38.noarch
python3-qcelemental-0.25.0-4.fc38.noarch
python3-qcengine-0.26.0-1.fc38.noarch

Running fedora-review on review tickets using fedora-review service

The Fedora Review Service automatically runs fedora-review on new package review tickets. One can add a comment with [fedora-review-service-build] to re-run the review service.

Automating package updates: Packit

Packit is a service that enables automated pull request creation for new upstream releases. More information on configuring dist-git repositories to use Packit can be found in the documentation.

Please remember to run impact checks before pushing updates.

fbrnch: an advanced packager tool

If you maintain larger package sets or want additional features/checks over fedpkg and other tools (like fedora-review), you can install fbrnch (pronounced f-branch). The readme file has an overview of its features, but some of the main highlights are:

  • automated parallel builds in dependency order in a sidetag

  • easy scratch, mock builds, waitrepo, and merging for a package branch

  • listing, creating and updating package reviews

  • requesting new package repos and importing directly from package reviews

  • updating sources and much more