action #14782
closedcopy sources of previous release
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
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
Updated by lnussel about 8 years ago
prjconf of stagings needs to be fixed still
Updated by mlin7442 about 8 years ago
- % Done changed from 80 to 90
should be done, needs double confirm.
Updated by mlin7442 about 8 years ago
- Status changed from In Progress to Feedback
Updated by lnussel about 8 years ago
- Description updated (diff)
- Due date set to 2016-11-25
Updated by mlin7442 about 8 years ago
- Status changed from Feedback to Resolved
- % Done changed from 90 to 100
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
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...
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
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/' */_linkshould 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.
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
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
Updated by lnussel over 7 years ago
- Copied to action #24740: copy sources of previous release added