In the previous year, we automated the Fedora downstream release process in Packit.
The first step of the release process, propagating the upstream release to Fedora,
is covered by the propose_downstream
job.
This job updates the sources in Fedora, the spec file, and other needed files and creates pull requests with the changes
in the dist-git repository.
The downside of this job is that for its execution, users need to install Packit Service GitHub/GitLab
app since this job reacts only to GitHub/GitLab release webhooks.
However, the person who maintains the package in Fedora may not be the upstream maintainer and may not have admin access
to the upstream GitHub/GitLab repository.
To cover this case, we came up with a new job called pull_from_upstream
, which aims to update Fedora dist-git similarly
to propose_downstream
, but is configured directly in the dist-git repository.
Let's now look at how to set it up and how it works.