pear:packages:migration

Migration from Package 1.0 to 2.0

There's an effort by qa to get packages ready for PEAR2.

See mailing list entries for more info.

How to migrate a package quickly

  1. pear convert
  2. mv package2.xml package.xml
  3. pfm (PEAR_PackageFileManager_Cli)
  4. Add new release notes, new release
  5. Test install it pear install package.xml && pear list FooPackageName
  6. svn commit -m “Updating to package 2.0” package.xml
  7. pear package
  8. Upload your release

Note pearweb can't tell when you've got both package.xml and package2.xml, so some packages might show up wrongly. Quickest fix? mv package2.xml package.xml && cvs remove package2.xml

Packages

pear/packages/migration.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1