Project

General

Profile

action #14782

Updated by lnussel almost 5 years ago

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

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

Back