Project

General

Profile

action #14782

copy sources of previous release

Added by lnussel about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Release Engineering
Target version:
Start date:
2016-11-14
Due date:
2016-11-25
% Done:

100%

Estimated time:

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.

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

$ osc api /source/openSUSE:Leap:42.3?cmd=copy\&oproject=openSUSE:Leap:42.2\&withhistory=1\&comment=branch+from+42.2 -X POST
$ for i in \
    NonFree \
    Rings \
    Rings:0-Bootstrap \
    Rings:1-MinimalX \
    Rings:2-TestDVD \
    Staging Staging:A \
    Staging:A:DVD; do \
    echo $i; \
    osc api /source/openSUSE:Leap:42.3:$i?cmd=copy\&oproject=openSUSE:Leap:42.2:$i\&withhistory=1\&comment=branch+from+42.2 -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:42.2/openSUSE:Leap:42.3/' */_link

Fix non oss release file:

    osc api /source/openSUSE:Leap:42.3:NonFree/openSUSE-release/_aggregate -e

Related issues

Copied to openSUSE Leap 15.0 - action #24740: copy sources of previous releaseClosed2017-07-312017-10-11

History

#1 Updated by lnussel about 5 years ago

  • Subject changed from Ask OBS admins to copy previous release to copy sources of previous release
  • Description updated (diff)
  • Status changed from New to In Progress
  • % Done changed from 0 to 80

#2 Updated by lnussel about 5 years ago

#3 Updated by lnussel about 5 years ago

  • Target version set to Working

#4 Updated by lnussel about 5 years ago

  • Category set to Release Engineering

#5 Updated by lnussel about 5 years ago

  • Description updated (diff)

#6 Updated by lnussel about 5 years ago

#7 Updated by lnussel about 5 years ago

prjconf of stagings needs to be fixed still

#8 Updated by lnussel about 5 years ago

  • Assignee set to mlin7442

#9 Updated by mlin7442 about 5 years ago

  • % Done changed from 80 to 90

should be done, needs double confirm.

#10 Updated by mlin7442 about 5 years ago

  • Status changed from In Progress to Feedback

#11 Updated by lnussel about 5 years ago

  • Description updated (diff)
  • Due date set to 2016-11-25

#12 Updated by mlin7442 about 5 years ago

#13 Updated by mlin7442 about 5 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

#14 Updated by lnussel about 5 years ago

  • Description updated (diff)

#15 Updated by mlin7442 about 5 years ago

As lazy as me, I use:

packages=$(osc ls openSUSE:Leap:42.3:Rings:1-MinimalX)

for i in $packages; do
echo $i
get_mt=$(osc api "/source/openSUSE:Leap:42.3:Rings:1-MinimalX/$i/_link" > mt)
sed -i -e 's/openSUSE:Leap:42.2/openSUSE:Leap:42.3/' mt
put_mt=$(osc api "/source/openSUSE:Leap:42.3:Rings:1-MinimalX/$i/_link" -T mt -X PUT)
done

#16 Updated by lnussel about 5 years ago

  • Description updated (diff)

as usual rings ended up on the wrong backend. the obs config needs to be adjust before creating them...

#17 Updated by lnussel about 5 years ago

  • Description updated (diff)

#18 Updated by adrian@suse.de about 5 years ago

  • Status changed from Resolved to New

On Mittwoch, 30. November 2016, 15:36:02 CET wrote redmine@opensuse.org:
...

To adjust link files osc co -u the project, then
sed -i -e 's/openSUSE:Leap:42.2/openSUSE:Leap:42.3/' */_link

should not be needed if you don't specify project attribute there
at all. It isn't needed.

And the new _multibuild feature will obsolete them anyway soon hopefully :)

--

Adrian Schroeter
email: adrian@suse.de

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Maxfeldstraße 5

90409 Nürnberg
Germany

#19 Updated by lnussel about 5 years ago

adrian@suse.de wrote:

On Mittwoch, 30. November 2016, 15:36:02 CET wrote redmine@opensuse.org:
...

To adjust link files osc co -u the project, then
sed -i -e 's/openSUSE:Leap:42.2/openSUSE:Leap:42.3/' */_link

should not be needed if you don't specify project attribute there
at all. It isn't needed.

And the new _multibuild feature will obsolete them anyway soon hopefully :)

This is about links from ring projects to the main project. So they are inter
project links.

#20 Updated by lnussel about 5 years ago

  • Status changed from New to Closed

#21 Updated by lnussel almost 5 years ago

  • Status changed from Closed to In Progress
  • Assignee changed from mlin7442 to mlschroe
  • % Done changed from 100 to 90

reopening for mls to fix the mentioned api call with makeoriginolder and to retrofit on current 42.3 setup

#22 Updated by lnussel almost 5 years ago

  • Description updated (diff)

#23 Updated by lnussel almost 5 years ago

Michael?

#24 Updated by lnussel almost 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

release numbers fixed according to mls

#25 Updated by lnussel over 4 years ago

  • Description updated (diff)

#29 Updated by lnussel over 4 years ago

  • Copied to action #24740: copy sources of previous release added

Also available in: Atom PDF