cvs: pearweb / package.php package.xml /include/package releasehelper.php /public_html index.php package-info.php release-upload.php
/public_html/news index.php package.xml.1.0.php

From: Date: Thu, 01 Feb 2007 04:16:15 +0000
Subject: cvs: pearweb / package.php package.xml /include/package releasehelper.php /public_html index.php package-info.php release-upload.php
/public_html/news index.php package.xml.1.0.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5366@lists.php.net to get a copy of this message
cellog Thu Feb 1 04:16:15 2007 UTC Added files: /pearweb/include/package releasehelper.php /pearweb/public_html/news package.xml.1.0.php Modified files: /pearweb package.php package.xml /pearweb/public_html index.php package-info.php release-upload.php /pearweb/public_html/news index.php Log: prepare for major update - no more package.xml 1.0-based releases. make the homepage sexier, cleaner, and clearer add news item about deprecation of PEAR 1.3.6 and earlier and, finally, xml-rpc is byebye as of 2008

http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.60&r2=1.61&diff_format=u Index: pearweb/package.php diff -u pearweb/package.php:1.60 pearweb/package.php:1.61 --- pearweb/package.php:1.60 Wed Jan 24 00:54:10 2007 +++ pearweb/package.php Thu Feb 1 04:16:15 2007 @@ -14,11 +14,14 @@ 'tests/', ), )); -$a->setReleaseVersion('1.1.8'); -$a->setReleaseStability('stable'); +$a->setReleaseVersion('1.2.0RC1'); +$a->setReleaseStability('beta'); $a->setAPIStability('stable'); $a->setNotes(' -* fix go-pear to work with PEAR 1.5.0 +* add helpful hints on next package versions to package homepages +* add vivid warning for packages using package.xml 1.0 +* officially deprecate package.xml 1.0 on the homepage +* dis-allow uploading of package.xml 1.0-based packages in release-upload.php '); $a->resetUsesrole(); $a->addUsesRole('web', 'Role_Web', 'pearified.com'); @@ -36,6 +39,7 @@ $a->addPackageDepWithChannel('required', 'HTML_Form', 'pear.php.net', '1.3.0'); $a->addPackageDepWithChannel('required', 'HTML_Table', 'pear.php.net', '1.5'); $a->addPackageDepWithChannel('required', 'Pager', 'pear.php.net', '2.2.0'); +$a->addPackageDepWithChannel('required', 'PEAR_PackageFileManager', 'pear.php.net', '1.6.0'); $a->addPackageDepWithChannel('required', 'Net_URL', 'pear.php.net', '1.0.14'); $a->addPackageDepWithChannel('required', 'HTTP_Upload', 'pear.php.net', '0.8.1'); $a->addPackageDepWithChannel('required', 'MDB2_Schema', 'pear.php.net', '0.6.0'); http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.92&r2=1.93&diff_format=u Index: pearweb/package.xml diff -u pearweb/package.xml:1.92 pearweb/package.xml:1.93 --- pearweb/package.xml:1.92 Wed Jan 24 00:54:10 2007 +++ pearweb/package.xml Thu Feb 1 04:16:15 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<package packagerversion="1.5.0RC3" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> +<package packagerversion="1.5.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> <name>pearweb</name> <channel>pear.php.net</channel> <summary>The source code for the PEAR website</summary> @@ -52,19 +52,22 @@ <email>dufuz@php.net</email> <active>no</active> </developer> - <date>2007-01-23</date> - <time>18:54:34</time> + <date>2007-01-31</date> + <time>19:01:58</time> <version> - <release>1.1.8</release> + <release>1.2.0RC1</release> <api>0.1.1</api> </version> <stability> - <release>stable</release> + <release>beta</release> <api>stable</api> </stability> <license uri="http://www.php.net/license">PHP License</license> <notes> -* fix go-pear to work with PEAR 1.5.0 +* add helpful hints on next package versions to package homepages +* add vivid warning for packages using package.xml 1.0 +* officially deprecate package.xml 1.0 on the homepage +* dis-allow uploading of package.xml 1.0-based packages in release-upload.php </notes> <contents> <dir baseinstalldir="/" name="/"> @@ -142,6 +145,9 @@ <file name="jpgraph_scatter.php" role="web" /> <file name="jpgraph_spider.php" role="web" /> </dir> <!-- /include/jpgraph --> + <dir name="package"> + <file name="releasehelper.php" role="web" /> + </dir> <!-- /include/package --> <dir name="pepr"> <file name="HTML_BBCodeParser_Filter_Extended.php" role="web" /> <file name="pepr-emails.php" role="web" /> @@ -374,6 +380,7 @@ <file name="meeting-2003-summary.php" role="web" /> <file name="meeting-2003.php" role="web" /> <file name="nm-guide.php" role="web" /> + <file name="package.xml.1.0.php" role="web" /> <file name="pecl-split.php" role="web" /> <file name="pepr.php" role="web" /> <file name="release-1.0.php" role="web" /> @@ -701,6 +708,11 @@ <min>2.2.0</min> </package> <package> + <name>PEAR_PackageFileManager</name> + <channel>pear.php.net</channel> + <min>1.6.0</min> + </package> + <package> <name>Net_URL</name> <channel>pear.php.net</channel> <min>1.0.14</min> @@ -1102,8 +1114,24 @@ </stability> <date>2007-01-23</date> <license uri="http://www.php.net/license">PHP License</license> + <notes>* fix go-pear to work with PEAR 1.5.0</notes> + </release> + <release> + <version> + <release>1.2.0RC1</release> + <api>0.1.1</api> + </version> + <stability> + <release>beta</release> + <api>stable</api> + </stability> + <date>2007-01-31</date> + <license uri="http://www.php.net/license">PHP License</license> <notes> -* fix go-pear to work with PEAR 1.5.0 +* add helpful hints on next package versions to package homepages +* add vivid warning for packages using package.xml 1.0 +* officially deprecate package.xml 1.0 on the homepage +* dis-allow uploading of package.xml 1.0-based packages in release-upload.php </notes> </release> </changelog> http://cvs.php.net/viewvc.cgi/pearweb/public_html/index.php?r1=1.121&r2=1.122&diff_format=u Index: pearweb/public_html/index.php diff -u pearweb/public_html/index.php:1.121 pearweb/public_html/index.php:1.122 --- pearweb/public_html/index.php:1.121 Sat Oct 21 00:20:13 2006 +++ pearweb/public_html/index.php Thu Feb 1 04:16:15 2007 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.121 2006/10/21 00:20:13 cellog Exp $ + $Id: index.php,v 1.122 2007/02/01 04:16:15 cellog Exp $ */ $recent = release::getRecent(5); @@ -60,31 +60,34 @@ <h1>PEAR - PHP Extension and Application Repository</h1> -<h2>About PEAR</h2> +<h2>&raquo; Hot off the Press</h2> +<p><strong>[February 1, 2007]</strong> As of January 1, 2008, PEAR will be dropping +support for PEAR versions 1.3.6 and earlier. If you are using PEAR 1.3.6 or earlier, +we <strong>strongly</strong> encourage you to upgrade using these simple steps: +<code> +<pre> +pear upgrade --force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2 +pear upgrade --force PEAR-1.4.11 +pear upgrade PEAR +</pre> +</code> +The full story on what has changed, and what will change is <a href="/news/package.xml.1.0.php">here</a>.</p> +<h2>&raquo; Users</h2> +<div class="indent"> <p><acronym title="PHP Extension and Application Repository">PEAR</acronym> is a framework and distribution system for reusable PHP -components. More <b>information</b> about PEAR can be found in the +components. You can find help using PEAR packages in the <a href="/manual/en/">online manual</a> and the <a href="/manual/en/faq.php">FAQ</a>.</p> - -<p>If you are a first time user, you might be especially interested in -the manual chapter &quot;<a href="/manual/en/about-pear.php">About PEAR</a>&quot;.</p> - -<p>Recent <b>news</b> about PEAR can be found <a href="/news/">here</a>.</p> - -<p>PEAR provides the above mentioned PHP components in the form of so -called &quot;Packages&quot;. If you would like to <b>download</b> PEAR -packages, you can <a href="/packages.php">browse the complete list</a> -here. Alternatively you can search for packages by some keywords -using the search box above. Apart from simply downloading a package, -PEAR also provides a command-line interface that can be used to -automatically <b>install</b> packages. The manual <a href="/manual/en/installation.cli.php"> -describes this procedure</a> in detail.</p> - -<p>In case you need <b>support</b> for PEAR in general or a package -in special, we have compiled a list of the <a href="/support/">available -support resources</a>.</p> +<?php +echo menu_link('Download Packages', '/packages.php'); +echo menu_link('Support', '/support'); +echo menu_link('Installation Help', '/manual/en/installation.cli.php'); +echo menu_link('About PEAR', '/manual/en/about-pear.php'); +echo menu_link('News', '/news/'); +?> +</div> <?php echo hdelim(); http://cvs.php.net/viewvc.cgi/pearweb/public_html/package-info.php?r1=1.124&r2=1.125&diff_format=u Index: pearweb/public_html/package-info.php diff -u pearweb/public_html/package-info.php:1.124 pearweb/public_html/package-info.php:1.125 --- pearweb/public_html/package-info.php:1.124 Thu Dec 21 21:18:45 2006 +++ pearweb/public_html/package-info.php Thu Feb 1 04:16:15 2007 @@ -16,7 +16,7 @@ | Authors: Martin Jansen <mj@php.net> | | Tomas V.V.Cox <cox@idecnet.com> | +----------------------------------------------------------------------+ - $Id: package-info.php,v 1.124 2006/12/21 21:18:45 cellog Exp $ + $Id: package-info.php,v 1.125 2007/02/01 04:16:15 cellog Exp $ */ @@ -322,10 +322,77 @@ print '</td>'; print '</tr>'; print '<tr>'; - print '<th colspan="2" class="headrow">&raquo; Description</th>'; + if (isset($auth_user)) { + print '<th class="headrow">&raquo; Description</th>'; + print '<th class="headrow">&raquo; Package.xml suggestions (for developers)</th>'; + } else { + print '<th colspan="2" class="headrow">&raquo; Description</th>'; + } print '</tr>'; print '<tr>'; - print '<td colspan="2" class="textcell">' . nl2br(htmlspecialchars($description)) . '</td>'; + if (isset($auth_user)) { + require 'package/releasehelper.php'; + $helper = new package_releasehelper($pkg['name']); + print '<td class="textcell">' . nl2br(htmlspecialchars($description)) . '</td>'; + print '<td class="textcell">'; + print '<ul>'; + if (!$helper->hasReleases()) { + print ' <li>First release should be version <strong>0.1.0</strong>, stability <strong>alpha</strong>'; + print ' </li>'; + } else { + $bugfix = $helper->getNextBugfixVersion(); + $newfeatures = $helper->getNewFeatureVersion(); + if ($helper->nextCanBeStable()) { + print ' <li>'; + print ' Next Bugfix release should be: <strong>' . $bugfix[0] . '</strong>, stability ' . + '<strong>' . $bugfix[1] . '</strong>'; + print ' </li>'; + print ' <li>'; + if ($helper->lastWasReleaseCandidate()) { + print ' Next Stable release should be: <strong>'; + } else { + print ' Next New Feature release should be: <strong>'; + } + print $newfeatures[0] . + '</strong>, stability <strong>' . $newfeatures[1] . '</strong>'; + print ' </li>'; + } else { + print ' <li>'; + print ' Next Bugfix release should be: <strong>' . $bugfix[0] . '</strong>, stability ' . + '<strong>' . $bugfix[1] . '</strong>'; + print ' </li>'; + $beta = $helper->getNextBetaRelease(); + if ($beta) { + print ' <li>'; + print ' Next Stable API release should be: <strong>'; + print $beta[0] . + '</strong>, stability <strong>' . $beta[1] . '</strong>'; + print ' </li>'; + } + if ($helper->canAddFeatures()) { + print ' <li>'; + print ' Next New Feature release should be: <strong>'; + print $newfeatures[0] . + '</strong>, stability <strong>' . $newfeatures[1] . '</strong>'; + print ' </li>'; + } + } + } + if ($helper->hasOldPackagexml()) { + print ' <li>'; + print ' <strong><blink>WARNING</blink>: the last release of this package used '; + print ' package.xml version 1.0</strong>, which is deprecated.'; + print ' To use package.xml version 2.0, run &quot;pear convert&quot;'; + print ' to create package2.xml. '; + print ' Both package.xml and package2.xml may be used together, or you may '; + print ' choose to replace package.xml with package2.xml for the next release.'; + print ' </li>'; + } + print '</ul>'; + print '</td>'; + } else { + print '<td colspan="2" class="textcell">' . nl2br(htmlspecialchars($description)) . '</td>'; + } print '</tr>'; print '<tr>'; http://cvs.php.net/viewvc.cgi/pearweb/public_html/release-upload.php?r1=1.75&r2=1.76&diff_format=u Index: pearweb/public_html/release-upload.php diff -u pearweb/public_html/release-upload.php:1.75 pearweb/public_html/release-upload.php:1.76 --- pearweb/public_html/release-upload.php:1.75 Tue Oct 31 21:22:43 2006 +++ pearweb/public_html/release-upload.php Thu Feb 1 04:16:15 2007 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: release-upload.php,v 1.75 2006/10/31 21:22:43 cellog Exp $ + $Id: release-upload.php,v 1.76 2007/02/01 04:16:15 cellog Exp $ */ auth_require('pear.dev'); @@ -288,6 +288,10 @@ if (isset($filelist['package2.xml'])) { $warnings[] = 'package2.xml should not be present in package.xml, installation may fail'; } + if ($info->getPackageXmlVersion() == '1.0') { + $errors[] = 'Only packages using package.xml version 2.0 or newer may be' . + ' released - use the "pear convert" command to create a new package.xml'; + } } if ($info->getChannel() != PEAR_CHANNELNAME) { $errors[] = 'Only channel ' . PEAR_CHANNELNAME . http://cvs.php.net/viewvc.cgi/pearweb/public_html/news/index.php?r1=1.16&r2=1.17&diff_format=u Index: pearweb/public_html/news/index.php diff -u pearweb/public_html/news/index.php:1.16 pearweb/public_html/news/index.php:1.17 --- pearweb/public_html/news/index.php:1.16 Wed Dec 7 18:26:21 2005 +++ pearweb/public_html/news/index.php Thu Feb 1 04:16:15 2007 @@ -15,13 +15,17 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.16 2005/12/07 18:26:21 mj Exp $ + $Id: index.php,v 1.17 2007/02/01 04:16:15 cellog Exp $ */ response_header('News'); echo "<h1>PEAR News</h1>\n"; +echo '<h2>&raquo; <a name="yr2007" id="yr2007">Year 2007</a></h2>' . "\n"; +echo "<ul>\n"; +echo ' <li>' . make_link('package.xml1.0.php', 'Innovating the future: Package.xml 1.0 and PEAR 1.3.6 are officially deprecated') . " (January)</li>\n"; +echo "</ul>\n"; echo '<h2>&raquo; <a name="yr2005" id="yr2005">Year 2005</a></h2>' . "\n"; echo "<ul>\n"; echo ' <li>' . make_link('vulnerability.php', 'Serious vulnerability in the PEAR installer') . " (November)</li>\n"; http://cvs.php.net/viewvc.cgi/pearweb/include/package/releasehelper.php?view=markup&rev=1.1 Index: pearweb/include/package/releasehelper.php +++ pearweb/include/package/releasehelper.php <?php require_once 'PEAR/PackageFileManager2.php'; class package_releasehelper { var $_dbh; var $_info; var $_states = array(); var $_lastversion; var $_laststate; var $_lastid; var $_pkgid; function package_releasehelper($package) { $this->_dbh = &$GLOBALS['dbh']; $this->_info = package::info($package, 'releases'); $this->_pkgid = package::info($package, 'id'); if (is_array($this->_info) && $this->_info) { foreach ($this->_info as $ver => $release) { if (!isset($this->_lastversion)) { $this->_lastversion = $ver; $this->_laststate = $release['state']; $this->_lastid = $release['id']; } $this->_states[$release['state']] = 1; } } } function hasOldPackagexml() { if (!isset($this->_lastid)) { return false; } $info = $this->_dbh->getOne('SELECT packagexml FROM files WHERE release="' . $this->_lastid . '" AND package="' . $this->_pkgid . '"', array()); return !preg_match('/<package[^>]+version\s*=\s*"2.0"/', $info); } function hasReleases() { return (bool) $this->_info; } function nextCanBeStable() { if ($this->_laststate == 'stable') { return true; } if ($this->_laststate == 'beta') { if (strpos($this->_lastversion, 'RC')) { return true; } } return false; } function canAddFeatures() { if ($this->_laststate == 'beta') { return false; } return true; } function lastWasReleaseCandidate() { return (bool) strpos($this->_lastversion, 'RC'); } function getNextBugfixVersion() { $version = explode('.', $this->_lastversion); $last = array_pop($version); if (!$version[0]) { if (isset($version[1]) && !$version[1]) { return array('0.1.0', $this->_laststate); } } if (count($version) == 1) { return array($version[0] . '.' . $last . '.1', $this->_laststate); } if (strpos($last, 'RC') !== false) { // release candidate if (!$version[0]) { return array('1.0.0RC1', 'beta'); } if (preg_match('/RC([1-9][0-9]?)/', $last, $numbah)) { $last = str_replace($numbah[0], 'RC' . ($numbah[1] + 1), $last); return array(implode('.', $version) . $last, 'beta'); } else { // crap version number "X.Y.ZRC", convert to good one "X.Y.ZRC1" return array(implode('.', $version) . 'RC1', 'beta'); } } if (strpos($last, 'a') !== false) { // alpha version if (preg_match('/a(?:lpha)?([1-9][0-9]?)?/', $last, $numbah)) { if (!$version[0]) { // no need for 0.3.4a1 or any of that junk return array(implode('.', $version) . '.' . (str_replace($numbah[0], '', $last) + 1), $this->_laststate); } if (strlen($numbah[1])) { $last = str_replace($numbah[0], 'a' . ($numbah[1] + 1), $last); return array(implode('.', $version) . '.' . $last, 'alpha'); } else { return array(implode('.', $version) . '.a2', 'alpha'); } } } if (strpos($last, 'b') !== false) { // beta version if (preg_match('/b(?:eta)?([1-9][0-9]?)/', $last, $numbah)) { if (!$version[0]) { // no need for 0.3.4b1 or any of that junk return array(implode('.', $version) . '.' . (str_replace($numbah[0], '', $last) + 1), $this->_laststate); } if (strlen($numbah[1])) { $last = str_replace($numbah[0], 'b' . ($numbah[1] + 1), $last); return array(implode('.', $version) . '.' . $last, 'beta'); } else { return array(implode('.', $version) . '.b' . $last, 'beta'); } } } return array(implode('.', $version) . '.' . ($last + 1), $this->_laststate); } function getNextBetaRelease() { $version = explode('.', $this->_lastversion); $last = array_pop($version); if ($this->_laststate != 'alpha' && $this->_laststate != 'beta') { return false; } if (!$version[0]) { $newfeature = $this->getNewFeatureVersion(); return array($newfeature[0] . ' or 1.0.0RC1', 'beta'); } return array($version[0] . '.' . $version[1] . '.0RC1', 'beta'); } function getNewFeatureVersion() { if (strpos($this->_lastversion, 'RC')) { return array(preg_replace('/RC.*$/', '', $version, 'stable')); } $version = explode('.', $this->_lastversion); $last = array_pop($version); if (strpos($last, 'a') !== false) { if (!$version[0]) { // no need for 0.3.4a1 or any of that junk return array(implode('.', $version) . '.' . (str_replace($numbah[0], '', $last) + 1), 'alpha'); } // alpha version if (preg_match('/a(?:lpha)?([1-9][0-9]?)?/', $last, $numbah)) { if (strlen($numbah[1])) { $last = str_replace($numbah[0], 'a' . ($numbah[1] + 1), $last); return array(implode('.', $version) . '.' . $last, 'alpha'); } else { return array(implode('.', $version) . '.a2', 'alpha'); } } } if (strpos($last, 'b') !== false) { if (!$version[0]) { // no need for 0.3.4b1 or any of that junk return array(implode('.', $version) . '.' . (str_replace($numbah[0], '', $last) + 1), 'alpha'); } // beta version if (preg_match('/b(?:eta)?([1-9][0-9]?)/', $last, $numbah)) { if (strlen($numbah[1])) { $last = str_replace($numbah[0], 'b' . ($numbah[1] + 1), $last); return array(implode('.', $version) . '.' . $last, 'beta'); } else { return array(implode('.', $version) . '.b' . $last, 'beta'); } } } $version = explode('.', $this->_lastversion); if ($this->_laststate == 'stable') { return array($version[0] . '.' . ($version[1] + 1) . '.0a1', 'alpha'); } if (!$version[0]) { return array($version[0] . '.' . ($version[1] + 1) . '.0', 'alpha'); } } } http://cvs.php.net/viewvc.cgi/pearweb/public_html/news/package.xml.1.0.php?view=markup&rev=1.1 Index: pearweb/public_html/news/package.xml.1.0.php +++ pearweb/public_html/news/package.xml.1.0.php <?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2007 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 2.02 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available at through the world-wide-web at | | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Gregory Beaver <cellog@php.net> | +----------------------------------------------------------------------+ $Id: package.xml.1.0.php,v 1.1 2007/02/01 04:16:15 cellog Exp $ */ response_header("Innovating the future: Package.xml 1.0 and PEAR 1.3.6 are officially deprecated"); ?> <h1>Innovating the future: Package.xml 1.0, and PEAR 1.3.6 are officially deprecated</h1> <div style="margin-left:2em;margin-right:2em"> <p> If you are using PEAR 1.3.6 or older, you will no longer be able to install or upgrade packages as of January 1, 2008. On this day, the XML-RPC server at pear.php.net will be shut down, to be permanently replaced by the newer, more scalable REST interface that was introduced with PEAR version 1.4.0. Users who upgrade to PEAR 1.5.0 or the latest stable version of PEAR will be unaffected by this change, and will not notice any difference. For assistance upgrading <a href="http://pear.php.net/PEAR">PEAR</a> to the latest version, or for other installation-related questions or concerns, please send an email message to the pear-general mailing list at <a href="mailto:pear-general@lists.php.net">pear-general@lists.php.net</a>. </p> <p> Although most people will not have difficulty, for some systems, upgrading from ancient versions of PEAR can be tricky. If you are running a version of PEAR older than 1.4.0, follow these simple steps: </p> <p> <kbd> <pre> pear upgrade --force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2 pear upgrade PEAR-1.4.3 pear upgrade --force PEAR-1.4.11 pear upgrade PEAR </pre> </kbd> </p> <p> Those who have PEAR versions 1.4.0 to 1.4.3 should simply skip the first line that upgrades to PEAR version 1.3.6. Users who are using the web frontend would probably benefit the most from a clean start - download go-pear from <a href="http://pear.php.net/go-pear">http://pear.php.net/go-pear</a>, save as <kbd>go-pear.php</kbd> and re-install PEAR from scratch, overwriting your existing installation. Instructions are in a comment at the top of the file, or you can read them directly off of the http://pear.php.net/go-pear website. </p> <p> Effective February 1, 2007, the release uploader at pear.php.net will no longer accept packages created using only package.xml 1.0. This affects developers who are authoring and releasing PEAR packages, not end users who wish to install PEAR packages. This only affects packages released after February 1, 2007, and will not be &quot;grandfathered&quot; to existing releases. </p> <p> To maintain compatibility with PEAR 1.3.6 and earlier, package releases may be created with both a package.xml (version 1.0) and a package2.xml (version 2.0) using this command: </p> <p> <kbd> <pre> pear package package.xml package2.xml </pre> </kbd> </p> <p> To create a package.xml version 2.0 from an existing package.xml version 1.0, simply run the <code>pear convert</code> command in the same directory as your package.xml. Please email the <a href="mailto:pear-dev@lists.php.net">pear-dev</a> mailing list for support with this process. </p> </div> <?php response_footer(); ?>
« previous php.pear.core (#5366) next »