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

From: Date: Tue, 11 Mar 2008 22:04:33 +0000
Subject: cvs: pear-core / install-pear.php package-PEAR.xml package2.xml
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-7332@lists.php.net to get a copy of this message
timj Tue Mar 11 22:04:33 2008 UTC Modified files: /pear-core package2.xml package-PEAR.xml install-pear.php Log: Implement Request #13375: install-pear.php should have option to set cfg_dir http://cvs.php.net/viewvc.cgi/pear-core/package2.xml?r1=1.417&r2=1.418&diff_format=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.417 pear-core/package2.xml:1.418 --- pear-core/package2.xml:1.417 Sun Feb 3 15:28:56 2008 +++ pear-core/package2.xml Tue Mar 11 22:04:32 2008 @@ -86,9 +86,9 @@ <email>mj@php.net</email> <active>no</active> </helper> - <date>2008-02-03</date> + <date>2008-03-11</date> <version> - <release>1.7.1</release> + <release>1.7.2</release> <api>1.7.0</api> </version> <stability> @@ -97,17 +97,7 @@ </stability> <license uri="http://www.php.net/license">PHP License</license> <notes> - fixed since 1.7.0 - * fix bug #13030: Port not set for REST HTTP requests [timj] - * fix bug #13029: Duplicate Host headers set when requesting REST data [timj] - * fix bug #13047: PEAR fails to install *any* package [timj] - - Known bugs to be fixed in version 1.7.2: - - Bug #12945 PEAR_Registry::setConfig() does not set install path - - Bug #12959 PEAR should give warning when doing &quot;special&quot; handling with cfg role - - Bug #12960 role=cfg should automatically replace file if it has not been modified - - Bug #13031 PEAR fails to authenticate when doing upgrade-all on non-default channel - - Bug #13033 Signature to PEAR_REST_XX::listAll() changes between REST1.0 and 1.1 + * Implement Request #13375: install-pear.php should have option to set cfg_dir [timj] </notes> <contents> <dir name="/"> @@ -686,5 +676,29 @@ * implement Request #12147: Avoid compile-time strict warnings [cellog] </notes> </release> + <release> + <version> + <release>1.7.1</release> + <api>1.7.0</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <license uri="http://www.php.net/license">PHP License</license> + <notes> + fixed since 1.7.0 + * fix bug #13030: Port not set for REST HTTP requests [timj] + * fix bug #13029: Duplicate Host headers set when requesting REST data [timj] + * fix bug #13047: PEAR fails to install *any* package [timj] + + Known bugs to be fixed in version 1.7.2: + - Bug #12945 PEAR_Registry::setConfig() does not set install path + - Bug #12959 PEAR should give warning when doing &quot;special&quot; handling with cfg role + - Bug #12960 role=cfg should automatically replace file if it has not been modified + - Bug #13031 PEAR fails to authenticate when doing upgrade-all on non-default channel + - Bug #13033 Signature to PEAR_REST_XX::listAll() changes between REST1.0 and 1.1 + </notes> + </release> </changelog> </package> http://cvs.php.net/viewvc.cgi/pear-core/package-PEAR.xml?r1=1.517&r2=1.518&diff_format=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.517 pear-core/package-PEAR.xml:1.518 --- pear-core/package-PEAR.xml:1.517 Sun Feb 3 15:28:56 2008 +++ pear-core/package-PEAR.xml Tue Mar 11 22:04:32 2008 @@ -87,22 +87,12 @@ </maintainer> </maintainers> <release> - <version>1.7.1</version> - <date>2008-02-03</date> + <version>1.7.2</version> + <date>2008-03-11</date> <license>PHP License</license> <state>stable</state> <notes> - fixed since 1.7.0 - * fix bug #13030: Port not set for REST HTTP requests [timj] - * fix bug #13029: Duplicate Host headers set when requesting REST data [timj] - * fix bug #13047: PEAR fails to install *any* package [timj] - - Known bugs to be fixed in version 1.7.2: - - Bug #12945 PEAR_Registry::setConfig() does not set install path - - Bug #12959 PEAR should give warning when doing &quot;special&quot; handling with cfg role - - Bug #12960 role=cfg should automatically replace file if it has not been modified - - Bug #13031 PEAR fails to authenticate when doing upgrade-all on non-default channel - - Bug #13033 Signature to PEAR_REST_XX::listAll() changes between REST1.0 and 1.1 + * Implement Request #13375: install-pear.php should have option to set cfg_dir [timj] </notes> <provides type="class" name="OS_Guess"/> <provides type="class" name="System"/> @@ -553,5 +543,24 @@ * implement Request #12147: Avoid compile-time strict warnings [cellog] </notes> </release> + <release> + <version>1.7.1</version> + <date>2008-02-03</date> + <license>PHP License</license> + <state>stable</state> + <notes> + fixed since 1.7.0 + * fix bug #13030: Port not set for REST HTTP requests [timj] + * fix bug #13029: Duplicate Host headers set when requesting REST data [timj] + * fix bug #13047: PEAR fails to install *any* package [timj] + + Known bugs to be fixed in version 1.7.2: + - Bug #12945 PEAR_Registry::setConfig() does not set install path + - Bug #12959 PEAR should give warning when doing &quot;special&quot; handling with cfg role + - Bug #12960 role=cfg should automatically replace file if it has not been modified + - Bug #13031 PEAR fails to authenticate when doing upgrade-all on non-default channel + - Bug #13033 Signature to PEAR_REST_XX::listAll() changes between REST1.0 and 1.1 + </notes> + </release> </changelog> </package> http://cvs.php.net/viewvc.cgi/pear-core/install-pear.php?r1=1.30&r2=1.31&diff_format=u Index: pear-core/install-pear.php diff -u pear-core/install-pear.php:1.30 pear-core/install-pear.php:1.31 --- pear-core/install-pear.php:1.30 Tue Nov 27 00:41:52 2007 +++ pear-core/install-pear.php Tue Mar 11 22:04:32 2008 @@ -1,6 +1,6 @@ <?php -/* $Id: install-pear.php,v 1.30 2007/11/27 00:41:52 cellog Exp $ */ +/* $Id: install-pear.php,v 1.31 2008/03/11 22:04:32 timj Exp $ */ error_reporting(E_ALL); $pear_dir = dirname(__FILE__); @@ -46,6 +46,9 @@ } elseif ($arg == '-b') { $bin_dir = $argv[$i+1]; $i++; + } elseif ($arg == '-c') { + $cfg_dir = $argv[$i+1]; + $i++; } elseif ($arg == '-p') { $php_bin = $argv[$i+1]; $i++; @@ -79,6 +82,12 @@ if (!empty($bin_dir)) { $config->set('bin_dir', $bin_dir, 'default'); } + +// Config files +if (!empty($cfg_dir)) { + $config->set('cfg_dir', $cfg_dir, 'default'); +} + // User supplied a dir prefix if (!empty($with_dir)) { $ds = DIRECTORY_SEPARATOR;

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