pungi/share/variants.dtd
Lubomír Sedlář 791448cc32 Allow specifying which packages to install in variants xml
This patch updates the variants DTD and parsing to allow specifying
multiple build install packages for each variant.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-03 15:19:12 +01:00

46 lines
940 B
DTD

<!ELEMENT variants (ref*,variant*)>
<!ELEMENT variant (release?,arches,groups,environments*,variants*,buildinstallpackages?)?>
<!ATTLIST variant
id ID #REQUIRED
name CDATA #REQUIRED
type (variant|addon|optional|layered-product) #REQUIRED
has_optional (true|false) #IMPLIED
>
<!ELEMENT release (#PCDATA)>
<!ATTLIST release
name CDATA #IMPLIED
short CDATA #IMPLIED
version CDATA #IMPLIED
>
<!ELEMENT arches (arch)+>
<!ELEMENT groups (group)+>
<!ELEMENT group (#PCDATA)>
<!ATTLIST group
glob (true|false) #IMPLIED
default (true|false) #IMPLIED
uservisible (true|false) #IMPLIED
>
<!ELEMENT environments (environment)+>
<!ELEMENT environment (#PCDATA)>
<!ATTLIST environment
display_order CDATA #IMPLIED
>
<!ELEMENT arch (#PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT ref EMPTY>
<!ATTLIST ref
id IDREF #REQUIRED
>
<!ELEMENT buildinstallpackages (package)+>
<!ELEMENT package (#PCDATA)>