cvs: php-src(PHP_4_3) /pear package-PEAR.xml /pear/PEAR/Command Remote.php

From: Date: Sat, 03 Apr 2004 06:09:29 +0000
Subject: cvs: php-src(PHP_4_3) /pear package-PEAR.xml /pear/PEAR/Command Remote.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-210@lists.php.net to get a copy of this message
cellog Sat Apr 3 01:09:29 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/pear/PEAR/Command Remote.php /php-src/pear package-PEAR.xml Log: MFH fix #534: pear search doesn't list unstable releases http://cvs.php.net/diff.php/php-src/pear/PEAR/Command/Remote.php?r1=1.22.2.15&r2=1.22.2.16&ty=u Index: php-src/pear/PEAR/Command/Remote.php diff -u php-src/pear/PEAR/Command/Remote.php:1.22.2.15 php-src/pear/PEAR/Command/Remote.php:1.22.2.16 --- php-src/pear/PEAR/Command/Remote.php:1.22.2.15 Sun Jan 25 18:19:59 2004 +++ php-src/pear/PEAR/Command/Remote.php Sat Apr 3 01:09:23 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.22.2.15 2004/01/25 23:19:59 pajoye Exp $ +// $Id: Remote.php,v 1.22.2.16 2004/04/03 06:09:23 cellog Exp $ require_once 'PEAR/Command/Common.php'; require_once 'PEAR/Common.php'; @@ -250,14 +250,14 @@ $r = new PEAR_Remote($this->config); $reg = new PEAR_Registry($this->config->get('php_dir')); - $available = $r->call('package.listAll', true); + $available = $r->call('package.listAll', true, false); if (PEAR::isError($available)) { return $this->raiseError($available); } $data = array( 'caption' => 'Matched packages:', 'border' => true, - 'headline' => array('Package', 'Latest', 'Local'), + 'headline' => array('Package', 'Stable/(Latest)', 'Local'), ); foreach ($available as $name => $info) { @@ -274,9 +274,13 @@ if (isset($params[$name])) $desc .= "\n\n".$info['description']; + $unstable = ''; + if ($info['unstable']) { + $unstable = '/(' . $info['unstable'] . $info['state'] . ')'; + } $data['data'][$info['category']][] = array( $name, - $info['stable'], + $info['stable'] . $unstable, $installed['version'], $desc, ); http://cvs.php.net/diff.php/php-src/pear/package-PEAR.xml?r1=1.28.2.32&r2=1.28.2.33&ty=u Index: php-src/pear/package-PEAR.xml diff -u php-src/pear/package-PEAR.xml:1.28.2.32 php-src/pear/package-PEAR.xml:1.28.2.33 --- php-src/pear/package-PEAR.xml:1.28.2.32 Fri Apr 2 19:42:14 2004 +++ php-src/pear/package-PEAR.xml Sat Apr 3 01:09:27 2004 @@ -53,6 +53,7 @@ <notes> PEAR Installer: + * Bug #534 pear search doesn't list unstable releases * Bug #933 CMD Usability Patch * Bug #1008 safe mode raises warning

« previous php.pear.core (#210) next »