XML_RPC 1.4.0 works with PEAR 1.3.5
| From: | Greg Beaver | Date: | Wed, 17 Aug 2005 03:32:27 +0000 |
| Subject: | XML_RPC 1.4.0 works with PEAR 1.3.5 | ||
| Groups: | php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3599@lists.php.net to get a copy of this message | ||
Hi,
I have just done extensive testing of PEAR 1.3.5 with XML_RPC 1.4.0 on
windows, and all is well. Ian Eure also tested on his linux box with no
problems.
I am confident it is stable enough. My suggestion is to revert the
anti-XML_RPC package code and simply bump the dependency to 1.4.0 in
package-PEAR.xml in php-src/pear branch PHP_5_1.
If this is acceptable, anyone can do this, it need not be Pierre, myself
or any PEAR developer.
The steps are:
1) apply this patch to the PHP_5_1 branch (also attached)
Index: pear/go-pear-list.php
===================================================================
RCS file: /repository/php-src/pear/Attic/go-pear-list.php,v
retrieving revision 1.15.2.2
diff -u -r1.15.2.2 go-pear-list.php
--- pear/go-pear-list.php 16 Aug 2005 11:35:45 -0000 1.15.2.2
+++ pear/go-pear-list.php 17 Aug 2005 03:23:42 -0000
@@ -7,10 +7,10 @@
*/
$packages = array(
// required packages for the installer
-"PEAR" => "1.3.5",
+"PEAR" => "1.3.6",
"XML_RPC" => "1.4.0",
"Console_Getopt" => "1.2",
-"Archive_Tar" => "1.3.1",
+"Archive_Tar" => "1.3.2",
// required packages for the web frontend
"PEAR_Frontend_Web" => "0.4",
Index: pear/package-PEAR.xml
===================================================================
RCS file: /repository/php-src/pear/Attic/package-PEAR.xml,v
retrieving revision 1.108.2.1
diff -u -r1.108.2.1 package-PEAR.xml
--- pear/package-PEAR.xml 11 Aug 2005 16:43:25 -0000 1.108.2.1
+++ pear/package-PEAR.xml 17 Aug 2005 03:23:42 -0000
@@ -19,7 +19,7 @@
<maintainer>
<user>ssb</user>
<role>lead</role>
- <name>Stig Sæther Bakken</name>
+ <name>Stig Bakken</name>
<email>stig@php.net</email>
</maintainer>
<maintainer>
@@ -48,14 +48,12 @@
</maintainer>
</maintainers>
<release>
- <version>1.3.5</version>
- <date>2005-02-18</date>
+ <version>1.3.6</version>
+ <date>2005-08-16</date>
<state>stable</state>
<license>PHP License</license>
<notes>
- * fix Bug #3505: pecl can't install PDO
- * enhance pear run-tests dramatically
- * fix Bug #3506: pear install should export the pear version into the
environment
+ * Bump XML_RPC dependency to 1.4.0
</notes>
<provides type="class" name="OS_Guess" />
<provides type="class" name="System" />
@@ -124,13 +122,25 @@
<dep type="php" rel="ge" version="4.2"/>
<dep type="pkg" rel="ge"
version="1.1">Archive_Tar</dep>
<dep type="pkg" rel="ge"
version="1.2">Console_Getopt</dep>
- <dep type="ext" rel="has">xmlrpc</dep>
+ <dep type="pkg" rel="ge"
version="1.4.0">XML_RPC</dep>
<dep type="ext" rel="has">xml</dep>
<dep type="ext" rel="has">pcre</dep>
+ <dep type="ext" rel="has"
optional="yes">xmlrpc</dep>
</deps>
</release>
<changelog>
<release>
+ <version>1.3.5</version>
+ <date>2005-02-18</date>
+ <state>stable</state>
+ <license>PHP License</license>
+ <notes>
+ * fix Bug #3505: pecl can't install PDO
+ * enhance pear run-tests dramatically
+ * fix Bug #3506: pear install should export the pear version into the
environment
+ </notes>
+ </release>
+ <release>
<version>1.3.1</version>
<date>2004-04-06</date>
<state>stable</state>
Index: pear/PEAR/Remote.php
===================================================================
RCS file: /repository/php-src/pear/PEAR/Attic/Remote.php,v
retrieving revision 1.50.4.1
diff -u -r1.50.4.1 Remote.php
--- pear/PEAR/Remote.php 11 Aug 2005 16:43:25 -0000 1.50.4.1
+++ pear/PEAR/Remote.php 17 Aug 2005 03:23:43 -0000
@@ -115,9 +115,9 @@
$this->saveCache($_args, $result);
};
return $result;
- } else {
- return $this->raiseError("For this remote PEAR operation
you need to load the xmlrpc extension");
}
+ if (!@include_once("XML/RPC.php")) {
+ return $this->raiseError("For this remote PEAR operation
you need to install the XML_RPC package");
array_shift($args);
$server_host = $this->config->get('master_server');
$username = $this->config->get('username');
2) in php-src/pear directory run "pear package package-PEAR.xml" which
will create PEAR-1.3.6.tgz
3) download
Console_Getopt-1.2.tgz
Archive_Tar-1.3.2.tgz
XML_RPC-1.4.0.tgz
and send them with PEAR-1.3.6.tgz to Edin for the windows build. Edin:
is this still necessary? I can't remember.
4) release PEAR 1.3.6 (I can do this tomorrow afternoon USA time if
nobody can get around to it sooner)
5) release PHP 5.1RC1 any time
Thanks,
Greg