cvs: pearweb /public_html/dtd package-2.0.xsd
| From: | Greg Beaver | Date: | Sat, 11 Sep 2004 04:22:42 +0000 |
| Subject: | cvs: pearweb /public_html/dtd package-2.0.xsd | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-23818@lists.php.net to get a copy of this message | ||
cellog Sat Sep 11 00:22:42 2004 EDT
Modified files:
/pearweb/public_html/dtd package-2.0.xsd
Log:
add docs for extends
add subpackageof attribute to <name>
add pearinstaller dep type so a package can tell the installer right
off the bat if the installer is too moldy to install it.
http://cvs.php.net/diff.php/pearweb/public_html/dtd/package-2.0.xsd?r1=1.7&r2=1.8&ty=u
Index: pearweb/public_html/dtd/package-2.0.xsd
diff -u pearweb/public_html/dtd/package-2.0.xsd:1.7 pearweb/public_html/dtd/package-2.0.xsd:1.8
--- pearweb/public_html/dtd/package-2.0.xsd:1.7 Fri Sep 10 17:28:15 2004
+++ pearweb/public_html/dtd/package-2.0.xsd Sat Sep 11 00:22:42 2004
@@ -374,6 +374,11 @@
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="channel" type="xs:string"
use="required"/>
+ <xs:attribute name="subpackageof" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>name of the parent package if this is a
subpackage</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
@@ -448,6 +453,18 @@
</xs:complexType>
<xs:complexType name="dependenciesType">
<xs:sequence>
+ <xs:element name="pearinstaller" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>PEAR installer version required</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="exclude" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="min" type="version" use="required"/>
+ <xs:attribute name="max" type="version"/>
+ </xs:complexType>
+ </xs:element>
<xs:element name="php" type="phpDependencyType">
<xs:annotation>
<xs:documentation>PHP version dependency</xs:documentation>
@@ -508,5 +525,9 @@
</xs:choice>
</xs:complexType>
</xs:element>
- <xs:element name="extends" type="xs:string"/>
+ <xs:element name="extends" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>for BC-breaking releases, this defines a link between this package and
the earlier version</xs:documentation>
+ </xs:annotation>
+ </xs:element>
</xs:schema>