Mailinglist Archive: opensuse-buildservice (197 mails)

< Previous Next >
Re: [opensuse-buildservice] disable build of packages
  • From: Christoph Thiel <cthiel@xxxxxxx>
  • Date: Thu, 8 Jun 2006 17:04:38 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0606081703380.331@xxxxxxxxxxxx>
On Thu, 8 Jun 2006, Christoph Thiel wrote:

> > Please create a patch first for the following files:
> >
> > ./buildservice/docs/api/backend/package.xsd
> > ./buildservice/docs/api/backend/package.xml
> > ./buildservice/docs/api/backend/api.txt
>
> WIP.

Find attached disable.diff to updated the package.xsd and package.xml ;)
api.txt doesn't have anything todo with this change.


Regards
ChristophIndex: buildservice/docs/api/backend/package.xsd
===================================================================
--- buildservice/docs/api/backend/package.xsd (revision 491)
+++ buildservice/docs/api/backend/package.xsd (working copy)
@@ -27,6 +27,7 @@
<xs:element ref="user"/>
<xs:element ref="version"/>
<xs:element ref="vrev"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="disable"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
@@ -165,4 +166,17 @@
</xs:annotation>
</xs:element>

+ <xs:element name="disable">
+ <xs:annotation>
+ <xs:documentation>
+ disable package to be build for a specific repository or architecture
+ (or both).
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="repository" type="xs:string" use="optional"/>
+ <xs:attribute name="arch" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+
</xs:schema>
Index: buildservice/docs/api/backend/package.xml
===================================================================
--- buildservice/docs/api/backend/package.xml (revision 491)
+++ buildservice/docs/api/backend/package.xml (working copy)
@@ -9,4 +9,7 @@
<user>unknown</user>
<version>1.0</version>
<vrev>7</vrev>
+ <disable repository="testing" arch="i586"/>
+ <disable repository="beta"/>
+ <disable arch="ppc64"/>
</package>
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice-help@xxxxxxxxxxxx
< Previous Next >
Follow Ups