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: | ||
- | |||
- | |||
== OBS Project structure and promotion == | == OBS Project structure and promotion == | ||
Line 50: | Line 48: | ||
Ensure that: | Ensure that: | ||
- | |||
osc meta prjconf <SOURCE> | osc meta prjconf <SOURCE> | ||
- | |||
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 - | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Then run: | Then run: | ||
- | |||
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 | + | for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do |
- | + | ||
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 90: | Line 77: | ||
export STABLE=0.14 | export STABLE=0.14 | ||
- | |||
- | Create the projects (copied from | + | Create the projects (copied from 0.13): |
- | osc meta prj Maemo:Mer: | + | osc meta prj Maemo:Mer:0.13 | sed "s/0.13/$STABLE/" |osc meta prj Maemo:Mer:$STABLE -F - |
- | for HW in HW:N8x0 | + | for HW in HW:N8x0 HW:SmartQ HW:Freerunner HW:Beagle; do |
- | osc meta prj Maemo:Mer: | + | osc meta prj Maemo:Mer:0.13:$HW | sed "s/0.13/$STABLE/" |osc meta prj Maemo:Mer:$STABLE:$HW -F - |
done | done | ||
Line 103: | Line 89: | ||
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 | + | 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 | ||
- | |||
- | |||
- | |||
- | |||
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 | ||
First clean out :Stable | First clean out :Stable | ||
- | for i in $(osc ls Maemo:Mer:Stable); do | + | for i in $(osc ls Maemo:Mer:Stable); do osc deletepac Maemo:Mer:Stable $i ; done |
- | for HW in HW:N8x0 | + | 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 | + | for i in $(osc ls Maemo:Mer:Stable:$HW); do echo $i; osc deletepac Maemo:Mer:Stable:$HW $i; done |
done | done | ||
- | |||
- | |||
NOTE The following uses -m in osc which is not accepted upstream yet. It will not work unless you have lbt's osc patches. | NOTE The following uses -m in osc which is not accepted upstream yet. It will not work unless you have lbt's osc patches. | ||
- | for i in $(osc ls Maemo:Mer:$STABLE); do | + | for i in $(osc ls Maemo:Mer:$STABLE); do osc aggregatepac Maemo:Mer:$STABLE $i Maemo:Mer:Stable; done |
- | for HW in HW:N8x0 | + | 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 116: | ||
== 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/ | + | 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 133: | ||
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.