action #52034

Updated by lnussel about 3 years ago

First, ask an obs admin to prepare the "partitioning" setup of OBS for the new release. That makes sure rings and stagings end up on the correct backend.
Also ask for dispatchprios to be adjusted.

When done copy old project to new one with full history:

$ osc api /source/openSUSE:Leap:15.2?cmd=copy\&oproject=openSUSE:Leap:15.1\&withhistory=1\&comment=branch+from+15.1 -X POST

Adjust prj meta, add reviews etc (check previous release)
$ osc meta prj -e openSUSE:Leap:15.2

Then copy the rest:

$ for i in \
NonFree \
Rings \
Rings:0-Bootstrap \
Rings:1-MinimalX \
Staging Staging:A \
Staging:A:DVD; do \
echo $i; \
osc api /source/openSUSE:Leap:15.2:$i?cmd=copy\&oproject=openSUSE:Leap:15.1:$i\&withhistory=1\&comment=branch+from+15.1 -X POST; \

Ask an obs admin to copy the signkey for the staging projects from the previous release

To adjust link files osc co -u the project, then

sed -i -e 's/openSUSE:Leap:15.1/openSUSE:Leap:15.2/' */_link

Fix non oss release file:

osc api /source/openSUSE:Leap:15.2:NonFree/000release-packages/_aggregate -e

* make sure prjconf contains _with_betatest macros
* don't forget _service in _project

Fix rpmlint-AGGR in ring0

osc api /source/openSUSE:Leap:15.2:Rings:0-Bootstrap/rpmlint-mini-AGGR/_aggregate -e