cvs: pearweb / package.php package.xml /public_html/bugs/include functions.inc

From: Date: Sun, 18 Feb 2007 03:50:25 +0000
Subject: cvs: pearweb / package.php package.xml /public_html/bugs/include functions.inc
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5443@lists.php.net to get a copy of this message
cellog Sun Feb 18 03:50:25 2007 UTC Modified files: /pearweb package.php package.xml /pearweb/public_html/bugs/include functions.inc Log: * fix Bug #10115: if you don\'t maintain a bug, and are assigned, no update emails http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.84&r2=1.85&diff_format=u Index: pearweb/package.php diff -u pearweb/package.php:1.84 pearweb/package.php:1.85 --- pearweb/package.php:1.84 Sat Feb 17 23:22:37 2007 +++ pearweb/package.php Sun Feb 18 03:50:25 2007 @@ -15,11 +15,12 @@ 'tests/', ), )); -$a->setReleaseVersion('1.5.0RC1'); -$a->setReleaseStability('beta'); +$a->setReleaseVersion('1.5.0'); +$a->setReleaseStability('stable'); $a->setAPIStability('stable'); $a->setNotes(' * implement initial roadmap support for packages +* fix Bug #10115: if you don\'t maintain a bug, and are assigned, no update emails '); $a->resetUsesrole(); $a->addUsesRole('web', 'Role_Web', 'pearified.com'); @@ -40,6 +41,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_PackageUpdate', 'pear.php.net'); //$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'); http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.117&r2=1.118&diff_format=u Index: pearweb/package.xml diff -u pearweb/package.xml:1.117 pearweb/package.xml:1.118 --- pearweb/package.xml:1.117 Sat Feb 17 23:30:07 2007 +++ pearweb/package.xml Sun Feb 18 03:50:25 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<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"> +<package packagerversion="1.5.1" 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> @@ -53,18 +53,19 @@ <active>no</active> </developer> <date>2007-02-17</date> - <time>17:29:44</time> + <time>21:50:34</time> <version> - <release>1.5.0RC1</release> + <release>1.5.0</release> <api>0.1.1</api> </version> <stability> - <release>beta</release> + <release>stable</release> <api>stable</api> </stability> <license uri="http://www.php.net/license">PHP License</license> <notes> * implement initial roadmap support for packages +* fix Bug #10115: if you don&apos;t maintain a bug, and are assigned, no update emails </notes> <contents> <dir baseinstalldir="/" name="/"> @@ -1332,8 +1333,22 @@ </stability> <date>2007-02-17</date> <license uri="http://www.php.net/license">PHP License</license> + <notes>* implement initial roadmap support for packages</notes> + </release> + <release> + <version> + <release>1.5.0</release> + <api>0.1.1</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <date>2007-02-17</date> + <license uri="http://www.php.net/license">PHP License</license> <notes> * implement initial roadmap support for packages +* fix Bug #10115: if you don&apos;t maintain a bug, and are assigned, no update emails </notes> </release> </changelog> http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/include/functions.inc?r1=1.119&r2=1.120&diff_format=u Index: pearweb/public_html/bugs/include/functions.inc diff -u pearweb/public_html/bugs/include/functions.inc:1.119 pearweb/public_html/bugs/include/functions.inc:1.120 --- pearweb/public_html/bugs/include/functions.inc:1.119 Sat Feb 17 23:22:37 2007 +++ pearweb/public_html/bugs/include/functions.inc Sun Feb 18 03:50:25 2007 @@ -15,7 +15,7 @@ * @package Bugs * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: functions.inc,v 1.119 2007/02/17 23:22:37 cellog Exp $ + * @version $Id: functions.inc,v 1.120 2007/02/18 03:50:25 cellog Exp $ */ @@ -1021,11 +1021,11 @@ } /** - * Produces an array of eamil addresses the report should go to + * Produces an array of email addresses the report should go to * * @param string $package_name the package's name * - * @return array an array of eamil addresses + * @return array an array of email addresses */ function get_package_mail($package_name, $bug_id=false) { @@ -1056,6 +1056,14 @@ if ($bug_id) { $bug_id = (int)$bug_id; + $assigned = $dbh->getOne('SELECT assign FROM bugdb WHERE id=' . $bug_id); + if ($assigned) { + $assigned = $dbh->getOne('SELECT email FROM users WHERE handle="' . $assigned . '"'); + if ($assigned && !in_array($to, $assigned)) { + // assigned is not a maintainer + $to[] = $assigned; + } + } $bcc = $dbh->getCol('SELECT email FROM bugdb_subscribe WHERE bug_id=' . $bug_id); $bcc = array_diff($bcc, $to); $bcc = array_unique($bcc);

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