cvs: pear-core /tests/PEAR_Command_Install/upgrade test_bug6931.phpt
| From: | Greg Beaver | Date: | Tue, 28 Mar 2006 03:58:43 +0000 |
| Subject: | cvs: pear-core /tests/PEAR_Command_Install/upgrade test_bug6931.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4686@lists.php.net to get a copy of this message | ||
cellog Tue Mar 28 03:58:43 2006 UTC
Modified files:
/pear-core/tests/PEAR_Command_Install/upgrade test_bug6931.phpt
Log:
fix test
http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Command_Install/upgrade/test_bug6931.phpt?r1=1.2&r2=1.3&diff_format=u
Index: pear-core/tests/PEAR_Command_Install/upgrade/test_bug6931.phpt
diff -u pear-core/tests/PEAR_Command_Install/upgrade/test_bug6931.phpt:1.2
pear-core/tests/PEAR_Command_Install/upgrade/test_bug6931.phpt:1.3
--- pear-core/tests/PEAR_Command_Install/upgrade/test_bug6931.phpt:1.2 Tue Mar 28 03:51:40 2006
+++ pear-core/tests/PEAR_Command_Install/upgrade/test_bug6931.phpt Tue Mar 28 03:58:43 2006
@@ -462,6 +462,61 @@
<x xlink:href="package.0.4.0.xml"/>
</r>', 'text/xml');
$pearweb->addRESTConfig("http://pear.php.net/rest/r/pear_frontend_gtk/deps.0.4.0.txt",
'b:0;', 'text/xml');
+$pearweb->addRESTConfig("http://pear.php.net/rest/r/pear/1.4.8.xml",
'<?xml version="1.0" encoding="UTF-8" ?>
+<r xmlns="http://pear.php.net/dtd/rest.release"
+ xsi:schemaLocation="http://pear.php.net/dtd/rest.release
+ http://pear.php.net/dtd/rest.release.xsd">
+ <p xlink:href="/rest/p/pear">PEAR</p>
+ <c>pear.php.net</c>
+ <v>1.4.8</v>
+ <st>stable</st>
+ <l>PHP License</l>
+ <m>cellog</m>
+ <s>PEAR Base System</s>
+ <d>The PEAR package contains:
+ * the PEAR installer, for creating, distributing
+ and installing packages
+ * the beta-quality PEAR_Exception PHP5 error handling mechanism
+ * the beta-quality PEAR_ErrorStack advanced error handling mechanism
+ * the PEAR_Error error handling mechanism
+ * the OS_Guess class for retrieving info about the OS
+ where PHP is running on
+ * the System class for quick handling of common operations
+ with files and directories
+ * the PEAR base class
+
+ New features in a nutshell:
+ * full support for channels
+ * pre-download dependency validation
+ * new package.xml 2.0 format allows tremendous flexibility while maintaining BC
+ * support for optional dependency groups and limited support for sub-packaging
+ * robust dependency support
+ * full dependency validation on uninstall
+ * remote install for hosts with only ftp access - no more problems with
+ restricted host installation
+ * full support for mirroring
+ * support for bundling several packages into a single tarball
+ * support for static dependencies on a url-based package
+ * support for custom file roles and installation tasks
+
+ NOTE: users of PEAR_Frontend_Web/PEAR_Frontend_Gtk must upgrade their installations
+ to the latest version, or PEAR will not upgrade properly</d>
+ <da>2006-03-05 15:22:14</da>
+ <n>CRITICAL BUGFIX RELEASE
+
+Channels with "-" 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 "-" 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</n>
+ <f>283109</f>
+ <g>http://pear.php.net/get/PEAR-1.4.8</g>
+ <x xlink:href="package.1.4.8.xml"/>
+</r>', 'text/xml');
+$pearweb->addRESTConfig("http://pear.php.net/rest/r/pear/deps.1.4.8.txt",
'a:3:{s:8:"required";a:4:{s:3:"php";a:1:{s:3:"min";s:3:"4.2";}s:13:"pearinstaller";a:1:{s:3:"min";s:8:"1.4.0a12";}s:7:"package";a:4:{i:0;a:5:{s:4:"name";s:11:"Archive_Tar";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:3:"1.1";s:11:"recommended";s:5:"1.3.1";s:7:"exclude";s:5:"1.3.0";}i:1;a:4:{s:4:"name";s:14:"Console_Getopt";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:3:"1.2";s:11:"recommended";s:3:"1.2";}i:2;a:5:{s:4:"name";s:17:"PEAR_Frontend_Web";s:7:"channel";s:12:"pear.php.net";s:3:"max";s:5:"0.5.0";s:7:"exclude";s:5:"0.5.0";s:9:"conflicts";s:0:"";}i:3;a:5:{s:4:"name";s:17:"PEAR_Frontend_Gtk";s:7:"channel";s:12:"pear.php.net";s:3:"max";s:5:"0.4.0";s:7:"exclude";s:5:"0.4.0";s:9:"conflicts";s:0:"";}}s:9:"extension";a:2:{i:0;a:1:{s:4:"name";s:3:"xml";}i:1;a:1:{s:4:"name";s:4:"pcre";}}}s:8:"optional";a:1:{s:7:"package";a:3:{s:4:"name";s:7:"XML_RPC";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.!
4.0";}}s:5:"group";a:3:{i:0;a:2:{s:7:"attribs";a:2:{s:4:"hint";s:26:"PEAR\'s
web-based
installer";s:4:"name";s:12:"webinstaller";}s:7:"package";a:3:{s:4:"name";s:17:"PEAR_Frontend_Web";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.5.0";}}i:1;a:2:{s:7:"attribs";a:2:{s:4:"hint";s:30:"PEAR\'s
PHP-GTK-based
installer";s:4:"name";s:12:"gtkinstaller";}s:7:"package";a:3:{s:4:"name";s:17:"PEAR_Frontend_Gtk";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.4.0";}}i:2;a:2:{s:7:"attribs";a:2:{s:4:"hint";s:31:"PEAR\'s
PHP-GTK2-based
installer";s:4:"name";s:13:"gtk2installer";}s:7:"package";a:2:{s:4:"name";s:18:"PEAR_Frontend_Gtk2";s:7:"channel";s:12:"pear.php.net";}}}}',
'text/xml');
$dir = dirname(__FILE__) . DIRECTORY_SEPARATOR .
'packages'. DIRECTORY_SEPARATOR;
$pearweb->addHTMLConfig('http://pear.php.net/get/PEAR-1.4.0a12.tgz',
$dir . 'PEAR-1.4.0a12.tgz');