From 9d6e6241954d001a5b49e4ea9a48c10e2a792958 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 10 Dec 2012 17:19:54 -0600 Subject: generate XML schema docs from XML schemas themselves --- schemas/packages.xsd | 219 ++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 190 insertions(+), 29 deletions(-) (limited to 'schemas/packages.xsd') diff --git a/schemas/packages.xsd b/schemas/packages.xsd index c4252194f..dbee2f31b 100644 --- a/schemas/packages.xsd +++ b/schemas/packages.xsd @@ -1,5 +1,4 @@ - packages config schema for bcfg2 @@ -10,7 +9,7 @@ - + @@ -19,50 +18,212 @@ - - - + + + **RepoOptionsType** can be used to specify arbitrary + repository options. + + + + + + The options given in this tag will only be used on the Bcfg2 + server, not on the clients. + + + + + + + The options given in this tag will only be used on the Bcfg2 + clients, not on the server. + + + + + + + All other (arbitrary) attributes will be added to the + repository configuration. + + + - + + + + **SourceType** elements are used to specify software sources + (i.e., repositories) for the Packages plugin. + + - - - - + + + + Components are used to build multiple repository URLs from + a single :xml:element:`Source` tag. This is only + meaningful if the :xml:attribute:`SourceType:url` + attribute is specified; see that attribute above for more + detail. + + + + + + + The architecture(s) of the repository. A client must be a + member of one of the listed architecture groups in order + for this source to apply to the client. Additionally, if + the :xml:attribute:`SourceType:url` attribute is + specified, the :xml:element:`Arch` tag is used to generate + URLs. See :xml:attribute:`the url attribute + <SourceType:url>` for more detail. + + + + + + + The GPG key(s) for the repository. This only applies to + sources with :xml:attribute:`SourceType:type` = ``yum``. + If GPG keys are specified, then GPG checking will be + automatically enabled for the repository, both on the + Bcfg2 server (if :ref:`yum libraries + <native-yum-libraries>` are in use) and on the Bcfg2 + client (if you use + :ref:`server-plugins-generators-packages` to + :ref:`generate your Yum config + <generating-client-configs>`). + + + + + + + Arbitrary options to be used in the repository + configuration. + + + - - + + + + Blacklist the given package(s) from the + :ref:`server-plugins-generators-packages` plugin. This + prevents them from being included in + automatically-resolved dependencies. + + + + + + + If **Whitelist** is specified, *only* packages listed + will be included by the + :ref:`server-plugins-generators-packages` plugin. + + + - - - - - - + + + + Include packages recommended as dependencies by APT. This + only applies to sources with + :xml:attribute:`SourceType:type` = ``apt``. You must + regenerate the Packages cache after changing this attribute. + + + + + + + Include essential packages from this repo by default (i.e., + without needing to specify them in a bundle). This only + applies to sources with :xml:attribute:`SourceType:type` = + ``apt``. + + + + + + + The type of the repository. This corresponds to the + Packages plugin driver that will handle the source. + + + + + + + The :ref:`Pulp <pulp-source-support>` repository ID + for this repo. This only applies to sources with + :xml:attribute:`SourceType:type` = ``yum``. Due to the + amount of data that can be queried directly from Pulp, + there's rarely a need to supply other attributes. + + + + + + + The base URL to use when generating URLs for this source. + If :xml:attribute:`SourceType:url` is used, you must also + provide the :xml:element:`Arch` tag, at least one + :xml:element:`Component` tag, and the + :xml:attribute:`SourceType:version` attribute. You must not + specify :xml:attribute:`SourceType:rawurl`. For each + combination of component and Arch tag, a URL is created in + the format:: + + <url>/<version>/<component>/<arch> + + + + + + + The raw URL to the (single) repository defined by this + source. :xml:element:`Component` and + :xml:attribute:`SourceType:version` are ignored if this is + given. + + + + + + + The OS version this source applies to. This is used to + generate URLs if the :xml:attribute:`SourceType:url` + attribute is given, and ignored otherwise. + + + - + - - - - + + + + - + - - - - + + + + - + -- cgit v1.2.3-1-g7c22