Req #61406 [NEW]: pecl search and pecl install are confusing with beta packages
| From: | ryanpessa at gmail dot com | Date: | Thu, 15 Mar 2012 18:47:58 +0000 |
| Subject: | Req #61406 [NEW]: pecl search and pecl install are confusing with beta packages | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-9241@lists.php.net to get a copy of this message | ||
From:
Operating system: Ubuntu Linux 11.10
PHP version: 5.4.0
Package: PECL
Bug Type: Feature/Change Request
Bug description:pecl search and pecl install are confusing with beta packages
Description:
------------
I recently upgraded to PHP 5.4.0 and needed to reinstall the imagick
library. When searching for the package, pecl informs me that there is one
package available, version 3.1.0RC1 (beta). However, when I try to install,
pecl grabs an older version (3.0.1), which is not listed in the search.
After some research, I found out that I needed to append '-beta' to the end
of the package name in order to install the beta package. However, this is
not a very intuitive system. If you need to specify that you specifically
want to install the beta package, then the search results should
specifically specify that there is more than one version available, which
would clue the user in to the fact that they need to do something special
to get the beta version. Just installing an unlisted version is confusing.
Test script:
---------------
pecl search imagick
sudo pecl install imagick
Expected result:
----------------
'search' shows both the stable and beta versions, cluing the user in to the
fact that an extra step is required to install the beta. Or at the very
least, the version 'install' tries to grab should be the same as the
version 'search' returns, one way or another.
Actual result:
--------------
ryan@ryan-laptop:/usr/lib/php5$ pecl search imagick
Retrieving data...0%
Matched packages, channel pecl.php.net:
=======================================
Package Stable/(Latest) Local
imagick 3.1.0RC1 (beta) Provides a wrapper to the ImageMagick
library.
ryan@ryan-laptop:/usr/lib/php5$ sudo pecl install imagick
downloading imagick-3.0.1.tgz ...
Starting to download imagick-3.0.1.tgz (93,920 bytes)
--
Edit bug report at https://bugs.php.net/bug.php?id=61406&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61406&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61406&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61406&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61406&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61406&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61406&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61406&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61406&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61406&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61406&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61406&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61406&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61406&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61406&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61406&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61406&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61406&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61406&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61406&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61406&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61406&r=mysqlcfg