cvs: pearweb / package.php package.xml /public_html release-upload.php

From: Date: Tue, 31 Oct 2006 21:22:43 +0000
Subject: cvs: pearweb / package.php package.xml /public_html release-upload.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5144@lists.php.net to get a copy of this message
cellog Tue Oct 31 21:22:43 2006 UTC Modified files: /pearweb package.php package.xml /pearweb/public_html release-upload.php Log: fix Bug #8842 package.xml package name need not match case and must http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.17&r2=1.18&diff_format=u Index: pearweb/package.php diff -u pearweb/package.php:1.17 pearweb/package.php:1.18 --- pearweb/package.php:1.17 Tue Oct 31 03:37:27 2006 +++ pearweb/package.php Tue Oct 31 21:22:43 2006 @@ -21,6 +21,7 @@ * fix REST generation for deprecated packages/channels * fix REST generation of packagesinfo.xml for categories * fix Bug #5340: User details are overescaped + * fix Bug #8842: package.xml package name need not match case and must '); $a->resetUsesrole(); $a->addUsesRole('web', 'Role_Web', 'pearified.com'); http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.45&r2=1.46&diff_format=u Index: pearweb/package.xml diff -u pearweb/package.xml:1.45 pearweb/package.xml:1.46 --- pearweb/package.xml:1.45 Tue Oct 31 03:39:27 2006 +++ pearweb/package.xml Tue Oct 31 21:22:43 2006 @@ -52,8 +52,8 @@ <email>dufuz@php.net</email> <active>no</active> </developer> - <date>2006-10-30</date> - <time>22:37:07</time> + <date>2006-10-31</date> + <time>16:22:08</time> <version> <release>1.0.0RC2</release> <api>0.1.1</api> @@ -67,6 +67,7 @@ * fix REST generation for deprecated packages/channels * fix REST generation of packagesinfo.xml for categories * fix Bug #5340: User details are overescaped + * fix Bug #8842: package.xml package name need not match case and must </notes> <contents> <dir baseinstalldir="/" name="/"> @@ -865,12 +866,13 @@ <release>beta</release> <api>stable</api> </stability> - <date>2006-10-30</date> + <date>2006-10-31</date> <license uri="http://www.php.net/license">PHP License</license> <notes> * fix REST generation for deprecated packages/channels * fix REST generation of packagesinfo.xml for categories * fix Bug #5340: User details are overescaped + * fix Bug #8842: package.xml package name need not match case and must </notes> </release> </changelog> http://cvs.php.net/viewvc.cgi/pearweb/public_html/release-upload.php?r1=1.74&r2=1.75&diff_format=u Index: pearweb/public_html/release-upload.php diff -u pearweb/public_html/release-upload.php:1.74 pearweb/public_html/release-upload.php:1.75 --- pearweb/public_html/release-upload.php:1.74 Wed Oct 18 19:46:06 2006 +++ pearweb/public_html/release-upload.php Tue Oct 31 21:22:43 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: release-upload.php,v 1.74 2006/10/18 19:46:06 cellog Exp $ + $Id: release-upload.php,v 1.75 2006/10/31 21:22:43 cellog Exp $ */ auth_require('pear.dev'); @@ -252,6 +252,14 @@ $errors[] = $info->getMessage(); } else { $id = package::info($info->getPackage(), 'id'); + $name = package::info($info->getPackage(), 'name'); + if ($info->getPackage() != $name) { + // case does not match + $errors[] = 'Package name in package.xml "' . + htmlspecialchars($info->getPackage()) . + '" MUST match exactly package name on the website "' . + htmlspecialchars($name) . '"'; + } $version = $info->getVersion(); $verinfo = explode('.', $version); if (count($verinfo) != 3) {

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