cvs: pearweb /rfc 003-dependencies.txt

From: Date: Mon, 10 Dec 2001 01:46:06 +0000
Subject: cvs: pearweb /rfc 003-dependencies.txt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1494@lists.php.net to get a copy of this message
cox Sun Dec 9 20:46:06 2001 EDT Modified files: /pearweb/rfc 003-dependencies.txt Log: 4. Declaring dependencies in the PEAR package definition file Index: pearweb/rfc/003-dependencies.txt diff -u pearweb/rfc/003-dependencies.txt:1.2 pearweb/rfc/003-dependencies.txt:1.3 --- pearweb/rfc/003-dependencies.txt:1.2 Tue Sep 25 18:33:43 2001 +++ pearweb/rfc/003-dependencies.txt Sun Dec 9 20:46:06 2001 @@ -1,5 +1,5 @@ Title: Dependencies in PEAR Packages -Version: $Revision: 1.2 $ +Version: $Revision: 1.3 $ Status: proposal Maintainer: Stig S. Bakken <ssb@fast.no> Created: 2001-08-28 @@ -67,3 +67,45 @@ |sapi | v.eq |specific version of PHP with SAPI backend | |sapi | v.ge |minimum version of PHP with SAPI backend | +---------+----------+---------------------------------------------------+ + +[[ 2001-12-10 cox ]] + +4. Declaring dependencies in the PEAR package definition file + +Proposed notation for package.xml: + +<release> + <version>...</version> + <..>...</..> + <dependencie> + <!-- type: one of the types mentioned in point 3. --> + <name type="XXX">YYYYYYY</name> + <!-- version (optional): The version of "name" with + the rule specified to compare with the "name" presents + in the user's system --> + <!-- rule: Any version_compare() valid param --> + <version rule="XX">a php version compatible scheme</version> + </dependencie> +</release> + +Usage example: + +<release> + <version>1.3</version> + <date>2001-04-19</date> + <notes>Bugfix release</notes> + <!-- needed a version of the HTML_Common PEAR package + greater or equal than version 0.6.3 --> + <dependencie> + <name type="pkg">HTML_Common</name> + <version rule="ge">0.6.3</version> + </dependencie> + <!-- The GD php extension must be present --> + <dependencie> + <name type="ext">GD</name> + </dependencie> +</release> + +## TODO: provide examples for all the dependencies types ## + +[[ end 2001-12-10 cox ]]

« previous php.pear.cvs (#1494) next »