diff options
author | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-17 17:36:28 +0100 |
---|---|---|
committer | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-23 19:58:36 +0100 |
commit | ba1a18e060a8614b3dcb41b94a7ad37e89f1dfdf (patch) | |
tree | e37d730764210102637c006f2cab4dfed9592b91 /schemas | |
parent | 3ea270b7583bb13b1234680c4bde4ae03701a109 (diff) | |
parent | ef568d29698c00bf2c02c99a34b98e6b8ca96653 (diff) | |
download | bcfg2-ba1a18e060a8614b3dcb41b94a7ad37e89f1dfdf.tar.gz bcfg2-ba1a18e060a8614b3dcb41b94a7ad37e89f1dfdf.tar.bz2 bcfg2-ba1a18e060a8614b3dcb41b94a7ad37e89f1dfdf.zip |
Merge branch 'packages'
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/packages.xsd | 19 | ||||
-rw-r--r-- | schemas/pkgvars.xsd | 43 |
2 files changed, 62 insertions, 0 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd index 849be41e2..4a9881a8f 100644 --- a/schemas/packages.xsd +++ b/schemas/packages.xsd @@ -226,6 +226,25 @@ </xsd:documentation> </xsd:annotation> </xsd:attribute> + <xsd:attribute type="xsd:integer" name="priority"> + <xsd:annotation> + <xsd:documentation> + The priority of the source. This is used to order the + sources. After sorting, the first source, that could + deliver the package, is used. If not supplied the default + priority is 500. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute type="xsd:string" name="pin"> + <xsd:annotation> + <xsd:documentation> + Extra information for pinning. This information is used + to differ between the sources. Should be used in the + supported format of apt. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> <xsd:attributeGroup ref="py:genshiAttrs"/> </xsd:complexType> diff --git a/schemas/pkgvars.xsd b/schemas/pkgvars.xsd new file mode 100644 index 000000000..dbd02726d --- /dev/null +++ b/schemas/pkgvars.xsd @@ -0,0 +1,43 @@ +<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 PkgVars/*.xml + Alexander Sulfrian + </xsd:documentation> + </xsd:annotation> + + <xsd:import namespace="http://genshi.edgewall.org/" + schemaLocation="genshi.xsd"/> + + <xsd:complexType name='pkgVarType'> + <xsd:attribute type='xsd:string' name='name'/> + + <xsd:attribute type='xsd:string' name='pin'/> + <xsd:attribute type='xsd:string' name='use'/> + <xsd:attribute type='xsd:string' name='keywords'/> + + <xsd:attributeGroup ref="py:genshiAttrs"/> + </xsd:complexType> + + <xsd:complexType name='containerType'> + <xsd:choice maxOccurs='unbounded'> + <xsd:element name='Package' type='pkgVarType'/> + <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='pkgVarsType'> + <xsd:choice minOccurs='0' maxOccurs='unbounded'> + <xsd:element name='Package' type='pkgVarType'/> + <xsd:element name='Client' type='containerType'/> + <xsd:element name='Group' type='containerType'/> + </xsd:choice> + </xsd:complexType> + + <xsd:element name='PkgVars' type='pkgVarsType'/> +</xsd:schema> |