[PATCH] metadata.xsd: Add straight-to-stable element
Ulrich Müller <[email protected]> Mon, 15 Jun 2026 19:08:00 +0200
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
Bug: https://bugs.gentoo.org/974436 Signed-off-by: Ulrich Müller <[email protected]> --- metadata.xsd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/metadata.xsd b/metadata.xsd index 1c33f2f..48fe065 100644 --- a/metadata.xsd +++ b/metadata.xsd @@ -24,6 +24,10 @@ <xs:selector xpath='stabilize-allarches'/> <xs:field xpath='@restrict'/> </xs:unique> + <xs:unique name='straightToStableUniquityConstraint'> + <xs:selector xpath='straight-to-stable'/> + <xs:field xpath='@restrict'/> + </xs:unique> <xs:unique name='upstreamSingleConstraint'> <xs:selector xpath='upstream'/> <xs:field xpath='@fake-only-once'/> @@ -65,6 +69,7 @@ </xs:unique> </xs:element> <xs:element name='stabilize-allarches' type='stabilizeAllArchesType'/> + <xs:element name='straight-to-stable' type='straightToStableType'/> <xs:element name='upstream' type='upstreamType'> <xs:unique name='upstreamMaintainerUniquityConstraint'> <xs:selector xpath='maintainer'/> @@ -224,6 +229,11 @@ default=''/> </xs:complexType> + <!-- straight-to-stable --> + <xs:complexType name='straightToStableType'> + <xs:attribute name='restrict' type='restrictAttrType' default=''/> + </xs:complexType> + <!-- use flags --> <xs:complexType name='useType'> <xs:choice minOccurs='0' maxOccurs='unbounded'> -- 2.54.0