Re: Question about PEAR_PackageFileManager and PEAR
| From: | Laurent Laville | Date: | Tue, 30 Aug 2005 15:59:45 +0000 |
| Subject: | Re: Question about PEAR_PackageFileManager and PEAR | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2976@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
Laurent Laville wrote:Thanks for your reply but i won't wait PEAR 1.4.0 even if it's pretty closer ;-) I want to produce sooner two new releases of my packages. I will just finish my bug report to PFM 1.6.0a2 and build a tarball version of un-official PFM 1.5.3 i've hacked (merge of 1.5.2 and 1.6.0a2) and which can run under PEAR 1.3.6 I've also create a generic php script that most users could use with PFM 1.5.x and PEAR 1.3.x (a V2 for PFM 1.6.x and PEAR 1.4.x is in my mind too :-) ) This script is a generic pattern that can be run both on command line and web and produce either - a new package.xml file only - a package.xml file and its binary distribution (tarball) Advantage is that i've to commit on CVS only a file that contains release notes/updates. More efficient to follow a release container than its builder-data couple. I'll soon commit it on PEAR CVS Laurentuntil PFM 1.5.2 all packages leaders could create their own package.xml without (problem), except bugs. But now, with PFM 1.6+ only PEAR 1.4.x users can do it, others CAN'T or the only choice is to re-install PFM 1.5.2 with its bugs list and work with it or a custom version hacked.Hi Laurent, As PEAR_PackageFileManager is alpha state, and its dependency is beta, there is no issue. Having said that, it would be a clever little hack for me to include a package.xml that contains <dep type="pkg" rel="ge" version="1.4.0b1">PEAR</dep> so that PEAR 1.3.x clients get a helpful error message rather than crud. However, this would allow folks to install it with --force, and then they would wonder why it no longer works, so I think the correct alternative is to simply wait until 1.4.0 stable is released, which should be very soon. Don't forget - 1.4.0b1 is feature-frozen. Only bugfixes will be introduced in any future beta versions. If we in fact find it is stable, then 1.4.0 stable will be released pronto. You should know by your arguments you would be crazy to use PEAR 1.3.6 :). There are several critical bugs, particularly in dependency and file conflict handling that have been fixed in PEAR 1.4.x. These, incidentally, are not fixable in 1.3.x, because they require PEAR_DependencyDB, among other things, or I would have fixed them. Fortunately, upgrading to PEAR 1.4.0b1 from 1.3.6 is simple: pear upgrade PEAR-alpha. Greg Hi Greg,