-
Notifications
You must be signed in to change notification settings - Fork 180
Releasing Uyuni patches
Marina Latini edited this page Apr 13, 2023
·
9 revisions
Uyuni is a rolling release product. Patches are provided only for really important bugs or vulnerabilities.
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
- 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
ans specify the packages to be submitted).
For packages that don't come from https://github.com/uyuni-project/uyuni:
- If you don't have any package from https://github.com/uyuni-project/uyuni, wipe all packages from https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:Patches (otherwise you already wiped on the previous setup for git packages)
- Branch the package from https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable
- Create a patchfile and a changelog entry and bump the package version. Or even better, get new sources and a new real release.
- Submit a SR to systemsmanagement:Uyuni:Master:Patches
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)