Changes between Version 8 and Version 9 of PendingTicketPlugin
- Timestamp:
- Nov 6, 2015, 2:46:14 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PendingTicketPlugin
v8 v9 15 15 16 16 If you have any issues, create a 17 [ http://trac-hacks.org/newticket?component=PendingTicketPlugin&owner=datallahnew ticket].17 [/newticket?component=PendingTicketPlugin new ticket]. 18 18 19 19 [[TicketQuery(component=PendingTicketPlugin&group=type,format=progress)]] … … 21 21 == Download 22 22 23 Download the zipped source from [ download:pendingticketplugin here].23 Download the zipped source from [export:pendingticketplugin here]. 24 24 25 25 == Source 26 26 27 You can check out PendingTicketPlugin from [ http://trac-hacks.org/svn/pendingticketplugin here] using Subversion, or [source:pendingticketplugin browse the source] with Trac.27 You can check out PendingTicketPlugin from [/svn/pendingticketplugin here] using Subversion, or [source:pendingticketplugin browse the source] with Trac. 28 28 29 29 == Installation … … 33 33 If 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. 34 34 35 Set up your ticket workflow to include a 'pending' status, for example: 36 {{{ 37 #!ini 35 Set up your ticket workflow to include a 'pending' status, for example in your `trac.ini` file: 36 {{{#!ini 38 37 [ticket-workflow] 39 38 pending = new -> pending … … 42 41 43 42 Specify a status for tickets that it needs to be moved to: 44 {{{ 45 #!ini 43 {{{#!ini 46 44 [ticket] 47 45 pending_removal_status = new … … 49 47 50 48 Install the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds: 51 {{{ 52 #!sh 49 {{{#!sh 53 50 <CHECKOUT THE SOURCE AND GO TO THE ../removependingplugin DIRECTORY> 54 51 setup.py bdist_egg … … 57 54 58 55 You will also need to enable the Plugin in your `trac.ini` file: 59 {{{ 60 #!ini 56 {{{#!ini 61 57 [components] 62 58 removepending.* = enabled 63 59 }}} 64 60 65 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]] 66 {{{ 67 #!sh 61 To enable the automatic closing of tickets, you'll need to set up a script to be run by cron. Mine looks like this: 62 {{{#!sh 68 63 #! /bin/bash 69 64 … … 80 75 81 76 Add a custom ticket field to your `trac.ini` file: 82 {{{ 83 #!ini 77 {{{#!ini 84 78 [ticket-custom] 85 79 pending = checkbox … … 89 83 90 84 If you're using the SimpleTicketPlugin, you may want to hide it: 91 {{{ 92 #!ini 85 {{{#!ini 93 86 [simpleticket] 94 87 hide = pending … … 96 89 97 90 Install the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds: 98 {{{ 99 #!sh 91 {{{#!sh 100 92 <CHECKOUT THE SOURCE AND GO TO THE 0.10/removependingplugin DIRECTORY> 101 93 setup.py bdist_egg … … 105 97 You will also need to enable the Plugin in your `trac.ini` file: 106 98 107 {{{ 108 #!ini 99 {{{#!ini 109 100 [components] 110 101 removepending.* = enabled … … 113 104 To enable the automatic closing of tickets, you will need to set up a script to be run by cron. Example: 114 105 115 {{{ 116 #!sh 106 {{{#!sh 117 107 #! /bin/bash 118 108