GNOME/Packaging/GNOME:STABLE

From openSUSE

< GNOME | Packaging(Difference between revisions)

Revision as of 23:13, 25 April 2009

This How to describes the process of updating GNOME:STABLE:x.yy


When GNOME releases a major version, and GNOME:Factory has been updated, we want to copy these packages to GNOME:STABLE:x.yy.

Here are the steps needed to achieve this (Using GNOME v2.26, and openSUSE 11.1 as an example);

1. Create GNOME:STABLE:2.26

2. Using 'osc meta prj -e GNOME:STABLE:2.26', add the following repositories (Note! The order of the repositories are important);

 <repository name="openSUSE_11.1">
   <path project="GNOME:Backports:2.26" repository="openSUSE_11.1"/>
   <path project="openSUSE:11.1:Update" repository="standard"/>
   <path project="openSUSE:11.1" repository="standard"/>
   <arch>i586</arch>
   <arch>x86_64</arch>
 </repository>

3. Copy all packages, using something like this;

 pkgs=`osc rprjresults -c GNOME:Factory|awk -F";" '{print $1}'`; for pkg in $pkgs; do osc copypac --expand GNOME:Factory $pkg GNOME:STABLE:2.26; done

4. Change the development project to GNOME:STABLE:2.26

 pkgs=`osc rprjresults -c GNOME:STABLE:2.26|awk -F";" '{print $1}'`; for pkg in $pkgs; do osc meta GNOME:STABLE:2.26 $pkg|sed -e 's/GNOME:Factory/GNOME:STABLE:2.26/g'|osc meta GNOME:STABLE:2.26 $pkg -F -; done