summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-13 08:43:40 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-13 08:44:28 +0100
commit8536b990542049f4c81e1e616dd8d5c909266a66 (patch)
tree8a909ddf043d2be561b532bae5e3bb5cf351d962
parentrepositories: Make owner type required, now that we filled it in (diff)
downloadxml-schema-8536b990542049f4c81e1e616dd8d5c909266a66.tar.gz
xml-schema-8536b990542049f4c81e1e616dd8d5c909266a66.tar.bz2
xml-schema-8536b990542049f4c81e1e616dd8d5c909266a66.zip
metadata.xsd: Support <stabilize-allarches/>, GLEP 68 v1.1
-rw-r--r--metadata.xsd11
1 files changed, 11 insertions, 0 deletions
diff --git a/metadata.xsd b/metadata.xsd
index cad8304..8b8ac0b 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -20,6 +20,10 @@
<xs:selector xpath='slots'/>
<xs:field xpath='@lang'/>
</xs:unique>
+ <xs:unique name='stabilizeAllArchesUniquityConstraint'>
+ <xs:selector xpath='stabilize-all-arches'/>
+ <xs:field xpath='@restrict'/>
+ </xs:unique>
<xs:unique name='upstreamSingleConstraint'>
<xs:selector xpath='upstream'/>
<xs:field xpath='@fake-only-once'/>
@@ -60,6 +64,7 @@
<xs:field xpath='@fake-only-once'/>
</xs:unique>
</xs:element>
+ <xs:element name='stabilize-allarches' type='stabilizeAllArchesType'/>
<xs:element name='upstream' type='upstreamType'>
<xs:unique name='upstreamMaintainerUniquityConstraint'>
<xs:selector xpath='maintainer'/>
@@ -203,6 +208,12 @@
</xs:restriction>
</xs:simpleType>
+ <!-- stabilize-allarches -->
+ <xs:complexType name='stabilizeAllArchesType'>
+ <xs:attribute name='restrict' type='restrictAttrType'
+ default=''/>
+ </xs:complexType>
+
<!-- use flags -->
<xs:complexType name='useType'>
<xs:choice minOccurs='0' maxOccurs='unbounded'>