fedpkg 1.44 Release Notes

Released on February 20, 2023

This release requires rpkg >= 1.66-1. rpkg-1.66 release notes

Python compatibility

fedpkg works with Python 2.7, 3.6, 3.9, 3.10 and 3.11

What’s new in fedpkg 1.44

Set default_branch_merge to ‘rawhide’

In Fedora, the principle is to perform all modifications in ‘Rawhide’ first. Thus, it makes sense to assume that any work that happens outside of an established dist-git repository is targeting Rawhide. Previously, the user had to manually specify --release rawhide on every invocation.

Define ‘default_branch_merge()’ to return ‘rawhide’, so that ‘rawhide’ is the default release when there is no Git repository.

New command disable-monitoring

After the repository is retired, its monitoring needs to be disabled [1]. The project after its retirement might still be marked as active in the PDC. Therefore after successful retire operation, a REST API request is automatically sent to disable such monitoring.

Operation can be triggered even manually:

fedpkg [--path <path_to_the_repo>] disable-monitoring

To send the request, a user needs the proper dist-git token set in the fedpkg’s configuration. Instruction on how to do that can be seen in the command’s help:

fedpkg disable-monitoring -h|--help

[1]: https://pagure.io/releng/issue/10724

Add Jenkinsfile for CI

Current nodes of [2] are running in legacy mode and will be removed. We need to update related jobs to use new infra. See [3] and [4] for more info.

fedpkg update: can handle $EDITOR with arguments

Process the $EDITOR environment value first - it can (again) contain additional arguments. For example ‘EDITOR=emacs -nw’.

Change Logs

  • New command disable-monitoring (onosek)

  • Set default_branch_merge to ‘rawhide’ (otto.liljalaakso)

  • fedpkg update: can handle $EDITOR with arguments - #492 (onosek)

  • Add Jenkinsfile for CI (onosek)