The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Building against Mer in Community OBS

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(only change 'yourname')
Line 2: Line 2:
  
 
To change the build target repositories of your OBS project (part of the project metadata) to build against Mer:
 
To change the build target repositories of your OBS project (part of the project metadata) to build against Mer:
   osc -A https://api.pub.meego.com meta prj home:yourname -e
+
   osc -A https://api.pub.meego.com meta prj home:YOURNAME -e
  
The XML should look along these lines (make sure you use your own "name=" value) paying special attention to the <code><repository></code> tags:
+
The XML should look along these lines (make sure you use your own "YOURNAME" value) paying special attention to the <code><repository></code> tags:
  
 
<code>
 
<code>
  <project name="home:yourname">
+
  <project name="home:YOURNAME">
   <title>yourname's Home Project</title>
+
   <title>YOURNAME's Home Project</title>
 
   <description>Mer is cool</description>
 
   <description>Mer is cool</description>
   <person userid="yourname" role="maintainer"/>
+
   <person userid="YOURNAME" role="maintainer"/>
   <person userid="yourname" role="bugowner"/>
+
   <person userid="YOURNAME" role="bugowner"/>
 
   <repository name="Mer_Core_armv7hl">
 
   <repository name="Mer_Core_armv7hl">
 
     <path project="Mer:fake:Core:armv7hl" repository="Core_armv7hl"/>
 
     <path project="Mer:fake:Core:armv7hl" repository="Core_armv7hl"/>

Revision as of 18:34, 14 October 2011

Setting up Build Repositories

To change the build target repositories of your OBS project (part of the project metadata) to build against Mer:

 osc -A https://api.pub.meego.com meta prj home:YOURNAME -e

The XML should look along these lines (make sure you use your own "YOURNAME" value) paying special attention to the <repository> tags:

<project name="home:YOURNAME">
 <title>YOURNAME's Home Project</title>
 <description>Mer is cool</description>
 <person userid="YOURNAME" role="maintainer"/>
 <person userid="YOURNAME" role="bugowner"/>
 <repository name="Mer_Core_armv7hl">
   <path project="Mer:fake:Core:armv7hl" repository="Core_armv7hl"/>
   <arch>armv8el</arch>
 </repository>
 <repository name="Mer_Core_armv7l">
   <path project="Mer:fake:Core:armv7l" repository="Core_armv7l"/>
   <arch>armv7el</arch>
 </repository>
 <repository name="Mer_Core_i586">
   <path project="Mer:fake:Core:i586" repository="Core_i586"/>
   <arch>i586</arch>
 </repository>
</project>

This can also be edited in the web interface, under your project -> Advanced -> Raw config -> Edit

You can also osc branch from these repositories but you need to add repositories manually.

Personal tools