action #52034

copy sources of previous release

Added by lnussel 9 months ago. Updated 7 months ago.

Status:ResolvedStart date:27/05/2019
Priority:NormalDue date:10/06/2019
Assignee:lkocman% Done:

20%

Category:Release Engineering
Target version:Alpha
Duration: 11

Description

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; \
    done

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

Related issues

Blocks openSUSE Leap 15.2 - action #50465: rename product from openSUSE to Leap Rejected 01/07/2019 30/11/2019
Copied from openSUSE Leap 15.1 - action #36787: copy sources of previous release Resolved 05/06/2018 15/06/2018

History

#1 Updated by lnussel 9 months ago

  • Copied from action #36787: copy sources of previous release added

#2 Updated by lnussel 9 months ago

  • Start date changed from 31/05/2019 to 27/05/2019

#3 Updated by lnussel 9 months ago

  • Blocks action #50465: rename product from openSUSE to Leap added

#4 Updated by lnussel 9 months ago

#5 Updated by lnussel 9 months ago

#6 Updated by lnussel 9 months ago

  • Description updated (diff)

#7 Updated by lnussel 9 months ago

  • Description updated (diff)
  • Assignee set to lkocman

#8 Updated by lnussel 9 months ago

  • % Done changed from 0 to 10

OBS side is done according to Adrian

#9 Updated by lnussel 9 months ago

  • Description updated (diff)

#10 Updated by lnussel 9 months ago

  • Description updated (diff)

#11 Updated by lnussel 9 months ago

  • Status changed from New to In Progress
  • % Done changed from 10 to 20

project created and prjconf adjusted

#12 Updated by lkocman 8 months ago

Stagin:A:DVD was not found. I did checkout the entire folder and it's not in 15.1. I suppose that that would be equivalent of Test-DVD from SLE 15.1

Rest is done
lkocman-factory@linux-i0y4:~> bash /tmp/runme
NonFree

Job invoked

Rings

Job invoked

Rings:0-Bootstrap

Job invoked

Rings:1-MinimalX

Job invoked

Staging

Job invoked

Staging:A

Job invoked

lkocman-factory@linux-i0y4:~> C
lkocman-factory@linux-i0y4:~> cat /tmp/runme
for i in \
NonFree \
Rings \
Rings:0-Bootstrap \
Rings:1-MinimalX \
Staging Staging:A; 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; \
done
lkocman-factory@linux-i0y4:~>

#13 Updated by lkocman 8 months ago

Stagin:A:DVD was not found. I did checkout the entire folder and it's not in 15.1. I suppose that that would be equivalent of Test-DVD from SLE 15.1

Rest is done
lkocman-factory@linux-i0y4:~> bash /tmp/runme
NonFree

Job invoked

Rings

Job invoked

Rings:0-Bootstrap

Job invoked

Rings:1-MinimalX

Job invoked

Staging

Job invoked

Staging:A

Job invoked

lkocman-factory@linux-i0y4:~> C
lkocman-factory@linux-i0y4:~> cat /tmp/runme
for i in \
NonFree \
Rings \
Rings:0-Bootstrap \
Rings:1-MinimalX \
Staging Staging:A; 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; \
done
lkocman-factory@linux-i0y4:~>

I did ask autobuild@ to copy the signkey from previous realease via autobuild@suse.de

#14 Updated by lkocman 7 months ago

Signing key part done by Adrian S.

#15 Updated by lkocman 7 months ago

  • Status changed from In Progress to Resolved

#16 Updated by mlin7442 7 months ago

_aggregate updated

#17 Updated by mlin7442 7 months ago

also updated _link in ring0 and ring1.

Also available in: Atom PDF