Re: migration from package xml 1.0 to 2.0
| From: | Gregory Beaver | Date: | Sun, 22 Oct 2006 17:49:53 +0000 |
| Subject: | Re: migration from package xml 1.0 to 2.0 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44710@lists.php.net to get a copy of this message | ||
Laurent Laville wrote:
>
> While I write a script to explain how to use PEAR_PackageFileManager
> (P_PFM) 1.6.0 to convert package xml 1.0 to 2.0 and/or continue to
> upgrade your own package, I found a problem .
>
> If you have as Lukas Smith a package xml 1.0 with wrong maintainers
> order, you can't make your migration.
>
> Order should be : "Lead", "developer", "contributor",
> "helper"
>
> and not as in MDB2-2.2.2 : "Lead", "contributor", "developer",
> "helper"
>
> (OR is this just a new BUG from P_PFM; Greg ?)
>
>
> With pear convert command you will get :
>
> C:\wamp\php4>pear convert C:\PEAR\Database\MDB2-2.2.2\package.xml C:
> \PEAR\Database\MDB2-2.2.2\p2.xml
>
> Invalid tag order in <package>, found <developer> expected one of
> "contributor,helper, date"
> PEAR_Packagefile_v2::toPackageFile: invalid package.xml
>
>
> Laurent
Hi Laurent,
This is most definitely a bug in PEAR! It should be ordering the tags
properly. Might as well get that one fixed up before 1.5.0a2 next week,
thanks for the catch.
Greg