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

Bug #534 pear search doesn't obey -d parameter
Submitted: 2004-01-07 16:16 UTC
From: yunosh Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 40 + 37 = ?

 
 [2004-01-07 16:16 UTC] yunosh
Description: ------------ "pear search" only returns packages of the currently preferred state. While this is already debateable (IMO pear search should search *all* packages and show the states in the result list), it's currently not possible to search any packages with another state, because using "-d preferred_state=alpha" doesn't work either.

Comments

 [2004-01-08 11:23 UTC] pajoye
In fact even if you set preferred_state to something else than stable you will not get other packages with status lower than stable. The problem comes from pearweb. The package.listall rpc methods does not do what is expected. It returns the packages with a stable release only. But the doc says it should return all packages or all packages with a release if the 1st argument is true (released_only). I'm working on the rpc calls. The goal is to be a little bit more flexible and smart. Actually we do the different processing two times (in most cases), either on pearweb and locally. The idea is to do it once, on pearweb. I hope I can finish this stuff before we fire the 1.4 stable. pierre
 [2004-01-26 01:33 UTC] pajoye
Delayed for now. I do not have the time to backport some code to pearweb and PEAR, as well as run safe tests on it. I will try to fix this issue (and the other RPCs issues) for the stable 1.3 (aka PHP 4.3.5 final). pierre
 [2004-04-03 05:56 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Required a simple fix to package.listAll in pearweb