migration from package xml 1.0 to 2.0
| From: | Laurent Laville | Date: | Sun, 22 Oct 2006 16:21:15 +0000 |
| Subject: | migration from package xml 1.0 to 2.0 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-44707@lists.php.net to get a copy of this message | ||
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