Re: package.xml versioning
| From: | Stig S. Bakken | Date: | Sun, 29 Jul 2001 21:28:05 +0000 |
| Subject: | Re: package.xml versioning | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1134@lists.php.net to get a copy of this message | ||
Jon Parise wrote:
>
> I think we should establish a mechanism for package.xml
> versioning so that the PEAR tools can always maintain a backwards
> compatibility mode for older packages (with old package.xml
> formats).
>
> Is the best way to do that through adding a new element to the
> package.xml format, or should be define a fetchable DTD that
> could evolve and announce the version and capabilities of the
> given package.xml file?
>
> (XML is not really my thing... yet. <g>).
We can do this by adding a Version attribute to the Package element:
<Package Version="1">
..
</Package>
- Stig