FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=19138&edit=1

ID: 19138
Updated by: dking@xforty.com
Reported By: dking at xforty dot com
Summary: search command ignores preferred_state
Status: Open
Type: Bug
Package: PEAR
-Operating System: OS X
+Operating System: Ubuntu
Package Version: 1.9.4
PHP Version: 5.3.2
Roadmap Versions:
New Comment:

-Operating System: OS X
+Operating System: Ubuntu
Updated reported OS for the bug. This happened on an Ubuntu VM, not the
OS X
host.


Previous Comments:
------------------------------------------------------------------------

[2011-12-15 15:13:19] dkingofpa

Description:
------------
When I search for the latest stable branch of the drush
package,
I get the latest devel package (5.0.0). Instead, I expect to
get
the latest stable package (4.5.0).

Some possibly related bugs (mostly old bugs):
https://pear.php.net/bugs/bug.php?id=534
https://pear.php.net/bugs/bug.php?id=45
https://pear.php.net/bugs/bug.php?id=5727


Test script:
---------------
Run these commands on the command line:

pear channel-discover pear.drush.org
pear -d preferred_state=stable search -c pear.drush.org drush



Expected result:
----------------
I expect search to return the latest stable package for drush. At
the moment, that would be version 4.5.0 as you can see in the
releases xml. http://pear.drush.org/rest/r/drush/allreleases.xml

Actual result:
--------------
vagrant@lucid32:~$ pear -d preferred_state=stable search -c
pear.drush.org drush
Retrieving data...0%
Matched packages, channel pear.drush.org:
========================================
=
Package Stable/(Latest) Local
drush 5.0.0 (devel) 5.0.0 command line shell and Unix
scripting interface for Drupal

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 15, '11 at 2:16p
activeDec 15, '11 at 2:16p
posts1
users1
websitepear.php.net

1 user in discussion

Dking: 1 post

People

Translate

site design / logo © 2022 Grokbase