summaryrefslogtreecommitdiffstats
path: root/schemas/pinning.xsd
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-03-01 03:29:05 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-03-01 04:10:01 +0100
commitc876d0563bb92e5ce7d037ab6a89eb0e0bd69160 (patch)
tree1688502c44b53c200514b0293ec7ce5231b22ad7 /schemas/pinning.xsd
parent61bf996fd094b954b967829411121b9ef5922526 (diff)
downloadbcfg2-c876d0563bb92e5ce7d037ab6a89eb0e0bd69160.tar.gz
bcfg2-c876d0563bb92e5ce7d037ab6a89eb0e0bd69160.tar.bz2
bcfg2-c876d0563bb92e5ce7d037ab6a89eb0e0bd69160.zip
Pinning: new pluing to handle the pinningsdebian/1.2.3-8
The pinnings of packages to a specific source are now handled with a specific plugin. This has the advantage that genshi templates could be generated out of the configured pinnings.
Diffstat (limited to 'schemas/pinning.xsd')
-rw-r--r--schemas/pinning.xsd39
1 files changed, 39 insertions, 0 deletions
diff --git a/schemas/pinning.xsd b/schemas/pinning.xsd
new file mode 100644
index 000000000..4bef35ed4
--- /dev/null
+++ b/schemas/pinning.xsd
@@ -0,0 +1,39 @@
+<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+ xmlns:py="http://genshi.edgewall.org/">
+
+ <xsd:annotation>
+ <xsd:documentation>
+ XML-Schema-Definition für Properties/pinning.xml
+ Alexander Sulfrian
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:import namespace="http://genshi.edgewall.org/"
+ schemaLocation="genshi.xsd"/>
+
+ <xsd:complexType name='packageType'>
+ <xsd:attribute type='xsd:string' name='name'/>
+ <xsd:attribute type='xsd:string' name='src'/>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
+ </xsd:complexType>
+
+ <xsd:complexType name='containerType'>
+ <xsd:choice maxOccurs='unbounded'>
+ <xsd:element name='Package' type='packageType'/>
+ <xsd:element name='Client' type='containerType'/>
+ <xsd:element name='Group' type='containerType'/>
+ </xsd:choice>
+ <xsd:attribute name='name' type='xsd:string' use='required'/>
+ <xsd:attribute name='negate' type='xsd:boolean'/>
+ </xsd:complexType>
+
+ <xsd:complexType name='propertiesType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Package' type='packageType'/>
+ <xsd:element name='Client' type='containerType'/>
+ <xsd:element name='Group' type='containerType'/>
+ </xsd:choice>
+ </xsd:complexType>
+
+ <xsd:element name='Properties' type='propertiesType'/>
+</xsd:schema>