Releasing Uyuni patches - uyuni-project/uyuni GitHub Wiki

When to create patches

Uyuni is a rolling release product. Patches are provided only for really important bugs or vulnerabilities.

Procedure

Prepare the packages

You need to get packages into https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:Patches

The packages need to be based on the latest Uyuni released version.

For git packages from https://github.com/uyuni-project/uyuni:

  • Apply patches to the correct Uyuni-XXXX.YY branch
  • Tag there. Since the move of the product to containers, you will need to tag all the containers and helm charts as well (use the mock text Image rebuilt to the newest version with updated dependencies for that tagging).
  • Backport the changes and the tagging to master with a PR and the merge option (don't use rebase or squash)
  • Submit using https://ci.suse.de/view/Manager/view/Uyuni/job/uyuni-master-releng-2obs-patch/build?delay=0sec (make sure you check wipe_project and specify the packages to be submitted, including all the containers and helm charts).

For packages that don't come from https://github.com/uyuni-project/uyuni:

Release

Run:

osc release systemsmanagement:Uyuni:Master:Patches

This will get the packages into https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable:Patches

Announce the patch.

The patch can get installed by running:

zypper ar https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/Patches/openSUSE_Leap_15.4/systemsmanagement:Uyuni:Stable:Patches.repo
zypper ref

And then applying the patch as a regular Uyuni update (stop services, zypper up, start services)