blob: 150732dbdb49f78bed88c53e5ecd505f0293d8d4 [file] [log] [blame]
<!--
/*
* ======== repository.dtd ========
*
* This file defines a simple DTD for describing package
* repositories
*/
-->
<!--
/*
* ======== repository ========
* A repository contains packages and is either:
* 1. contained within a bundle (a package with repositories) produced
* via xdc,
* 2. created ad-hoc via repo man, or
* 3. created ad-hoc via file system operations
*
* providerId the "marketing version" of the product containing this
* repository. This version is defined by
*
* 1. When the repository is created by "xdc", this is just the
* name of the bundle containing this repository; by
* convention, product bundle names contain the marketing
* version in their names (e.g., bios_6_10).
* 2. Repositories created via repoman can set the providerId to
* an appropriate "marketing" string.
* 3. Finally, hand crafted repositories can either not supply a
* file that provides this information or define the
* providerId as necessary.
*
* producerId the "SCM label" used by package producers to identify the
* sources used to (re)create this repository. This label is
* defined by
* 1. xdc (by copying the producerId of the bundle containing
* this repo),
* 2. repoman, or
* 3. an SCM label supplied "by hand"; by a tool creating
* the XML file that comforms to this DTD
*
* writable "true" if a repository can be modified. If this attibute
* doesn't exist or is empty (""), the repository can not be
* modified. repoman respects this flag but also allows the
* user to explicity override it with the -F flag.
*
*/
-->
<!ELEMENT repository EMPTY>
<!ATTLIST repository
name CDATA #REQUIRED
providerId CDATA ""
producerId CDATA ""
writable CDATA "false"
>