Two issues about pecl command: remote-info and remote-list
| From: | Fishdrowned | Date: | Fri, 08 Sep 2017 06:31:42 +0000 |
| Subject: | Two issues about pecl command: remote-info and remote-list | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26378@lists.php.net to get a copy of this message | ||
Dear Sir,
I would like to check if a pecl package is updated, so I check pecl help,
then:
$ pecl remote-info swoole
> Package details:
> ================
> Latest 2.0.9
> Installed 1.9.16
But... no good, "Latest 2.0.9" is a beta version, not a stable one.
Then I tried to use remote-list...
$ time pecl remote-list |grep swoole
> swoole 1.9.20
> swoole_serialize -n/a-
> real 0m19.320s
> user 0m0.292s
> sys 0m0.052s
This time I got the good result, but it took too long (~20 seconds),
that's ridiculous IMHO.
On page https://pecl.php.net/support.php I found this
email (
php-webmaster@lists.php.net).
So I write to you asking for help and reporting the following issues:
1. pecl remote-info returns the latest version, but no way to get the
latest stable version;
2. pecl remote-list is too slow, since there're only 366 packages.
Yours sincerely
Christopher CHEN