Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.13

Bug #20507 pear list-upgrades does not take PHP version into account
Submitted: 2015-02-26 18:46 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: PEAR (version 1.9.5)
PHP Version: Irrelevant OS:
Roadmaps: 1.10.0    

 [2015-02-26 18:46 UTC] cweiske (Christian Weiske)
Description: ------------ When using PHP 5.3.x and doing "pear list-upgrades", Console_Getopt 1.4.0 is shown - despite it being PHP 5.4+ only. We can't fix that technically because the REST files do not contain PHP version information: - - So the REST data have to be extendetd as well to fix this.


 [2015-03-05 16:23 UTC] cweiske (Christian Weiske)
-Roadmap Versions: +Roadmap Versions: 1.10.0
 [2015-09-07 15:44 UTC] cweiske (Christian Weiske)
-Roadmap Versions: 1.10.0 +Roadmap Versions:
 [2015-09-23 12:40 UTC] cweiske (Christian Weiske)
Actually, allreleases2.xml contains PHP version information - the minimum version: So this can be fixed in PEAR itself without changing REST info, except we also want the max version in there.
 [2015-09-23 16:00 UTC] cweiske (Christian Weiske)
I just looked into the pear code If the channel supports REST 1.3, then the PHP version being taken into account when doing "pear install foo" - PEAR/REST/13.php#getDownloadURL Thus this bug here should be about the "list-upgrades" command only.
 [2015-09-24 01:09 UTC] cweiske (Christian Weiske)
About the REST 1.4 code that PEAR contains but is not supported anywhere: It was an idea to make list-upgrades faster by introducing a file latestpackages.xml - -- - PEAR has the code already, but no channel server supports it. Patch for pearweb: - --
 [2015-09-24 01:25 UTC] cweiske (Christian Weiske)
-Roadmap Versions: +Roadmap Versions: 1.10.0
 [2015-09-24 02:19 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git stable branch. Will be in 1.10.0.