Re: no more package.xml 1.0
| From: | Greg Beaver | Date: | Tue, 30 Jan 2007 19:26:52 +0000 |
| Subject: | Re: no more package.xml 1.0 | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45543@lists.php.net to get a copy of this message | ||
Sérgio Carvalho wrote:
> Hi,
>
> Before you do that, make sure all dependencies on PEAR exist in version
> available in 1.0 format, in order to avoid bugs like this one:
> http://pear.php.net/bugs/bug.php?id=9965
>
> Ideally, PEAR upgrade should handle this case:
> - PEAR depends on Structure_Graph v1.0.3
> - The latest version of Structure_Graph is v1.0.5
> - Structure_Graph v1.0.5 has package.xml version 2.0 and the currently
> installed PEAR does not understand it.
> - Structure_Graph v1.0.3 has package.xml version 1.0 and could be used to
> upgrade PEAR.
>
> However, this may not be possible, because the code that should handle
> it is
> already deployed.
Sergio,
As I said in my email, this is already (and easily) handled by having
*both* package.xml 1.0 and 2.0 in the same release.
For PEAR dependencies, package.xml 2.0 is required because PEAR has
strict dependency requirements, and the <compatible> tag is only
available in package.xml 2.0.
Greg