cvs: pearweb / package.php package.xml /public_html/bugs bug.php

From: Date: Sun, 17 Dec 2006 18:17:23 +0000
Subject: cvs: pearweb / package.php package.xml /public_html/bugs bug.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5278@lists.php.net to get a copy of this message
cellog Sun Dec 17 18:17:23 2006 UTC Modified files: /pearweb package.php package.xml /pearweb/public_html/bugs bug.php Log: auto-assign to developer when a developer marks a bug closed http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.40&r2=1.41&diff_format=u Index: pearweb/package.php diff -u pearweb/package.php:1.40 pearweb/package.php:1.41 --- pearweb/package.php:1.40 Sat Dec 16 05:54:26 2006 +++ pearweb/package.php Sun Dec 17 18:17:23 2006 @@ -19,6 +19,7 @@ $a->setAPIStability('stable'); $a->setNotes(' * add statistics for developers\' bug activity + * auto-assign to developer when a developer marks a bug closed '); $a->resetUsesrole(); $a->addUsesRole('web', 'Role_Web', 'pearified.com'); http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.74&r2=1.75&diff_format=u Index: pearweb/package.xml diff -u pearweb/package.xml:1.74 pearweb/package.xml:1.75 --- pearweb/package.xml:1.74 Sat Dec 16 23:07:43 2006 +++ pearweb/package.xml Sun Dec 17 18:17:23 2006 @@ -52,8 +52,8 @@ <email>dufuz@php.net</email> <active>no</active> </developer> - <date>2006-12-16</date> - <time>17:05:27</time> + <date>2006-12-17</date> + <time>12:17:09</time> <version> <release>1.1.0</release> <api>0.1.1</api> @@ -65,6 +65,7 @@ <license uri="http://www.php.net/license">PHP License</license> <notes> * add statistics for developers&apos; bug activity + * auto-assign to developer when a developer marks a bug closed </notes> <contents> <dir baseinstalldir="/" name="/"> @@ -971,10 +972,11 @@ <release>stable</release> <api>stable</api> </stability> - <date>2006-12-16</date> + <date>2006-12-17</date> <license uri="http://www.php.net/license">PHP License</license> <notes> * add statistics for developers&apos; bug activity + * auto-assign to developer when a developer marks a bug closed </notes> </release> </changelog> http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.108&r2=1.109&diff_format=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.108 pearweb/public_html/bugs/bug.php:1.109 --- pearweb/public_html/bugs/bug.php:1.108 Mon Sep 18 16:08:38 2006 +++ pearweb/public_html/bugs/bug.php Sun Dec 17 18:17:23 2006 @@ -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: bug.php,v 1.108 2006/09/18 16:08:38 cellog Exp $ + * @version $Id: bug.php,v 1.109 2006/12/17 18:17:23 cellog Exp $ */ /* @@ -364,6 +364,9 @@ $status = $_POST['in']['status']; } + if ($status == 'Closed' && $_POST['in']['assign'] == '') { + $_POST['in']['assign'] = $auth_user->handle; + } $query .= " sdesc='" . escapeSQL($_POST['in']['sdesc']) . "'," . " status='" . escapeSQL($status) . "'," . " package_name='" . escapeSQL($_POST['in']['package_name']) . "'," .

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