Koji 1.36.1 Release notes

All changes can be found in the roadmap. Most important changes are listed here.

This is a fairly small bugfix release to address some pain points in 1.36.

Migrating from Koji 1.36.0

No special actions are needed.

Bug fixes

Better handling of volume topdir problems

Fixes issues related to handling the volume toplink that Koji started requiring in 1.36.

See also: Migrating to Koji 1.36

Reset callnum when a session is renewed

This fixes issues with session renewal in 1.36.

Allow restarted tasks to recycle their existing draft builds

This fixes an issue where restarted tasks could leave lingering duplicate draft builds in the BUILDING state

Make templates compatible for jinja 2.10

This addresses issues with running kojiweb on rhel8 (jinja 2.10).

Avoid error in daemon.py if “single” option is unset

This fixes a startup error in kojivmd

Fix flag data leaks

Fixes a potential logic issue with the flag action that was added for policies in 1.36.

Fix kojihash calculation in rpmdiff

Fixes for multiple issues in the kojihash calculation that resulted in unnecessary duplicate runs of rpmdiff.

Fix string escapes in archivetype queries

Fix string escapes in archivetype queries for older postgres

System Changes

Better scm path normalization

This does a better job of normalizing the scm path

Add by_tag_subtask policy test

This hub policy test is true if a tag operation is triggered by a tagBuild subtask.

When this is true, it means the tag operation is part of a builder workflow, e.g. tagging at the end of a build task. This can be used to avoid breaking build target workflows when crafting strict tag policies.

See also: Defining Hub Policies

Client Changes

Option for download-build to not fail on missing arch

This arg makes koji download-build warn, but exit 0, if the specified build has no packages for any of the specified arches.

Devel and testing

Enhancements to fakepolicy tool

  • handle BuildRoot.getList in fakepolicy

  • support testing scm-policy

  • support testing cg policy

Unit test fixes and additions

  • fixes for parallel tests

  • fixes for rhel8

  • additional tests

Other changes

Unify format of CLI help messages

Minor cleanup for help text in the cli

Minor multicall fix

Minor fix for a potentially confusing error case, plus some docstring updates to discourage use of old multiCall method.

Extend sidetag documentation

Additional docs for policy tests