<html>
<head>
<style><!--
  body {background-color:#ffffff;}
  .file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
  .pathname {font-family:monospace; float:right;}
  .fileheader {margin-bottom:.5em;}
  .diff {margin:0;}
  .tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
  .tasklist ul {margin-top:0;margin-bottom:0;}
  tr.alt {background-color:#eeeeee}
  #added {background-color:#ddffdd;}
  #addedchars {background-color:#99ff99;font-weight:bolder;}
  tr.alt #added {background-color:#ccf7cc;}
  #removed {background-color:#ffdddd;}
  #removedchars {background-color:#ff9999;font-weight:bolder;}
  tr.alt #removed {background-color:#f7cccc;}
  #info {color:#888888;}
  #context {background-color:#eeeeee;}
  td {padding-left:.3em;padding-right:.3em;}
  tr.head {border-bottom-width:1px;border-bottom-style:solid;}
  tr.head td {padding:0;padding-top:.2em;}
  .task {background-color:#ffff00;}
  .comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
  .error {color:red;}
  hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>PEAR_Server</tt></b> on <span id="info">MAIN</span></td></tr>
<tr><td><tt><a href="#file1">package.xml</a></tt></td><td align="right" id="added">+21</td><td align="right" id="removed">-72</td><td nowrap="nowrap" align="center"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.27">1.27</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/package.xml?r1=1.27&r2=1.28">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.28">1.28</a></td></tr>
<tr class="alt"><td><tt><a href="#file2">package.xml</a></tt></td><td align="right" id="added">+21</td><td align="right" id="removed">-72</td><td nowrap="nowrap" align="center"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.27">1.27</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/package.xml?r1=1.27&r2=1.28">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.28">1.28</a></td></tr>
<tr><td><tt>Server/<a href="#file3">Exception.php</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/Exception.php?r=1.9">1.9</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/Server/Exception.php?r1=1.9&r2=1.10">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/Exception.php?r=1.10">1.10</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file4">mysqlinstall.php</a></tt></td><td align="right" id="added">+101</td><td align="right" id="removed">-28</td><td nowrap="nowrap" align="center"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/mysqlinstall.php?r=1.15">1.15</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/Server/mysqlinstall.php?r1=1.15&r2=1.16">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/mysqlinstall.php?r=1.16">1.16</a></td></tr>
<tr><td></td><td align="right" id="added">+144</td><td align="right" id="removed">-173</td><td></td></tr>
</table>
<small id="info">4 modified files</small><br />
<pre class="comment">
fix exception again
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a href="http://cvs.phpdoc.org/cvs.php/PEAR_Server">PEAR_Server</a><br /></span>
<div class="fileheader"><big><b>package.xml</b></big> <small id="info"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.27">1.27</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/package.xml?r1=1.27&r2=1.28">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.28">1.28</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.27 -r1.28
--- package.xml        24 Apr 2005 03:11:03 -0000        1.27
+++ package.xml        1 Jun 2005 03:31:46 -0000        1.28
@@ -11,7 +11,7 @@
</small></pre><pre class="diff" id="context"> By default, a lightweight database is used,
 accessed by a DB_DataObject backend,
 with an administrative frontend using HTML_QuickForm and
</pre><pre class="diff" id="removed">-xml-rpc frontend using Chiara_XML_RPC5
</pre><pre class="diff" id="added">+REST-based static frontend
</pre><pre class="diff" id="context"> Chiara_PEAR_Server replaces PEAR_Server
 &lt;/description&gt;
  &lt;lead&gt;
</pre><pre class="diff"><small id="info">@@ -26,9 +26,9 @@
</small></pre><pre class="diff" id="context">   &lt;email&gt;davey@php.net&lt;/email&gt;
   &lt;active&gt;yes&lt;/active&gt;
  &lt;/lead&gt;
</pre><pre class="diff" id="removed">- &lt;date&gt;2005-0<span id="removedchars">4-2</span>1&lt;/date&gt;
</pre><pre class="diff" id="added">+ &lt;date&gt;2005-0<span id="addedchars">5-3</span>1&lt;/date&gt;
</pre><pre class="diff" id="context">  &lt;version&gt;
</pre><pre class="diff" id="removed">-  &lt;release&gt;0.18.<span id="removedchars">0</span>&lt;/release&gt;
</pre><pre class="diff" id="added">+  &lt;release&gt;0.18.<span id="addedchars">1</span>&lt;/release&gt;
</pre><pre class="diff" id="context">   &lt;api&gt;0.18.0&lt;/api&gt;
  &lt;/version&gt;
  &lt;stability&gt;
</pre><pre class="diff"><small id="info">@@ -37,11 +37,8 @@
</small></pre><pre class="diff" id="context">  &lt;/stability&gt;
  &lt;license uri="http://www.php.net/license"&gt;PHP License&lt;/license&gt;
  &lt;notes&gt;
</pre><pre class="diff" id="removed">-    Implement REST support
-    fix subpackage support
-    fix package.info
-    fix PHP5 issue with visibility of Xmlrpc5 server contructor
-    add the ability to delete a package
</pre><pre class="diff" id="added">+    Consolidate post-install scripts
+    fix invalid release exception error message
</pre><pre class="diff" id="context">  &lt;/notes&gt;
  &lt;contents&gt;
   &lt;dir name="/" baseinstalldir="Chiara/PEAR"&gt;
</pre><pre class="diff"><small id="info">@@ -76,8 +73,6 @@
</small></pre><pre class="diff" id="context">     &lt;/dir&gt; &lt;!-- /Server/Backend --&gt;
     &lt;dir name="Frontend"&gt;
      &lt;file name="HTMLQuickForm.php" role="php" /&gt;
</pre><pre class="diff" id="removed">-     &lt;file name="Xmlrpc.php" role="php" /&gt;
-     &lt;file name="Xmlrpc5.php" role="php" /&gt;
</pre><pre class="diff" id="context">     &lt;/dir&gt; &lt;!-- /Server/Frontend --&gt;
     &lt;file name="Backend.php" role="php" /&gt;
     &lt;file name="Exception.php" role="php" /&gt;
</pre><pre class="diff"><small id="info">@@ -177,12 +172,6 @@
</small></pre><pre class="diff" id="context">         &lt;type&gt;string&lt;/type&gt;
        &lt;/param&gt;
        &lt;param&gt;
</pre><pre class="diff" id="removed">-        &lt;name&gt;xmlrpcphp&lt;/name&gt;
-        &lt;prompt&gt;name of xmlrpc.php public XML-RPC frontend file&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;xmlrpc.php&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
</pre><pre class="diff" id="context">         &lt;name&gt;frontendphp&lt;/name&gt;
         &lt;prompt&gt;name of frontend.php HTML admin frontend file&lt;/prompt&gt;
         &lt;type&gt;string&lt;/type&gt;
</pre><pre class="diff"><small id="info">@@ -209,58 +198,6 @@
</small></pre><pre class="diff" id="context">      &lt;tasks:replace from="@data-dir@" to="data_dir" type="pear-config"/&gt;
      &lt;tasks:replace from="@php-dir@" to="php_dir" type="pear-config"/&gt;
     &lt;/file&gt;
</pre><pre class="diff" id="removed">-    &lt;file name="restsetup.php" role="php"&gt;
-     &lt;tasks:postinstallscript&gt;
-      &lt;paramgroup&gt;
-       &lt;id&gt;questionCreate&lt;/id&gt;
-       &lt;param&gt;
-        &lt;name&gt;doit&lt;/name&gt;
-        &lt;prompt&gt;Enable REST for this server? (extremely scalable compared to XML-RPC)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;yes&lt;/default&gt;
-       &lt;/param&gt;
-      &lt;/paramgroup&gt;
-      &lt;paramgroup&gt;
-       &lt;id&gt;processExistingReleases&lt;/id&gt;
-       &lt;param&gt;
-        &lt;name&gt;database&lt;/name&gt;
-        &lt;prompt&gt;Mysql database&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;pear&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;user&lt;/name&gt;
-        &lt;prompt&gt;Mysql Username (must have create permision)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;pear&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;password&lt;/name&gt;
-        &lt;prompt&gt;Mysql password&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;pear&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;dbhost&lt;/name&gt;
-        &lt;prompt&gt;Database Host&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;localhost&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;name&lt;/name&gt;
-        &lt;prompt&gt;Channel Name (server uri like pear.php.net)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;webroot&lt;/name&gt;
-        &lt;prompt&gt;Path to document root (htdocs or public_html)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-       &lt;/param&gt;
-      &lt;/paramgroup&gt;
-     &lt;/tasks:postinstallscript&gt;
-     &lt;tasks:replace from="@data-dir@" to="data_dir" type="pear-config"/&gt;
-     &lt;tasks:replace from="@php-dir@" to="php_dir" type="pear-config"/&gt;
-    &lt;/file&gt;
</pre><pre class="diff" id="context">     &lt;file name="Release.php" role="php" /&gt;
    &lt;/dir&gt; &lt;!-- /Server --&gt;
    &lt;file name="Server.php" role="php" /&gt;
</pre><pre class="diff"><small id="info">@@ -284,10 +221,6 @@
</small></pre><pre class="diff" id="context">     &lt;channel&gt;pear.php.net&lt;/channel&gt;
     &lt;min&gt;3.2.2&lt;/min&gt;
    &lt;/package&gt;
</pre><pre class="diff" id="removed">-   &lt;package&gt;
-    &lt;name&gt;Chiara_XML_RPC5&lt;/name&gt;
-    &lt;channel&gt;pear.chiaraquartet.net&lt;/channel&gt;
-   &lt;/package&gt;
</pre><pre class="diff" id="context">   &lt;/required&gt;
   &lt;optional&gt;
    &lt;extension&gt;
</pre><pre class="diff"><small id="info">@@ -589,5 +522,21 @@
</small></pre><pre class="diff" id="context">     add the ability to delete a package
    &lt;/notes&gt;
   &lt;/release&gt;
</pre><pre class="diff" id="added">+  &lt;release&gt;
+   &lt;version&gt;
+    &lt;release&gt;0.18.1&lt;/release&gt;
+    &lt;api&gt;0.18.0&lt;/api&gt;
+   &lt;/version&gt;
+   &lt;stability&gt;
+    &lt;release&gt;alpha&lt;/release&gt;
+    &lt;api&gt;alpha&lt;/api&gt;
+   &lt;/stability&gt;
+   &lt;date&gt;2005-05-31&lt;/date&gt;
+   &lt;license uri="http://www.php.net/license"&gt;PHP License&lt;/license&gt;
+   &lt;notes&gt;
+    Consolidate post-install scripts
+    fix invalid release exception error message
+   &lt;/notes&gt;
+  &lt;/release&gt;
</pre><pre class="diff" id="context">  &lt;/changelog&gt;
 &lt;/package&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname"><a href="http://cvs.phpdoc.org/cvs.php/PEAR_Server">PEAR_Server</a><br /></span>
<div class="fileheader"><big><b>package.xml</b></big> <small id="info"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.27">1.27</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/package.xml?r1=1.27&r2=1.28">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/package.xml?r=1.28">1.28</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.27 -r1.28
--- package.xml        24 Apr 2005 03:11:03 -0000        1.27
+++ package.xml        1 Jun 2005 03:31:46 -0000        1.28
@@ -11,7 +11,7 @@
</small></pre><pre class="diff" id="context"> By default, a lightweight database is used,
 accessed by a DB_DataObject backend,
 with an administrative frontend using HTML_QuickForm and
</pre><pre class="diff" id="removed">-xml-rpc frontend using Chiara_XML_RPC5
</pre><pre class="diff" id="added">+REST-based static frontend
</pre><pre class="diff" id="context"> Chiara_PEAR_Server replaces PEAR_Server
 &lt;/description&gt;
  &lt;lead&gt;
</pre><pre class="diff"><small id="info">@@ -26,9 +26,9 @@
</small></pre><pre class="diff" id="context">   &lt;email&gt;davey@php.net&lt;/email&gt;
   &lt;active&gt;yes&lt;/active&gt;
  &lt;/lead&gt;
</pre><pre class="diff" id="removed">- &lt;date&gt;2005-0<span id="removedchars">4-2</span>1&lt;/date&gt;
</pre><pre class="diff" id="added">+ &lt;date&gt;2005-0<span id="addedchars">5-3</span>1&lt;/date&gt;
</pre><pre class="diff" id="context">  &lt;version&gt;
</pre><pre class="diff" id="removed">-  &lt;release&gt;0.18.<span id="removedchars">0</span>&lt;/release&gt;
</pre><pre class="diff" id="added">+  &lt;release&gt;0.18.<span id="addedchars">1</span>&lt;/release&gt;
</pre><pre class="diff" id="context">   &lt;api&gt;0.18.0&lt;/api&gt;
  &lt;/version&gt;
  &lt;stability&gt;
</pre><pre class="diff"><small id="info">@@ -37,11 +37,8 @@
</small></pre><pre class="diff" id="context">  &lt;/stability&gt;
  &lt;license uri="http://www.php.net/license"&gt;PHP License&lt;/license&gt;
  &lt;notes&gt;
</pre><pre class="diff" id="removed">-    Implement REST support
-    fix subpackage support
-    fix package.info
-    fix PHP5 issue with visibility of Xmlrpc5 server contructor
-    add the ability to delete a package
</pre><pre class="diff" id="added">+    Consolidate post-install scripts
+    fix invalid release exception error message
</pre><pre class="diff" id="context">  &lt;/notes&gt;
  &lt;contents&gt;
   &lt;dir name="/" baseinstalldir="Chiara/PEAR"&gt;
</pre><pre class="diff"><small id="info">@@ -76,8 +73,6 @@
</small></pre><pre class="diff" id="context">     &lt;/dir&gt; &lt;!-- /Server/Backend --&gt;
     &lt;dir name="Frontend"&gt;
      &lt;file name="HTMLQuickForm.php" role="php" /&gt;
</pre><pre class="diff" id="removed">-     &lt;file name="Xmlrpc.php" role="php" /&gt;
-     &lt;file name="Xmlrpc5.php" role="php" /&gt;
</pre><pre class="diff" id="context">     &lt;/dir&gt; &lt;!-- /Server/Frontend --&gt;
     &lt;file name="Backend.php" role="php" /&gt;
     &lt;file name="Exception.php" role="php" /&gt;
</pre><pre class="diff"><small id="info">@@ -177,12 +172,6 @@
</small></pre><pre class="diff" id="context">         &lt;type&gt;string&lt;/type&gt;
        &lt;/param&gt;
        &lt;param&gt;
</pre><pre class="diff" id="removed">-        &lt;name&gt;xmlrpcphp&lt;/name&gt;
-        &lt;prompt&gt;name of xmlrpc.php public XML-RPC frontend file&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;xmlrpc.php&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
</pre><pre class="diff" id="context">         &lt;name&gt;frontendphp&lt;/name&gt;
         &lt;prompt&gt;name of frontend.php HTML admin frontend file&lt;/prompt&gt;
         &lt;type&gt;string&lt;/type&gt;
</pre><pre class="diff"><small id="info">@@ -209,58 +198,6 @@
</small></pre><pre class="diff" id="context">      &lt;tasks:replace from="@data-dir@" to="data_dir" type="pear-config"/&gt;
      &lt;tasks:replace from="@php-dir@" to="php_dir" type="pear-config"/&gt;
     &lt;/file&gt;
</pre><pre class="diff" id="removed">-    &lt;file name="restsetup.php" role="php"&gt;
-     &lt;tasks:postinstallscript&gt;
-      &lt;paramgroup&gt;
-       &lt;id&gt;questionCreate&lt;/id&gt;
-       &lt;param&gt;
-        &lt;name&gt;doit&lt;/name&gt;
-        &lt;prompt&gt;Enable REST for this server? (extremely scalable compared to XML-RPC)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;yes&lt;/default&gt;
-       &lt;/param&gt;
-      &lt;/paramgroup&gt;
-      &lt;paramgroup&gt;
-       &lt;id&gt;processExistingReleases&lt;/id&gt;
-       &lt;param&gt;
-        &lt;name&gt;database&lt;/name&gt;
-        &lt;prompt&gt;Mysql database&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;pear&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;user&lt;/name&gt;
-        &lt;prompt&gt;Mysql Username (must have create permision)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;pear&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;password&lt;/name&gt;
-        &lt;prompt&gt;Mysql password&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;pear&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;dbhost&lt;/name&gt;
-        &lt;prompt&gt;Database Host&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-        &lt;default&gt;localhost&lt;/default&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;name&lt;/name&gt;
-        &lt;prompt&gt;Channel Name (server uri like pear.php.net)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-       &lt;/param&gt;
-       &lt;param&gt;
-        &lt;name&gt;webroot&lt;/name&gt;
-        &lt;prompt&gt;Path to document root (htdocs or public_html)&lt;/prompt&gt;
-        &lt;type&gt;string&lt;/type&gt;
-       &lt;/param&gt;
-      &lt;/paramgroup&gt;
-     &lt;/tasks:postinstallscript&gt;
-     &lt;tasks:replace from="@data-dir@" to="data_dir" type="pear-config"/&gt;
-     &lt;tasks:replace from="@php-dir@" to="php_dir" type="pear-config"/&gt;
-    &lt;/file&gt;
</pre><pre class="diff" id="context">     &lt;file name="Release.php" role="php" /&gt;
    &lt;/dir&gt; &lt;!-- /Server --&gt;
    &lt;file name="Server.php" role="php" /&gt;
</pre><pre class="diff"><small id="info">@@ -284,10 +221,6 @@
</small></pre><pre class="diff" id="context">     &lt;channel&gt;pear.php.net&lt;/channel&gt;
     &lt;min&gt;3.2.2&lt;/min&gt;
    &lt;/package&gt;
</pre><pre class="diff" id="removed">-   &lt;package&gt;
-    &lt;name&gt;Chiara_XML_RPC5&lt;/name&gt;
-    &lt;channel&gt;pear.chiaraquartet.net&lt;/channel&gt;
-   &lt;/package&gt;
</pre><pre class="diff" id="context">   &lt;/required&gt;
   &lt;optional&gt;
    &lt;extension&gt;
</pre><pre class="diff"><small id="info">@@ -589,5 +522,21 @@
</small></pre><pre class="diff" id="context">     add the ability to delete a package
    &lt;/notes&gt;
   &lt;/release&gt;
</pre><pre class="diff" id="added">+  &lt;release&gt;
+   &lt;version&gt;
+    &lt;release&gt;0.18.1&lt;/release&gt;
+    &lt;api&gt;0.18.0&lt;/api&gt;
+   &lt;/version&gt;
+   &lt;stability&gt;
+    &lt;release&gt;alpha&lt;/release&gt;
+    &lt;api&gt;alpha&lt;/api&gt;
+   &lt;/stability&gt;
+   &lt;date&gt;2005-05-31&lt;/date&gt;
+   &lt;license uri="http://www.php.net/license"&gt;PHP License&lt;/license&gt;
+   &lt;notes&gt;
+    Consolidate post-install scripts
+    fix invalid release exception error message
+   &lt;/notes&gt;
+  &lt;/release&gt;
</pre><pre class="diff" id="context">  &lt;/changelog&gt;
 &lt;/package&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname"><a href="http://cvs.phpdoc.org/cvs.php/PEAR_Server">PEAR_Server</a>/<a href="http://cvs.phpdoc.org/cvs.php/PEAR_Server/Server">Server</a><br /></span>
<div class="fileheader"><big><b>Exception.php</b></big> <small id="info"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/Exception.php?r=1.9">1.9</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/Server/Exception.php?r1=1.9&r2=1.10">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/Exception.php?r=1.10">1.10</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.9 -r1.10
--- Exception.php        1 Jun 2005 02:55:03 -0000        1.9
+++ Exception.php        1 Jun 2005 03:31:47 -0000        1.10
@@ -239,7 +239,7 @@
</small></pre><pre class="diff" id="context">                 $info .= $err['message'];
             }
         } else {
</pre><pre class="diff" id="removed">-            $info = 'No further information available';
</pre><pre class="diff" id="added">+            $info = $packagefile-&gt;getMessage();
</pre><pre class="diff" id="context">         }
         $this-&gt;_data = array('info' =&gt; $info);
         parent::__construct($msg ? $msg : $this-&gt;_message);
</pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname"><a href="http://cvs.phpdoc.org/cvs.php/PEAR_Server">PEAR_Server</a>/<a href="http://cvs.phpdoc.org/cvs.php/PEAR_Server/Server">Server</a><br /></span>
<div class="fileheader"><big><b>mysqlinstall.php</b></big> <small id="info"><a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/mysqlinstall.php?r=1.15">1.15</a> <a href="http://cvs.phpdoc.org/diff.php/PEAR_Server/Server/mysqlinstall.php?r1=1.15&r2=1.16">-&gt;</a> <a href="http://cvs.phpdoc.org/co.php/PEAR_Server/Server/mysqlinstall.php?r=1.16">1.16</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.15 -r1.16
--- mysqlinstall.php        22 Apr 2005 02:31:14 -0000        1.15
+++ mysqlinstall.php        1 Jun 2005 03:31:47 -0000        1.16
@@ -468,6 +468,7 @@
</small></pre><pre class="diff" id="context">     function createServerFiles($answers)
     {
         $this-&gt;pearconfigloc = $answers['pearconfigloc'];
</pre><pre class="diff" id="added">+        $this-&gt;webroot = $answers['docroot'];
</pre><pre class="diff" id="context">         $options = &amp;PEAR::getStaticProperty('DB_DataObject','options');
         $type = extension_loaded('mysqli') ? 'mysqli' : 'mysql';
         $phpdir = str_replace('\\', '/', '@php-dir@');
</pre><pre class="diff"><small id="info">@@ -493,23 +494,19 @@
</small></pre><pre class="diff" id="context">         $chan-&gt;setName($dbo-&gt;channel);
         $chan-&gt;setSummary($dbo-&gt;summary);
         $chan-&gt;setAlias($dbo-&gt;alias);
</pre><pre class="diff" id="removed">-        $chan-&gt;setDefaultPEARProtocols();
</pre><pre class="diff" id="added">+        $chan-&gt;setBaseURL('REST1.0', 'http://' . $dbo-&gt;channel . '/Chiara_PEAR_Server_REST/');
</pre><pre class="diff" id="context">         if ($this-&gt;port != 80) {
             $chan-&gt;setPort($this-&gt;port);
         }
         if ($this-&gt;ssl) {
             $chan-&gt;setSSL();
         }
</pre><pre class="diff" id="removed">-        if ($this-&gt;xmlrpcphp != 'xmlrpc.php') {
-            $chan-&gt;setPath('xmlrpc', $this-&gt;xmlrpcphp);
-        }
</pre><pre class="diff" id="context">         if (!$this-&gt;_registry-&gt;channelExists($dbo-&gt;channel)) {
             $this-&gt;_registry-&gt;addChannel($chan);
         } else {
             $this-&gt;_registry-&gt;updateChannel($chan);
         }
         $xml = $chan-&gt;toXml();
</pre><pre class="diff" id="removed">-        $this-&gt;xmlrpcphp = $answers['xmlrpcphp'];
</pre><pre class="diff" id="context">         $this-&gt;ssl = ($answers['ssl'] == 'https');
         $this-&gt;port = $answers['port'];
         $this-&gt;frontend = $answers['frontendphp'];
</pre><pre class="diff"><small id="info">@@ -539,29 +536,6 @@
</small></pre><pre class="diff" id="context">         $config = 'array(\'database\'         =&gt; \'' .
             $type . '://' . $this-&gt;user . ':' . $this-&gt;password . '@' . $this-&gt;dbhost .
             '/' . $this-&gt;db . '\')';
</pre><pre class="diff" id="removed">-        $contents = '&lt;?php
-require_once \'Chiara/PEAR/Server.php\';
-require_once \'Chiara/PEAR/Server/Backend/DBDataObject.php\';
-require_once \'Chiara/PEAR/Server/Frontend/Xmlrpc5.php\';
-$backend = new Chiara_PEAR_Server_Backend_DBDataObject(\'' . $this-&gt;channel . '\', false, '
-         . $config . ');
-$frontend = Chiara_PEAR_Server_Frontend_Xmlrpc5::singleton(\'' . $this-&gt;channel . '\');
-$server = new Chiara_PEAR_Server(\'' . $answers['docroot'] . DIRECTORY_SEPARATOR . 'get' . '\');
-$server-&gt;setBackend($backend);
-$server-&gt;setFrontend($frontend);
-$server-&gt;run();
-?&gt;';
-        $fp = fopen($answers['docroot'] . DIRECTORY_SEPARATOR . $this-&gt;xmlrpcphp, 'w');
-        $a = fwrite($fp, $contents, strlen($contents));
-        fclose($fp);
-        if ($a) {
-            $this-&gt;_ui-&gt;outputData('Successfully created ' .
-                $answers['docroot'] . DIRECTORY_SEPARATOR . $this-&gt;xmlrpcphp);
-        } else {
-            $this-&gt;_ui-&gt;outputData('Could not create ' .
-                $answers['docroot'] . DIRECTORY_SEPARATOR . $this-&gt;xmlrpcphp);
-            return false;
-        }
</pre><pre class="diff" id="context"> 
         // create frontend.php
         $extraconf = '';
</pre><pre class="diff"><small id="info">@@ -617,7 +591,106 @@
</small></pre><pre class="diff" id="context">             $this-&gt;_ui-&gt;outputData(
                 $answers['docroot'] . DIRECTORY_SEPARATOR . 'pear_server.css already exists');
         }
</pre><pre class="diff" id="added">+        $this-&gt;goREST();
</pre><pre class="diff" id="context">         return true;
     }
</pre><pre class="diff" id="added">+
+    function goREST()
+    {
+        include_once 'System.php';
+        if (!class_exists('System')) {
+            $this-&gt;_ui-&gt;outputData('System class required to create REST files');
+            return false;
+        }
+        if (!file_exists($this-&gt;webroot)) {
+            System::mkdir(array('-p', $this-&gt;webroot));
+        }
+        $restroot = $this-&gt;webroot .  DIRECTORY_SEPARATOR . 'Chiara_PEAR_Server_REST';
+        if (!file_exists($restroot)) {
+            System::mkdir($restroot);
+            @chmod($this-&gt;webroot . DIRECTORY_SEPARATOR . 'Chiara_PEAR_Server_REST', 0777);
+        }
+        require_once 'Chiara/PEAR/Server/Backend/DBDataObject.php';
+        $options = &amp;PEAR::getStaticProperty('DB_DataObject','options');
+        $type = extension_loaded('mysqli') ? 'mysqli' : 'mysql';
+        $phpdir = str_replace('\\', '/', 'C:\php5\pear');
+        $datadir = str_replace('\\', '/', 'C:\php5\pear\data');
+        $options = array(
+            'database'         =&gt; $type . '://' . $this-&gt;user . ':' . $this-&gt;password .
+                '@' . $this-&gt;dbhost . '/' . $this-&gt;db,
+            'schema_location'  =&gt; $datadir . '/Chiara_PEAR_Server/data/DBDataObject',
+            'class_location'   =&gt; $phpdir . '/Chiara/PEAR/Server/Backend/DBDataObject/',
+            'require_prefix'   =&gt; 'Chiara/PEAR/Server/Backend/DBDataObject/',
+            'class_prefix'     =&gt; 'Chiara_PEAR_Server_Backend_DBDataObject_',
+        );
+        $this-&gt;_ui-&gt;outputData('Enabling REST for channel ' . $this-&gt;channel);
+        $chan = DB_DataObject::factory('channels');
+        $chan-&gt;channel = $this-&gt;channel;
+        if (!$chan-&gt;find(false)) {
+            $this-&gt;ui-&gt;outputData('Unknown channel: ' . $this-&gt;channel);
+            return false;
+        }
+        $chan-&gt;rest_support = 1;
+        $chan-&gt;update();
+        $this-&gt;_ui-&gt;outputData('Adding REST 1.0 to channel.xml');
+        $chan = $this-&gt;_registry-&gt;getChannel($this-&gt;channel);
+        if (is_a($chan, 'PEAR_ChannelFile')) {
+            $chan-&gt;setBaseURL('REST1.0', 'http://' . $this-&gt;channel . '/Chiara_PEAR_Server_REST/');
+            $this-&gt;_registry-&gt;updateChannel($chan);
+            file_put_contents($this-&gt;webroot . DIRECTORY_SEPARATOR . 'channel.xml',
+                $chan-&gt;toXml());
+        } else {
+            $this-&gt;_ui-&gt;outputData('Channel is not registered in local channel database');
+            return false;
+        }
+        $channelinfo = parse_url($this-&gt;channel);
+        $backend = new Chiara_PEAR_Server_Backend_DBDataObject($this-&gt;channel, $restroot, $options);
+        // package information directory
+        if (!file_exists($pdir = $restroot . DIRECTORY_SEPARATOR . 'p')) {
+            System::mkdir(array('-p', $restroot . DIRECTORY_SEPARATOR . 'p'));
+            @chmod($pdir, 0777);
+        }
+        // category information directory
+        if (!file_exists($cdir = $restroot . DIRECTORY_SEPARATOR . 'c')) {
+            System::mkdir(array('-p', $cdir));
+            @chmod($cdir, 0777);
+        }
+        // release listing directory
+        if (!file_exists($rdir = $restroot . DIRECTORY_SEPARATOR . 'r')) {
+            System::mkdir(array('-p', $rdir));
+            @chmod($rdir, 0777);
+        }
+        $categories = $backend-&gt;listCategories();
+        $this-&gt;_ui-&gt;outputData('Saving Categories REST');
+        foreach ($categories as $category) {
+            $this-&gt;_ui-&gt;outputData('  Category ' . $category['name']);
+            $backend-&gt;saveCategoryREST($category['name']);
+        }
+        $this-&gt;_ui-&gt;outputData('Saving Maintainer REST');
+        $maintainers = $backend-&gt;listMaintainers();
+        foreach ($maintainers as $maintainer) {
+            $this-&gt;_ui-&gt;outputData(  'Maintainer ' . $maintainer-&gt;handle);
+            $backend-&gt;saveMaintainerREST($maintainer);
+        }
+        $this-&gt;_ui-&gt;outputData('Saving Package REST');
+        $backend-&gt;saveAllPackagesREST();
+        $packages = $backend-&gt;listPackages(false, false, false);
+        foreach ($packages as $package) {
+            $this-&gt;_ui-&gt;outputData('  Package ' . $package['package']);
+            $backend-&gt;savePackageREST($package['package']);
+            $backend-&gt;savePackageMaintainersREST($package['package']);
+            $releases = $backend-&gt;listReleases($package['package']);
+            if (count($releases)) {
+                $backend-&gt;saveAllReleasesREST($package['package']);
+                foreach ($releases as $version =&gt; $release) {
+                    $this-&gt;_ui-&gt;outputData('     Version ' . $version);
+                    $backend-&gt;saveReleaseREST($package['package'], $version);
+                    $backend-&gt;savePackageDepsREST($package['package'], $version,
+                        $backend-&gt;getPackageFileObject($package['package'],
+                        $version)-&gt;getDependencies());
+                }
+            }
+        }
+    }
</pre><pre class="diff" id="context"> }
 ?&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
</body></html><pre>