PEAR packages 1.0 and 2.0 dependencies - nonsense
| From: | Laurent Laville | Date: | Thu, 08 Jun 2006 23:02:20 +0000 |
| Subject: | PEAR packages 1.0 and 2.0 dependencies - nonsense | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-42869@lists.php.net to get a copy of this message | ||
While i'm working to implement the list of dependencies (package xml 1.0 and 2.0) for PEAR_Info on my contribution 1.7.0, i've noticed (in my opinion) a nonsense.
Take a package that has both package 1.0 and 2.0 versions ;
for example HTML_Progress2
run these commands :
for package xml 1.0:
pear package-dependencies D:\php\pear\HTML_Progress2\package.xml
here are the results
DEPENDENCIES FOR PEAR/HTML_PROGRESS2
====================================
REQUIRED? TYPE NAME RELATION VERSION Yes PHP >= 4.2.0 Yes Package HTML_Common >= 1.2.1 Yes Package Event_Dispatcher >= 0.9.1 No Package PHP_Compat >= 1.4.1 No Package PEAR >= 1.3.5 No Package HTML_QuickForm > 3.2.4 No Package HTML_QuickForm_Controller >= 1.0.4 No Package Image_Color >= 1.0.1 No Package HTML_Page2 >= 0.5.0 No Package HTML_Template_IT >= 1.1 No Package HTML_Template_Sigma >= 1.1.2 No Package Log >= 1.8.7 No ext gd ==for package xml 2.0 pear package-dependencies D:\php\pear\HTML_Progress2\package2.xml DEPENDENCIES FOR HTML_PROGRESS2 ===============================
REQUIRED? TYPE NAME VERSIONINGGROUP
Yes Php (version >= 4.2.0) Yes Pear Installer (version >= 1.4.3) Yes Package pear/HTML_Common (version >= 1.2.1) Yes Package pear/Event_Dispatcher (version >= 0.9.1) No Package pear/PHP_Compat (version >= 1.4.1) No Package pear/PEAR (version >= 1.3.5) No Package pear/HTML_QuickForm (version >= 3.2.4, excluded versions: 3.2.4)
No Package pear/HTML_QuickForm_Controller (version >= 1.0.4) No Package pear/Image_Color (version >= 1.0.1) No Package pear/HTML_Page2 (version >= 0.5.0) No Package pear/HTML_Template_IT (version >= 1.1) No Package pear/HTML_Template_Sigma (version >= 1.1.2) No Package pear/Log (version >= 1.8.7) No Extension gdAnd NOW have a look on PEAR package dependencies. Do you see, what i see ? * with package 1.0
No Package PEAR >= 1.3.5* with package 2.0
Yes Pear Installer (version >= 1.4.3) No Package pear/PEAR (version >= 1.3.5)Laurent