[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-dev
Subject: [PECL-DEV] Req #61406 [Opn->Nab]: pecl search and pecl install are confusing with beta packages
From: pajoye () php ! net
Date: 2012-03-15 21:42:11
Message-ID: E1S8IR1-0005ci-Mf () sgrv2 ! php ! net
[Download RAW message or body]
Edit report at https://bugs.php.net/bug.php?id=61406&edit=1
ID: 61406
Updated by: pajoye@php.net
Reported by: ryanpessa at gmail dot com
Summary: pecl search and pecl install are confusing with beta
packages
-Status: Open
+Status: Not a bug
Type: Feature/Change Request
Package: PECL
Operating System: Ubuntu Linux 11.10
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
Set your preferred state to beta and it will do what you ask.
Previous Comments:
------------------------------------------------------------------------
[2012-03-15 18:47:58] ryanpessa at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=61406&edit=1
--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic