cvs: pear-core(PEAR_1_4) / package-PEAR.xml package2.xml /PEAR Registry.php

From: Date: Sat, 11 Mar 2006 04:16:48 +0000
Subject: cvs: pear-core(PEAR_1_4) / package-PEAR.xml package2.xml /PEAR Registry.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4621@lists.php.net to get a copy of this message
cellog Sat Mar 11 04:16:48 2006 UTC Modified files: (Branch: PEAR_1_4) /pear-core package2.xml package-PEAR.xml /pear-core/PEAR Registry.php Log: * fix Bug #7093: if pear channel does not exist, it cannot be retrieved http://cvs.php.net/viewcvs.cgi/pear-core/package2.xml?r1=1.246.2.1&r2=1.246.2.2&diff_format=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.246.2.1 pear-core/package2.xml:1.246.2.2 --- pear-core/package2.xml:1.246.2.1 Sun Mar 5 20:19:00 2006 +++ pear-core/package2.xml Sat Mar 11 04:16:47 2006 @@ -77,9 +77,9 @@ <email>mj@php.net</email> <active>no</active> </helper> - <date>2006-03-05</date> + <date>2006-03-17</date> <version> - <release>1.4.8</release> + <release>1.4.9</release> <api>1.4.2</api> </version> <stability> @@ -89,15 +89,9 @@ <license uri="http://www.php.net/license">PHP License</license> <notes> CRITICAL BUGFIX RELEASE - - Channels with &quot;-&quot; in their name were suddenly invalid, and - caused crashes in many places due to improper error handling - * fix Bug #6960: channels are not allowed to have &quot;-&quot; in their name - * fix critical Bug #6969: PEAR list-upgrades crashes - * fix Bug #6991: Class 'PEAR_PackageFile_v1' not found in Registry.php at line 1657 - * fix Bug #7008: PEAR_Frontend::setFrontendObject doesn't set the object - * fix Bug #7015: install a package.tgz with unknown channel, fatal error in PEAR/Registry.php - * fix Bug #7020: tests/PEAR_Registry/api1_1/test_getChannelValidator.phpt crashes PEAR + users upgrading from PEAR 1.3.x cannot upgrade to 1.4.8 + users who use --packagingroot may find that installation fails + * fix Bug #7093: if pear channel does not exist, it cannot be retrieved </notes> <contents> <dir name="/"> @@ -793,5 +787,29 @@ not in root dir </notes> </release> + <release> + <version> + <release>1.4.8</release> + <api>1.4.2</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <date>2006-03-05</date> + <license uri="http://www.php.net/license/3_0.txt">PHP License</license> + <notes> + CRITICAL BUGFIX RELEASE + + Channels with &quot;-&quot; in their name were suddenly invalid, and + caused crashes in many places due to improper error handling + * fix Bug #6960: channels are not allowed to have &quot;-&quot; in their name + * fix critical Bug #6969: PEAR list-upgrades crashes + * fix Bug #6991: Class 'PEAR_PackageFile_v1' not found in Registry.php at line 1657 + * fix Bug #7008: PEAR_Frontend::setFrontendObject doesn't set the object + * fix Bug #7015: install a package.tgz with unknown channel, fatal error in PEAR/Registry.php + * fix Bug #7020: tests/PEAR_Registry/api1_1/test_getChannelValidator.phpt crashes PEAR + </notes> + </release> </changelog> -</package> +</package> \ No newline at end of file http://cvs.php.net/viewcvs.cgi/pear-core/package-PEAR.xml?r1=1.352.2.1&r2=1.352.2.2&diff_format=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.352.2.1 pear-core/package-PEAR.xml:1.352.2.2 --- pear-core/package-PEAR.xml:1.352.2.1 Sun Mar 5 20:19:00 2006 +++ pear-core/package-PEAR.xml Sat Mar 11 04:16:47 2006 @@ -78,21 +78,15 @@ </maintainer> </maintainers> <release> - <version>1.4.8</version> - <date>2006-03-05</date> + <version>1.4.9</version> + <date>2006-03-17</date> <license>PHP License</license> <state>stable</state> <notes> CRITICAL BUGFIX RELEASE - - Channels with &quot;-&quot; in their name were suddenly invalid, and - caused crashes in many places due to improper error handling - * fix Bug #6960: channels are not allowed to have &quot;-&quot; in their name - * fix critical Bug #6969: PEAR list-upgrades crashes - * fix Bug #6991: Class 'PEAR_PackageFile_v1' not found in Registry.php at line 1657 - * fix Bug #7008: PEAR_Frontend::setFrontendObject doesn't set the object - * fix Bug #7015: install a package.tgz with unknown channel, fatal error in PEAR/Registry.php - * fix Bug #7020: tests/PEAR_Registry/api1_1/test_getChannelValidator.phpt crashes PEAR + users upgrading from PEAR 1.3.x cannot upgrade to 1.4.8 + users who use --packagingroot may find that installation fails + * fix Bug #7093: if pear channel does not exist, it cannot be retrieved </notes> <provides type="class" name="OS_Guess"/> <provides type="class" name="System"/> @@ -640,5 +634,23 @@ not in root dir </notes> </release> + <release> + <version>1.4.8</version> + <date>2006-03-05</date> + <license>PHP License</license> + <state>stable</state> + <notes> + CRITICAL BUGFIX RELEASE + + Channels with &quot;-&quot; in their name were suddenly invalid, and + caused crashes in many places due to improper error handling + * fix Bug #6960: channels are not allowed to have &quot;-&quot; in their name + * fix critical Bug #6969: PEAR list-upgrades crashes + * fix Bug #6991: Class 'PEAR_PackageFile_v1' not found in Registry.php at line 1657 + * fix Bug #7008: PEAR_Frontend::setFrontendObject doesn't set the object + * fix Bug #7015: install a package.tgz with unknown channel, fatal error in PEAR/Registry.php + * fix Bug #7020: tests/PEAR_Registry/api1_1/test_getChannelValidator.phpt crashes PEAR + </notes> + </release> </changelog> </package> http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Registry.php?r1=1.150.2.1&r2=1.150.2.2&diff_format=u Index: pear-core/PEAR/Registry.php diff -u pear-core/PEAR/Registry.php:1.150.2.1 pear-core/PEAR/Registry.php:1.150.2.2 --- pear-core/PEAR/Registry.php:1.150.2.1 Sun Mar 5 20:07:52 2006 +++ pear-core/PEAR/Registry.php Sat Mar 11 04:16:48 2006 @@ -17,7 +17,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Registry.php,v 1.150.2.1 2006/03/05 20:07:52 cellog Exp $ + * @version CVS: $Id: Registry.php,v 1.150.2.2 2006/03/11 04:16:48 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -1301,10 +1301,13 @@ { $ch = false; if ($this->_channelExists($channel, $noaliases)) { - if (!class_exists('PEAR_ChannelFile')) { - require_once 'PEAR/ChannelFile.php'; + $chinfo = $this->_channelInfo($channel, $noaliases); + if ($chinfo) { + if (!class_exists('PEAR_ChannelFile')) { + require_once 'PEAR/ChannelFile.php'; + } + $ch = &PEAR_ChannelFile::fromArrayWithErrors($chinfo); } - $ch = &PEAR_ChannelFile::fromArrayWithErrors($this->_channelInfo($channel, $noaliases)); } if ($ch) { if ($ch->validate()) {

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