Week 7 (February 11th – February 17th)
- Packit now reloads spec files after all
actions
that might modify them during release syncing. This adds support for use cases like regenerating the spec file, see rust2rpm example. (packit#2521)
actions
that might modify them during release syncing.
This adds support for use cases like regenerating the spec file, see rust2rpm example.
(packit#2521)This is also a breaking release that includes changes from the Packit 1.0.0, we have opened PRs that should help you with migration if you are affected.
For more details please see the following blog post.
-
in them. (contributed by Dan Čermák, specfile#445)We have added a --resultdir
option for building in mock via our CLI
(packit build in-mock
).
(packit#2475)
For our specfile users, there is a new
convenience method Sections.get_or_create()
that allows you to manipulate
a section without checking if it exists first. If a section doesn't exist, it
will be appended to the end. For example, this will work properly even on
spec files without %changelog
:
with spec.sections() as sections:
changelog = sections.get_or_create("changelog")
changelog[:] = ["%autochangelog"]
We have also switched our base images from CentOS 9 Stream to Fedora 41 to allow you using the features from the latest rpm 4.20. (deployment#622)
We have unified status names for VM Image builds. (packit-service#2679)
We have started building our container images for alternative architectures. (packit-service#2675)
post-modifications
, that is executed after all modifications to the spec file are done and in case of syncing release after all remote sources are downloaded and before uploading to lookaside cache. You can use it for example to construct an additional source that depends on the primary source (that may not yet be available in other actions). (packit#2474)/packit retest-failed
which was retriggering also non failed tests. (packit-service#2665)fedora-distro-aliases
library to expand Fedora aliases.
This is Packit's original code being improved and properly maintained by the Copr team.
For further suggestions about aliases, use github.com/rpm-software-management/fedora-distro-aliases.
(packit#2470)