GNOME/Packaging/GNOME:STABLE

From openSUSE

(Difference between revisions)
Revision as of 23:13, 25 April 2009
MBoman (Talk | contribs)

� Previous diff
Revision as of 23:38, 25 April 2009
MBoman (Talk | contribs)

Next diff →
Line 25: Line 25:
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 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
 +
 +
 +
 +
 +When GNOME releases a new dot release (ie 2.26.1) and GNOME:Factory have been updated, we can generally copy all packages to GNOME:STABLE again. The process for that is described below.
 +
 +1. Find out what packages are newer in G:F compared to G:S:2.26.
 +Using a script like what can be found at http://coolice.org/wiki/index.php?title=GNOME:STABLE will list all packages that are newer (pipe it to a file).
 +
 +2. Review the list and make sure it only contains packages that should be updated. Some packages might be too new and should not be copied. If in doubt, ask on IRC (freenode/#opensuse-gnome).
 +
 +3. Do the update, using something like this;
 +
 + pkgs=`cat outputfile.txt|awk -F";" '{print $1}'`; for pkg in $pkgs; do osc copypac --expand GNOME:Factory $pkg GNOME:STABLE:2.26; done

Revision as of 23:38, 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



When GNOME releases a new dot release (ie 2.26.1) and GNOME:Factory have been updated, we can generally copy all packages to GNOME:STABLE again. The process for that is described below.

1. Find out what packages are newer in G:F compared to G:S:2.26. Using a script like what can be found at http://coolice.org/wiki/index.php?title=GNOME:STABLE will list all packages that are newer (pipe it to a file).

2. Review the list and make sure it only contains packages that should be updated. Some packages might be too new and should not be copied. If in doubt, ask on IRC (freenode/#opensuse-gnome).

3. Do the update, using something like this;

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