Week 5 (January 28th – February 3rd)
- Packit CLI now supports building packages in the Open Build Service (packit#2067)
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)_, which is ignored when parsing the file.
This is useful for storing YAML anchors in complex config files, e.g.:_:
base-test: &base-test
job: tests
fmf_path: .distro
jobs:
- <<: *base-test
trigger: pull_request
manual_trigger: true
- <<: *internal-test
trigger: commit
use_internal_tf: true
with_opts and without_opts in target-specific configuration of copr_build job to build with --with and --without rpmbuild options. (packit#2463)/osh-scans API endpoint. (packit-service#2614)