Changes between Version 1 and Version 2 of PendingTicketPlugin
- Timestamp:
- May 3, 2007, 6:31:24 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PendingTicketPlugin
v1 v2 39 39 }}} 40 40 41 Install and enable the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds. 41 Install the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds. 42 {{{ 43 <CHECKOUT THE SOURCE AND GO TO THE 0.10/removependingplugin DIRECTORY> 44 setup.py bdist_egg 45 cp dist/RemovePendingStatusPlugin-x-y-z-py2.4.egg $TRAC_ENV/plugins 46 }}} 47 You'll also need to enable the Plugin in your `trac.ini` file: 48 {{{ 49 [components] 50 removepending.* = enabled 51 }}} 42 52 43 To enable the automatic closing of tickets, you'll need to set up a cron task:[[BR]] 44 `TODO ADD THIS` 53 To enable the automatic closing of tickets, you'll need to set up a script to be run by cron. Mine looks like this:[[BR]] 54 {{{ 55 #! /bin/bash 45 56 57 TRAC_ENV=/somewhere/trac/project 58 SCRIPT_DIR=$TRAC_ENV/localscripts 59 LOGFILE=$SCRIPT_DIR/close_old_pending.log 60 TRAC_URL=http://trac.mysite.com/project 61 62 date >> $LOGFILE 63 64 python $SCRIPT_DIR/close_old_pending.py -p $TRAC_ENV -d 14 -s $TRAC_URL >> $LOGFILE 2>&1 65 }}} 46 66 47 67