PEAR version 1.4.7 has been released at pear.php.net, this is a recommended upgrade for all folks. Particularly important is anyone who is trying to do RPM packaging using the --packagingroot option (remember --installroot is for people who wish to create a workable version of PEAR in the installroot directory, --packagingroot is for those who wish to create a fake installation for RPM purposes). Also, Tim Jackson's PEAR_Command_Packaging package has been introduced to solve the issues in the makerpm command, and we welcome both Bertand Gugger and Tim Jackson as helpers to the PEAR package itself.
Also implemented is the --CLEAN-- section in .phpt files, used by pear run-tests, and the option to run tests from PHPUnit, SimpleTest, or any external testing mechanism - simply introduce a single AllTests.php file in the tests directory of your package, and the run-tests command will run that file. Otherwise, all fixes were for edge cases. PEAR 1.4.7 is the most stable version of PEAR yet released. Here's the official list of changes from package.xml:
* Prevent packaging of release candidate releases with versions like 1.0.0rc1
version_compare() only understands upper-case 1.0.0RC1
* implement CLEAN section in .phpt tests
* implement run-tests command for phpunit-based tests
* implement Request #6039: setFrontendObject needed to allow objects passed
* fix Bug #6075: unnecessary validation of maintainers can break PEAR_PFM
* fix Bug #6076: optional is not set for conversion of package2.xml to "has" rel
* fix Bug #6077: PEAR_PackageFile_Parser_v2 should return by reference
* fix Bug #6273: pear download-all fails
* fix Bug #6383: incomplete PEAR::Error message on addReplacement()
* fix Bug #6445: PEAR::registerShutdownFunc doesn't work in static calls
* fix Bug #6480: pear install --installroot option fails for pecl packages [timj]
* fix Bug #6510: status active of a maintainer cannot be change
* fix Bug #6537: wrong export compatible v1 dependencies list with exclude limit
* fix Bug #6559: pear should ignore safemode/open_basedir
* fix Bug #6576: PFM2 run in trouble with sessions
* fix Bug #6579: PFM2 changelog and license with uri
* fix Bug #6673: pear install --offline --packagingroot=/blah does not work
* fix Bug #6674: --packagingroot always uses channel pear.php.net configuration
* fix Bug #6675: postinstallscript validation fails
* fix Bug #6690: channel with / will not allow upgrade
* fix Bug #6692: Optional feature install message needs channel name
* fix Bug #6716: "pear install -r" errors after install when
attempting "pear list <pkgname>"
* fix Bug #6735: PEAR_PackageFile::fromTgzFile doesn't work with package.xml
not in root dir
Happy PEARing!