cvs: pearweb / package.php package.xml /include pear-database.php
| From: | Greg Beaver | Date: | Sat, 03 Feb 2007 00:36:25 +0000 |
| Subject: | cvs: pearweb / package.php package.xml /include pear-database.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5379@lists.php.net to get a copy of this message | ||
cellog Sat Feb 3 00:36:25 2007 UTC
Modified files:
/pearweb package.php package.xml
/pearweb/include pear-database.php
Log:
don't generate API docs for the pearweb package, no point and it kills the server
http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.68&r2=1.69&diff_format=u
Index: pearweb/package.php
diff -u pearweb/package.php:1.68 pearweb/package.php:1.69
--- pearweb/package.php:1.68 Sat Feb 3 00:28:17 2007
+++ pearweb/package.php Sat Feb 3 00:36:25 2007
@@ -19,6 +19,7 @@
$a->setAPIStability('stable');
$a->setNotes('
* fix Bug #10009: Two errors on developer map
+* do not generate API docs for the pearweb package
');
$a->resetUsesrole();
$a->addUsesRole('web', 'Role_Web', 'pearified.com');
http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.100&r2=1.101&diff_format=u
Index: pearweb/package.xml
diff -u pearweb/package.xml:1.100 pearweb/package.xml:1.101
--- pearweb/package.xml:1.100 Sat Feb 3 00:28:17 2007
+++ pearweb/package.xml Sat Feb 3 00:36:25 2007
@@ -53,7 +53,7 @@
<active>no</active>
</developer>
<date>2007-02-02</date>
- <time>18:28:50</time>
+ <time>18:37:02</time>
<version>
<release>1.2.3</release>
<api>0.1.1</api>
@@ -65,6 +65,7 @@
<license uri="http://www.php.net/license">PHP
License</license>
<notes>
* fix Bug #10009: Two errors on developer map
+* do not generate API docs for the pearweb package
</notes>
<contents>
<dir baseinstalldir="/" name="/">
@@ -1204,6 +1205,7 @@
<license uri="http://www.php.net/license">PHP
License</license>
<notes>
* fix Bug #10009: Two errors on developer map
+* do not generate API docs for the pearweb package
</notes>
</release>
</changelog>
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-database.php?r1=1.328&r2=1.329&diff_format=u
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.328 pearweb/include/pear-database.php:1.329
--- pearweb/include/pear-database.php:1.328 Sat Jan 13 16:30:06 2007
+++ pearweb/include/pear-database.php Sat Feb 3 00:36:25 2007
@@ -18,7 +18,7 @@
| Martin Jansen <mj@php.net> |
| Gregory Beaver <cellog@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.328 2007/01/13 16:30:06 mj Exp $
+ $Id: pear-database.php,v 1.329 2007/02/03 00:36:25 cellog Exp $
*/
require_once 'DB/storage.php';
@@ -1933,16 +1933,18 @@
}
}
- // Add release archive file to API documentation queue
- $query = "INSERT INTO apidoc_queue (filename, queued) "
- . "VALUES ('" . $file. "', NOW())";
-
- /*
- * Don't abort the release if something goes wrong.
- */
- $dbh->pushErrorHandling(PEAR_ERROR_RETURN);
- $sth = $dbh->query($query);
- $dbh->popErrorHandling();
+ if (package::info($package, 'name') != 'pearweb') {
+ // Add release archive file to API documentation queue
+ $query = "INSERT INTO apidoc_queue (filename, queued) "
+ . "VALUES ('" . $file. "', NOW())";
+
+ /*
+ * Don't abort the release if something goes wrong.
+ */
+ $dbh->pushErrorHandling(PEAR_ERROR_RETURN);
+ $sth = $dbh->query($query);
+ $dbh->popErrorHandling();
+ }
// Update Cache
include_once 'xmlrpc-cache.php';