Editing Mer/Build/Processes

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
{{Mer}}
 
-
 
== OBS Project structure and promotion ==
== OBS Project structure and promotion ==
Line 50: Line 48:
Ensure that:
Ensure that:
-
<nowiki>
 
   osc meta prjconf <SOURCE>
   osc meta prjconf <SOURCE>
-
</nowiki>
 
is copied to the <TARGET> conf. This may contain things like package selection preferences.
is copied to the <TARGET> conf. This may contain things like package selection preferences.
Currently the prjconf is:
Currently the prjconf is:
Line 69: Line 65:
First pipe over the project metadata:
First pipe over the project metadata:
   osc meta prjconf Maemo:Mer:Devel  | osc meta prjconf Maemo:Mer:Testing -F -  
   osc meta prjconf Maemo:Mer:Devel  | osc meta prjconf Maemo:Mer:Testing -F -  
-
 
-
Clean out :Testing
 
-
  for i in $(osc ls Maemo:Mer:Testing); do echo $i; osc rdelete Maemo:Mer:Testing $i ; done
 
-
  for HW in HW:N8x0 HW:N900 HW:SmartQ HW:Freerunner HW:Beagle; do
 
-
    for i in $(osc ls Maemo:Mer:Testing:$HW); do echo $i; osc rdelete Maemo:Mer:Testing:$HW $i; done
 
-
  done
 
-
 
Then run:
Then run:
-
  osc wipebinaries --all Maemo:Mer:Testing
 
   for i in $(osc ls Maemo:Mer:Devel); do echo $i; osc copypac Maemo:Mer:Devel $i Maemo:Mer:Testing ; done
   for i in $(osc ls Maemo:Mer:Devel); do echo $i; osc copypac Maemo:Mer:Devel $i Maemo:Mer:Testing ; done
-
   for HW in HW:N8x0 HW:N900 HW:SmartQ HW:Freerunner HW:Beagle; do
+
   for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do
-
    osc wipebinaries --all Maemo:Mer:Testing:$HW
+
     for i in $(osc ls Maemo:Mer:Devel:$HW); do echo $i; osc copypac -k Maemo:Mer:Devel:$HW $i Maemo:Mer:Testing:$HW ; done
     for i in $(osc ls Maemo:Mer:Devel:$HW); do echo $i; osc copypac -k Maemo:Mer:Devel:$HW $i Maemo:Mer:Testing:$HW ; done
   done
   done
Line 94: Line 81:
Create the projects (copied from $OLD):
Create the projects (copied from $OLD):
   osc meta prj Maemo:Mer:$OLD | sed "s/$OLD/$STABLE/" |osc meta prj Maemo:Mer:$STABLE -F -
   osc meta prj Maemo:Mer:$OLD | sed "s/$OLD/$STABLE/" |osc meta prj Maemo:Mer:$STABLE -F -
-
   for HW in HW:N8x0 HW:N900 HW:SmartQ HW:Freerunner HW:Beagle; do
+
   for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do
     osc meta prj Maemo:Mer:$OLD:$HW | sed "s/$OLD/$STABLE/" |osc meta prj Maemo:Mer:$STABLE:$HW -F -
     osc meta prj Maemo:Mer:$OLD:$HW | sed "s/$OLD/$STABLE/" |osc meta prj Maemo:Mer:$STABLE:$HW -F -
   done
   done
Line 103: Line 90:
Then run:
Then run:
   for i in $(osc ls Maemo:Mer:Testing); do echo $i; osc copypac Maemo:Mer:Testing $i Maemo:Mer:$STABLE ; done
   for i in $(osc ls Maemo:Mer:Testing); do echo $i; osc copypac Maemo:Mer:Testing $i Maemo:Mer:$STABLE ; done
-
   for HW in HW:N8x0 HW:N900 HW:SmartQ HW:Freerunner HW:Beagle; do
+
   for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do
     for i in $(osc ls Maemo:Mer:Testing:$HW); do echo $i; osc copypac -k Maemo:Mer:Testing:$HW $i Maemo:Mer:$STABLE:$HW ; done
     for i in $(osc ls Maemo:Mer:Testing:$HW); do echo $i; osc copypac -k Maemo:Mer:Testing:$HW $i Maemo:Mer:$STABLE:$HW ; done
   done
   done
-
 
-
Allow to build.
 
-
 
-
<hr>
 
Then, once it's built and stable, use _aggregate to link each package to :Stable
Then, once it's built and stable, use _aggregate to link each package to :Stable
Line 115: Line 98:
First clean out :Stable
First clean out :Stable
   for i in $(osc ls Maemo:Mer:Stable); do echo $i; osc rdelete Maemo:Mer:Stable $i ; done
   for i in $(osc ls Maemo:Mer:Stable); do echo $i; osc rdelete Maemo:Mer:Stable $i ; done
-
   for HW in HW:N8x0 HW:N900 HW:SmartQ HW:Freerunner HW:Beagle; do
+
   for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do
     for i in $(osc ls Maemo:Mer:Stable:$HW); do echo $i; osc rdelete Maemo:Mer:Stable:$HW $i; done
     for i in $(osc ls Maemo:Mer:Stable:$HW); do echo $i; osc rdelete Maemo:Mer:Stable:$HW $i; done
   done
   done
Line 124: Line 107:
   for i in $(osc ls Maemo:Mer:$STABLE); do echo $i; osc aggregatepac Maemo:Mer:$STABLE $i Maemo:Mer:Stable; done
   for i in $(osc ls Maemo:Mer:$STABLE); do echo $i; osc aggregatepac Maemo:Mer:$STABLE $i Maemo:Mer:Stable; done
-
   for HW in HW:N8x0 HW:N900 HW:SmartQ HW:Freerunner HW:Beagle; do
+
   for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do
     for i in $(osc ls Maemo:Mer:$STABLE:$HW); do echo $i
     for i in $(osc ls Maemo:Mer:$STABLE:$HW); do echo $i
       osc aggregatepac -m MerStable_Debian_5.0=Mer${STABLE}_Debian_5.0,MerStable_Ubuntu_9.04=Mer${STABLE}_Ubuntu_9.04 Maemo:Mer:${STABLE}:$HW $i Maemo:Mer:Stable:$HW
       osc aggregatepac -m MerStable_Debian_5.0=Mer${STABLE}_Debian_5.0,MerStable_Ubuntu_9.04=Mer${STABLE}_Ubuntu_9.04 Maemo:Mer:${STABLE}:$HW $i Maemo:Mer:Stable:$HW
Line 136: Line 119:
== Linking to :Extras ==
== Linking to :Extras ==
-
In order to allow people to develop applications/packages for :Extras they need to setup their home area on OBS as in [[Mer/Build/Application_Building|Building Applications]]. Once the package is built it can be linked to Maemo:Mer:Extras:Devel
+
In order to allow people to develop applications/packages for :Extras they need to setup their home area on OBS as in [[Mer/Build/Building Applications|Building Applications]]. Once the package is built it can be linked to Maemo:Mer:Extras:Devel
   osc linkpac -f -c home:tomaszd84 leafpad Maemo:Mer:Extras:Devel
   osc linkpac -f -c home:tomaszd84 leafpad Maemo:Mer:Extras:Devel
Line 153: Line 136:
Sadly these patches apply to the files in the source; so this means you need to apply the diff to the maemo-ised diff file.
Sadly these patches apply to the files in the source; so this means you need to apply the diff to the maemo-ised diff file.
 +
 +
 +
[[Category:Mer]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: