Re: All Known Bugs Fixed [TM]

From: Date: Tue, 22 Feb 2005 17:49:05 +0000
Subject: Re: All Known Bugs Fixed [TM]
References: 1 2 3  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-2524@lists.php.net to get a copy of this message
Greg, I don't want to be misunderstood here, I'm among the 1st suporters of pear 1.4 I can say the people, they just need to download it, install it an type pear help to understand :) Solving such problems as pear 1.4 (fore and retro dependencies) does is not that easy and you introduced more confort and features. I appreciate a lot and often crawl in the code ;) As stated in my preceeding answers, sure get it run smooth first ! That with running cheaper in memory should be a next objective, pear should stay popular. Say I'm too afraid to need to install manually once. Or I want to have it in a pocket machine.
Here's details: PEAR 1.4.0 uses a dependency database in addition to the registry. The only way to conserve memory is to drop the dependency database, which will then destroy all of the dependency validation built into 1.4.0, rendering it completely useless. It should be noted that PEAR 1.3.5 and earlier have some hidden and quite serious flaws in dependencies, particularly on uninstall, that cannot be fixed without the dependency database. The dependency database itself is quite compact (something like 16k for my 100 or so installed packages), but generation requires reading in each package's registry, converting to package.xml 2.0 format and extracting the dependencies from them. I may be able to write a system that only converts the dependencies, but I would classify this as an optimization for 1.4.0a2, not a critical bug for 1.4.0a1.
Sure, but it's not technically impossible.
Besides, users with an 8M limit can't install packages like phpDocumentor either, this is not a new problem with 1.4.0a1, memory usage is simply growing with the complexity of packages.
:( see answer to Lukas.
I am happy - no, excited - to do everything possible to make PEAR more efficient, but my first concern at this point is making it robust. Optimization is always secondary to functionality.
But not less exciting :)
Is there any PEAR usage outside of the handling of package uploads I should know about?
Not making cofee ?
No, fortunately I thought of this :). External channels are fully allowed to provide their own validation packages if they dislike the default validator. In addition, most of the version validation is warnings, instead of errors. In fact, external packages can provide their own rules for naming packages, or even make requirements for the structure of notes (god help their users though :) - all of this is provided by PEAR_Validate.
It's also a performance of pear 1.4 ! I was just pointing out door should not be closed to other projects, any they are.
Will ever the old and new formats of package.xml coexist ? Should a new pacg deliver both to stay reachable by only 1.3 people ?
Yes! I also thought of this :). If you are interested, open up http://pear.chiaraquartet.net/PEAR-1.4.0a1-test.tgz or gunzip tar -xvf it. You'll notice right away that the root contents are: PEAR-1.4.0a1/ package.xml package2.xml package2.xml is the contents of package2.xml from pear-core/ package.xml is the contents of package-PEAR.xml from pear-core/ PEAR 1.4.0a1 is the first package to take advantage of the possibility of packaging with an older package.xml and a newer package.xml 2.0 format. This means you can maintain BC for lazy adopters, while providing full forward compatibility for early adopters.
I was aware of this further flexibility of pear 1.4 my question was more QA related, that new package delivery or upgrades should possibly furnish both formats. Hope that make sense and you better see my point of view. à+ -- bertrand Gugger (toggg)

« previous php.pear.qa (#2524) next »