#21611 [Asn]: Problem with pear cli and release numbers

From: Date: Thu, 24 Jul 2003 07:42:05 +0000
Subject: #21611 [Asn]: Problem with pear cli and release numbers
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18618@lists.php.net to get a copy of this message
ID: 21611 Updated by: meebey@php.net -Summary: Problem with apd release numbers Reported By: jan at horde dot org Status: Assigned Bug Type: PEAR related Operating System: Linux PHP Version: 4CVS-2003-01-13 (stable) Assigned To: gschlossnagle New Comment: this problem still exists, I just reproduced it with my current SmartIRC release Net_SmartIRC-0.5.5p1 it's installed and when I do pear list-upgrades: meebey-mobile:/db/mysql/mysql# pear list-upgrades Available Upgrades (stable): ============================ Package Version Size Net_SmartIRC 0.5.5 183kB it shows me the older unpatched 0.5.5 version. So of course pear upgrade-all tries to upgrade and I get: meebey-mobile:/db/mysql/mysql# pear upgrade-all Release Warnings ================ w w downloading Net_SmartIRC-0.5.5p1.tgz ... ...done: 186,781 bytes upgrade to a newer version (0.5.5p1 is not newer than 0.5.5p1) I think the pear cli should check if the version has a suffix, if so, then it's newer then just the versionnumber... Previous Comments: ------------------------------------------------------------------------ [2003-04-28 04:02:57] arnaud@php.net Assigning to georges ------------------------------------------------------------------------ [2003-01-13 04:23:25] jan at horde dot org Either PEAR (1.0.1) fails in calculating release numbers or the apd maintainers chose an invalid release number: $ pear list [...] | apd | 0.4p1 | stable | [...] $ pear list-upgrades AVAILABLE UPGRADES (STABLE): ============================ +---------+---------+------+ | PACKAGE | VERSION | SIZE | | apd | 0.4 | 39kB | +---------+---------+------+ $ pear upgrade apd downloading apd-0.4p1.tgz ... ...done: bytes upgrade to a newer version (0.4p1 is not newer than 0.4p1) $ pear upgrade-all RELEASE WARNINGS ================ +---+ | w | +---+ w downloading apd-0.4p1.tgz ... ...done: p39,605 bytes upgrade to a newer version (0.4p1 is not newer than 0.4p1) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21611&edit=1

« previous php.pear.dev (#18618) next »