We have recently made some fixes to the process of handling the Release
field regarding the %autorelease
macro, so let's take that opportunity to explain how it works.
Packit's pre-commit hooks
pre-commit is a wonderful tool that saves you a lot of time by automatically checking your changes before you commit and/or push them out.
2022 for Packit
As you will see in the following paragraphs, the year 2022 was really fruitful for the Packit project. Without further ado, let’s take a look at what the Packit team accomplished last year!
Automatic pulling of upstream releases to Fedora
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.
Running tests with builds from another PR
Do you contribute to projects which depend on each other? Would you like to test changes spanning multiple repositories together before merging them to the main branch? Then look no further, Packit's new feature of the Testing Farm integration is what you are looking for!
Automation of FAS verification in Packit Service
As you may already know, for using Packit Service GitHub App we require our users to have a valid Fedora Account System account. We were verifying the newcomers until now manually, but in recent weeks, we have implemented an automated solution for it. Let's take a closer look at how it is done currently and what have we improved!
Downstream automation is here
Finally, it's here. Now, you can do the whole Fedora release with the help of Packit. Let's take a look at how it works on an example of OGR, the Python library we develop.
Building SRPMs in Copr
Let's find out how Packit builds your SRPMs in the Copr.
2021 for Packit
The previous year 2021 wasn't interesting only because of the increased usage of Packit (you can see more in the previous post). The whole Packit team made a lot of improvements during the year. Some small, some really big. So, let's take a look at the most important ones!
2021 in Numbers
Let's take a look on the year 2021 through some numbers. We would like to show you some interesting statistics and charts that can describe the work of Packit during the year 2021. If you are more interested in new features, let's take a look on our second post.