Re: AW: [PEAR-DEV] Re: [RfC] XML_Beautifier
| From: | Greg Beaver | Date: | Fri, 19 Sep 2003 22:14:06 +0000 |
| Subject: | Re: AW: [PEAR-DEV] Re: [RfC] XML_Beautifier | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21816@lists.php.net to get a copy of this message | ||
Hi
Stephan Schmidt wrote:
Hi, [snip]
<file role="php" name="Foo.php" /> <replace type="package-info" from="@API-VER@" to="majorversion"> </file> GregI really like the apiVersion() method - can we make this a requirement for new pear packages and new releases of current packages?Then we should find a solution to make sure the return value and the version number in the package.xml are the same... How about implementing a feature in PEAR_PackageFileManager that extracts the apiVersion and inserts it in the package.xml file? I think this could be better implemented in the PEAR installer, by allowing the package-info replacement "majorversion"