Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #12489 run in trouble with package and two package xml versions
Submitted: 2007-11-20 19:44 UTC
From: farell Assigned: doconnor
Status: Closed Package: PEAR_PackageFileManager_Cli (version 0.3.0)
PHP Version: 5.2.4 OS: windows xp
Roadmaps: (Not assigned)    
Subscription  


 [2007-11-20 19:44 UTC] farell (Laurent Laville)
Description: ------------ Impossible to use a package location that have both package xml version 1.0 and 2.0 At prompt Please enter the location of your package [.]* We only can give the directory where package?.xml must reside Then after giving the directory and answered to question Enter the base install directory 1) ??? We got a validation error PEAR_PackageFileManager2 Error: Package validation failed: Package xml 1.0 not supported

Comments

 [2007-11-21 08:51 UTC] shangxiao (David Sanders)
Ok, so I guess the script could ask for the complete path of the package file instead of just the directory, where the default would be './package.xml'. The blank option for setting the baseinstalldir is caused by pfm not finding any baseinstalldir attributes in the package file. To fix this I'll change the question into a text one when nothing is found. Now setting the baseinstalldir on pear_packagefilemanager has been something that I've been meaning to chase up. It doesn't let you skip this option nor set it to an empty string right? Some people have asked me for the ability to skip the baseinstalldir question but I've had to reply saying that pear_pfm requires it to be set.
 [2012-02-06 17:57 UTC] doconnor (Daniel O'Connor)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Appears working in git.