Changes between Version 9 and Version 10 of PendingTicketPlugin


Ignore:
Timestamp:
May 5, 2016, 3:26:02 AM (8 years ago)
Author:
Ryan J Ollos
Comment:

Remove information about obsolete Trac version.

Legend:

Unmodified
Added
Removed
Modified
  • PendingTicketPlugin

    v9 v10  
    2828
    2929== Installation
    30 
    31 === For Trac 0.11 or 1.0
    3230
    3331If upgrading from Trac 0.10, you will need to convert the data using the `migrate_pending_attrib_to_status.py /path/to/tracenv` script which is included.
     
    7270}}}
    7371
    74 === For Trac 0.10
    75 
    76 Add a custom ticket field to your `trac.ini` file:
    77 {{{#!ini
    78 [ticket-custom]
    79 pending = checkbox
    80 pending.label = Pending
    81 pending.value = 0
    82 }}}
    83 
    84 If you're using the SimpleTicketPlugin, you may want to hide it:
    85 {{{#!ini
    86 [simpleticket]
    87 hide = pending
    88 }}}
    89 
    90 Install the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds:
    91 {{{#!sh
    92 <CHECKOUT THE SOURCE AND GO TO THE 0.10/removependingplugin DIRECTORY>
    93 setup.py bdist_egg
    94 cp dist/RemovePendingStatusPlugin-x-y-z-py2.4.egg $TRAC_ENV/plugins
    95 }}}
    96 
    97 You will also need to enable the Plugin in your `trac.ini` file:
    98 
    99 {{{#!ini
    100 [components]
    101 removepending.* = enabled
    102 }}}
    103 
    104 To enable the automatic closing of tickets, you will need to set up a script to be run by cron. Example:
    105 
    106 {{{#!sh
    107 #! /bin/bash
    108 
    109 TRAC_ENV=/somewhere/trac/project
    110 SCRIPT_DIR=$TRAC_ENV/localscripts
    111 LOGFILE=$SCRIPT_DIR/close_old_pending.log
    112 TRAC_URL=http://trac.mysite.com/project
    113 
    114 date >> $LOGFILE
    115 
    116 python $SCRIPT_DIR/close_old_pending.py -p $TRAC_ENV -d 14 -s $TRAC_URL >> $LOGFILE 2>&1
    117 }}}
    118 
    11972== Recent Changes
    12073