Project

General

Profile

Actions

action #14782

closed

copy sources of previous release

Added by lnussel about 8 years ago. Updated over 7 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by lnussel about 8 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
Actions #2

Updated by lnussel about 8 years ago

Actions #3

Updated by lnussel about 8 years ago

  • Target version set to Working
Actions #4

Updated by lnussel about 8 years ago

  • Category set to Release Engineering
Actions #5

Updated by lnussel about 8 years ago

  • Description updated (diff)
Actions #6

Updated by lnussel about 8 years ago

Actions #7

Updated by lnussel about 8 years ago

prjconf of stagings needs to be fixed still

Actions #8

Updated by lnussel about 8 years ago

  • Assignee set to mlin7442
Actions #9

Updated by mlin7442 about 8 years ago

  • % Done changed from 80 to 90

should be done, needs double confirm.

Actions #10

Updated by mlin7442 about 8 years ago

  • Status changed from In Progress to Feedback
Actions #11

Updated by lnussel about 8 years ago

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

Updated by mlin7442 about 8 years ago

Actions #13

Updated by mlin7442 about 8 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100
Actions #14

Updated by lnussel about 8 years ago

  • Description updated (diff)
Actions #15

Updated by mlin7442 about 8 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

Actions #16

Updated by lnussel about 8 years ago

  • Description updated (diff)

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

Actions #17

Updated by lnussel about 8 years ago

  • Description updated (diff)
Actions #18

Updated by adrian@suse.de about 8 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

Actions #19

Updated by lnussel about 8 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.

Actions #20

Updated by lnussel about 8 years ago

  • Status changed from New to Closed
Actions #21

Updated by lnussel almost 8 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

Actions #22

Updated by lnussel almost 8 years ago

  • Description updated (diff)
Actions #23

Updated by lnussel almost 8 years ago

Michael?

Actions #24

Updated by lnussel almost 8 years ago

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

release numbers fixed according to mls

Actions #25

Updated by lnussel over 7 years ago

  • Description updated (diff)
Actions #29

Updated by lnussel over 7 years ago

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

Also available in: Atom PDF