cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php

From: Date: Sun, 12 Nov 2006 17:21:10 +0000
Subject: cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5180@lists.php.net to get a copy of this message
cellog Sun Nov 12 17:21:10 2006 UTC Modified files: /pear-core/PEAR Installer.php /pear-core package-PEAR.xml package2.xml Log: * fix Bug #9280: cannot install with --packagingroot package from non-php.net channel http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Installer.php?r1=1.237&r2=1.238&diff_format=u Index: pear-core/PEAR/Installer.php diff -u pear-core/PEAR/Installer.php:1.237 pear-core/PEAR/Installer.php:1.238 --- pear-core/PEAR/Installer.php:1.237 Mon Sep 25 23:01:05 2006 +++ pear-core/PEAR/Installer.php Sun Nov 12 17:21:10 2006 @@ -18,7 +18,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: Installer.php,v 1.237 2006/09/25 23:01:05 cellog Exp $ + * @version CVS: $Id: Installer.php,v 1.238 2006/11/12 17:21:10 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -1063,6 +1063,11 @@ $this->_registry = &$this->config->getRegistry(); if (isset($this->_options['packagingroot'])) { $installregistry = &new PEAR_Registry($regdir); + if (!$installregistry->channelExists($channel, true)) { + // we need to fake a channel-discover of this channel + $chanobj = $this->_registry->getChannel($channel, true); + $installregistry->addChannel($chanobj); + } $php_dir = $packrootphp_dir; } else { $installregistry = &$this->_registry; http://cvs.php.net/viewvc.cgi/pear-core/package-PEAR.xml?r1=1.402&r2=1.403&diff_format=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.402 pear-core/package-PEAR.xml:1.403 --- pear-core/package-PEAR.xml:1.402 Sun Nov 12 16:59:52 2006 +++ pear-core/package-PEAR.xml Sun Nov 12 17:21:10 2006 @@ -93,6 +93,7 @@ * fix Bug #9206: PEAR package info is not retrieved correctly for package with single release * fix Bug #9208: Typo error on abstract PEAR_Task_Common::validXml() method + * fix Bug #9280: cannot install with --packagingroot package from non-php.net channel * fix Bug #9307: Validator generates warning on empty &lt;contents&gt; tag * implement Request #8827: add a yesno type handling for post-install scripts </notes> http://cvs.php.net/viewvc.cgi/pear-core/package2.xml?r1=1.298&r2=1.299&diff_format=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.298 pear-core/package2.xml:1.299 --- pear-core/package2.xml:1.298 Sun Nov 12 16:59:52 2006 +++ pear-core/package2.xml Sun Nov 12 17:21:10 2006 @@ -98,6 +98,7 @@ * fix Bug #9206: PEAR package info is not retrieved correctly for package with single release * fix Bug #9208: Typo error on abstract PEAR_Task_Common::validXml() method + * fix Bug #9280: cannot install with --packagingroot package from non-php.net channel * fix Bug #9307: Validator generates warning on empty &lt;contents&gt; tag * implement Request #8827: add a yesno type handling for post-install scripts </notes>

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