cvs: pearweb / package.php package.xml /include/bugs pear-bugs.php /public_html package-info.php

From: Date: Sat, 10 Feb 2007 20:14:16 +0000
Subject: cvs: pearweb / package.php package.xml /include/bugs pear-bugs.php /public_html package-info.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5398@lists.php.net to get a copy of this message
cellog Sat Feb 10 20:14:16 2007 UTC Modified files: /pearweb package.php package.xml /pearweb/include/bugs pear-bugs.php /pearweb/public_html package-info.php Log: * implement Request #9543: Change the bug summary, add total http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.76&r2=1.77&diff_format=u Index: pearweb/package.php diff -u pearweb/package.php:1.76 pearweb/package.php:1.77 --- pearweb/package.php:1.76 Sat Feb 10 06:16:30 2007 +++ pearweb/package.php Sat Feb 10 20:14:15 2007 @@ -15,11 +15,11 @@ 'tests/', ), )); -$a->setReleaseVersion('1.3.0'); +$a->setReleaseVersion('1.4.0'); $a->setReleaseStability('stable'); $a->setAPIStability('stable'); $a->setNotes(' -* remove the phars, release as package pearweb_phars +* implement Request #9543: Change the bug summary, add total '); $a->resetUsesrole(); $a->addUsesRole('web', 'Role_Web', 'pearified.com'); http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.108&r2=1.109&diff_format=u Index: pearweb/package.xml diff -u pearweb/package.xml:1.108 pearweb/package.xml:1.109 --- pearweb/package.xml:1.108 Sat Feb 10 06:16:30 2007 +++ pearweb/package.xml Sat Feb 10 20:14:16 2007 @@ -53,9 +53,9 @@ <active>no</active> </developer> <date>2007-02-10</date> - <time>00:13:06</time> + <time>14:13:59</time> <version> - <release>1.3.0</release> + <release>1.4.0</release> <api>0.1.1</api> </version> <stability> @@ -64,7 +64,7 @@ </stability> <license uri="http://www.php.net/license">PHP License</license> <notes> -* remove the phars, release as package pearweb_phars +* implement Request #9543: Change the bug summary, add total </notes> <contents> <dir baseinstalldir="/" name="/"> @@ -553,6 +553,7 @@ <file name="weeklynews-2003.tar.gz" role="web" /> </dir> <!-- /weeklynews --> <file name="generateREST.php" role="web" /> + <file name="package-phars.xml" role="web" /> <file name="pearweb.php" role="php"> <tasks:postinstallscript> <tasks:paramgroup> @@ -1242,8 +1243,21 @@ </stability> <date>2007-02-10</date> <license uri="http://www.php.net/license">PHP License</license> + <notes>* remove the phars, release as package pearweb_phars</notes> + </release> + <release> + <version> + <release>1.4.0</release> + <api>0.1.1</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <date>2007-02-10</date> + <license uri="http://www.php.net/license">PHP License</license> <notes> -* remove the phars, release as package pearweb_phars +* implement Request #9543: Change the bug summary, add total </notes> </release> </changelog> http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bugs.php?r1=1.5&r2=1.6&diff_format=u Index: pearweb/include/bugs/pear-bugs.php diff -u pearweb/include/bugs/pear-bugs.php:1.5 pearweb/include/bugs/pear-bugs.php:1.6 --- pearweb/include/bugs/pear-bugs.php:1.5 Sun Dec 17 21:56:04 2006 +++ pearweb/include/bugs/pear-bugs.php Sat Feb 10 20:14:16 2007 @@ -25,7 +25,10 @@ status IN ("Open","Feedback","Assigned","Analyzed","Verified","Critical") AND bug_type IN ("Bug","Documentation Problem") ', array($packageid), DB_FETCHMODE_ASSOC); - return $info[0]; + $total = $this->_dbh->getOne(' + SELECT COUNT(bugdb.id) FROM bugdb WHERE bugdb.package_name=? + ', array($packageid)); + return array_merge($info[0], array('total' => $total)); } function bugRank() http://cvs.php.net/viewvc.cgi/pearweb/public_html/package-info.php?r1=1.127&r2=1.128&diff_format=u Index: pearweb/public_html/package-info.php diff -u pearweb/public_html/package-info.php:1.127 pearweb/public_html/package-info.php:1.128 --- pearweb/public_html/package-info.php:1.127 Sat Feb 10 05:49:12 2007 +++ pearweb/public_html/package-info.php Sat Feb 10 20:14:16 2007 @@ -16,7 +16,7 @@ | Authors: Martin Jansen <mj@php.net> | | Tomas V.V.Cox <cox@idecnet.com> | +----------------------------------------------------------------------+ - $Id: package-info.php,v 1.127 2007/02/10 05:49:12 cellog Exp $ + $Id: package-info.php,v 1.128 2007/02/10 20:14:16 cellog Exp $ */ @@ -322,7 +322,7 @@ } print '<li>Number of <a href="/bugs/search.php?cmd=display&package_name[]=' . $pkg['name'] . '&status=OpenFeedback&bug_type=Bugs">open bugs</a>: <strong>' . - $buginfo['count'] . '</strong></li>'; + $buginfo['count'] . ' (' . $buginfo['total'] . ' total bugs)</strong></li>'; print '<li>Average age of open bugs: <strong>' . round($buginfo['average']) . ' days</strong></li>'; print '<li>Oldest open bug: <strong>' . $buginfo['oldest'] . ' days</strong></li>'; print '</ul>';

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