.. _release_1.44:

fedpkg 1.44 Release Notes
=========================

Released on *February 20, 2023*

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

.. _`release notes`: https://docs.pagure.org/rpkg/releases/1.66.html

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.

| _`[2]`: https://jenkins-fedora-infra.apps.ocp.ci.centos.org/job/fedpkg
| _`[3]`: https://pagure.io/centos-infra/issue/829
| _`[4]`: https://sigs.centos.org/guide/ci/

``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)

.. _`#492`: https://pagure.io/fedpkg/issue/492