October 13, 2008
Weird release policies in PEAR land
I’m not very fond of PHP, but it’s hard to dodge it.
Fortunately the PEAR project has a set of excellent (well, as close to excellency as PHP lets you get…) libraries for all sorts of purposes.
The only thing with them is that they have problems managing their releases. The main site of the popular HTML Quickform library sports a fat warning sign, claiming that this package had been superseded by the aptly named HTML QuickForm 2 package.
That’s funny, because most if not all other packages depending on QuickForm are still built for the old version. Even more funny is what a vanilla install of the PEAR package tool will throws at anyone attempting to install QuickForm2:
% sudo pear install HTML_QuickForm2 Failed to download pear/HTML_QuickForm2 within preferred state "stable", latest release is version 0.2.0, stability "alpha", use "channel://pear.php.net/HTML_QuickForm2-0.2.0" to install Cannot initialize 'channel://pear.php.net/HTML_QuickForm2', invalid or missing package file Package "channel://pear.php.net/HTML_QuickForm2" is not valid install failed
Now take into account that this situation has been in place for at least one year. Not really a role model for a sane software development release process.
Evidence B: Structures_Datagrid and a bunch of other packages are also marked “beta” but have been used by the majority (I daresay) of developers without any problems over the course of the last dekamonths.
What gives, PEAR?