Table of Contents

It's a draft that needs to be completed…

Introduction

This package has been created to send email reminders to the manager (to remember them to assign unassigned bugs) and to the developper (to resolve their assigned bugs). This page describes how to install and configure the reminder package.

Installation

Configuration

Debug features

$g_reminder_email_debug = OFF;
$g_reminder_email_debug_address = "name@domain.com";

Theses variables are used to debug the reminder package if you have some issues with it. To turn on the debug feature, you must set to ON the $g_reminder_email_debug variable and specify an email address (in the $g_reminder_email_debug_address) where all email will be sent.

Unresolved reminders

$g_first_remind = 15;
$g_second_remind = 30;

Theses variables configure the reminder sent to the developers about the unresolved bugs (but assigned). An email is sent to the developer if (one of the following statements is true):

Example with the default values:

Unassigned reminders

$g_first_assign_remind = 7;
$g_second_assign_remind = 14;

Theses variables configure the reminder sent to the managers about the unassigned bugs (see Unresolved reminders).

Activation

$g_reminder_enable = ON;
$g_excepted_date[] = array( 
			    array( 'wday' => 0 ),
                            array( 'wday' => 6 ),
			    array( 'mday' => 1, 'mon' => 1 ),
			    array( 'mday' => 1, 'mon' => 5 ),
			    array( 'mday' => 8, 'mon' => 5 ),
			    array( 'mday' => 14, 'mon' => 7 ),
			    array( 'mday' => 15, 'mon' => 8 ),
			    array( 'mday' => 1, 'mon' => 11 ),
			    array( 'mday' => 11, 'mon' => 11 ), 
			    array( 'mday' => 25, 'mon' => 12 ),
			    array( 'mday' => 28, 'mon' => 3, 'year' => 2005 ) );
$g_excepted_user[] = array(
			    'administrator' => array( 'year' => 2005 ) );
$g_excepted_bug = array();

Execution/Scheluded task

To send the reminder you need to browse the reminder.php page in your browser (no HTML output will be generated) or execute the PHP client with the command: php /installation/directory/reminder.php.

You can create a scheduled task to do this job automaticaly each days.

Feel free to add your own comment ;-)