Changes between Version 37 and Version 38 of AnalyzePlugin
- Timestamp:
- May 15, 2013, 9:11:22 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AnalyzePlugin
v37 v38 19 19 1. Install the plugin (after downloading and unzipping): 20 20 {{{ 21 #!sh 21 22 cd analyzeplugin/0.12 22 23 sudo python setup.py bdist_egg … … 28 29 2. Enable the plugin: 29 30 {{{ 31 #!sh 30 32 [components] 31 33 analyze.* = enabled … … 73 75 To enable this analysis for a given report, list those reports in {{{trac.ini}}} as follows: 74 76 {{{ 77 #!ini 75 78 [analyze] 76 79 milestone_reports = 1,9 … … 86 89 This analysis detects when a ticket in a given report has a dependency (a {{{blockedby}}} ticket) whose {{{position}}} comes after this ticket's (or has no {{{position}}} yet at all, or is not in the correct queue). To enable this analysis for a given report, list those reports in {{{trac.ini}}} as follows: 87 90 {{{ 91 #!ini 88 92 [analyze] 89 93 queue_reports = 2,9 … … 93 97 The {{{queue_fields}}} (optional) above tells this analysis what fields (if any) define (i.e., segment) a queue. Queues can be defined by zero or more fields such as the {{{milestone}}} field, a custom {{{queue}}} field, both or other fields. If you have different reports using different definitions, you can define report-specific queue field definitions as follows: 94 98 {{{ 99 #!ini 95 100 [analyze] 96 101 queue_fields.9 = queue … … 99 104 In this example, report 2 uses both {{{queue}}} and {{{milestone}}} fields to define a queue whereas report 9 uses only the {{{queue}}} field. You may also specify additional filters to skip tickets with certain field values (pipe-delimited): 100 105 {{{ 106 #!ini 101 107 [analyze] 102 108 queue_fields.9 = queue,type!=epic,phase!=verifying|releasing … … 114 120 This analysis will enforce that the child tickets (usually found in a separate work queue report) are ordered relative to one another in the same general order as the parent/project tickets. To enable this analysis for a given report, list those reports in {{{trac.ini}}} as follows: 115 121 {{{ 122 #!ini 116 123 [analyze] 117 124 project_reports = 19 … … 125 132 The default behavior of an analysis is to refresh the current report if any fixes were made. This is so that changes can be viewed (assuming they would change the content of the report). In the case of the Project Queue Analysis, you would usually also need another report refreshed - i.e., the impacted work queue. Use the {{{refresh_report}}} option to specify this impacted work queue which will also get refreshed at the end of this analysis if there were any fixes. You can add params to the report as well if needed: 126 133 {{{ 134 #!ini 127 135 [analyze] 128 136 refresh_report = 9?max=1000 … … 140 148 To enable this analysis for reports, list those reports in {{{trac.ini}}} as follows: 141 149 {{{ 150 #!ini 142 151 [analyze] 143 152 rollup_reports = 1,2,3,9 … … 156 165 All but {{{pivot}}} apply to numeric fields, and all but {{{sum}}} apply to select option fields. Here are several examples of specifying a stat for different fields: 157 166 {{{ 167 #!ini 158 168 [analyze] 159 169 rollup.effort = sum