Changes between Version 27 and Version 28 of SumStatsPlugin
- Timestamp:
- Nov 19, 2015, 11:15:41 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SumStatsPlugin
v27 v28 27 27 == Download 28 28 29 Download the zipped source from [ download:sumstatsplugin here].29 Download the zipped source from [export:sumstatsplugin here]. 30 30 31 31 == Source 32 32 33 You can check out SumStatsPlugin from [ http://trac-hacks.org/svn/sumstatsplugin here] using Subversion, or [source:sumstatsplugin browse the source] with Trac.33 You can check out SumStatsPlugin from [/svn/sumstatsplugin here] using Subversion, or [source:sumstatsplugin browse the source] with Trac. 34 34 35 35 == Installation and Configuration … … 37 37 1. Install the plugin, after downloading and unzipping: 38 38 {{{#!sh 39 40 41 39 cd sumstatsplugin/0.12 40 sudo python setup.py install 41 }}} 42 42 43 43 See [http://trac.edgewall.org/wiki/TracPlugins TracPlugins] for more installation details and options. You will likely need to restart Trac's web server after installation. … … 45 45 2. Enable the plugin in your `trac.ini` file: 46 46 {{{#!ini 47 48 49 47 [components] 48 sumstats.* = enabled 49 }}} 50 50 51 51 You can alternatively use the Trac Web Admin GUI. … … 53 53 3. Replace the {{{DefaultTicketGroupStatsProvider}}} with this plugin's new {{{SumTicketGroupStatsProvider}}} in `trac.ini`: 54 54 {{{#!ini 55 [roadmap] 56 stats_provider = SumTicketGroupStatsProvider 57 58 [milestone] 59 stats_provider = SumTicketGroupStatsProvider 60 }}} 55 [roadmap] 56 stats_provider = SumTicketGroupStatsProvider 61 57 62 4. (Optional) Configure the main {{{sumstats}}} section in `trac.ini`:: 58 [milestone] 59 stats_provider = SumTicketGroupStatsProvider 60 }}} 61 62 4. (Optional) Configure the main {{{sumstats}}} section in `trac.ini`: 63 63 {{{#!ini 64 65 66 67 68 69 70 64 [sumstats] 65 field = effort 66 label = effort 67 drilldown_label = Ticket effort 68 filter = type!=epic 69 query_args = col=summary,col=type,col=effort 70 }}} 71 71 72 72 The optional {{{field}}} option specifies which field to sum. The optional {{{drilldown_label}}} and {{{label}}} options are used to define the {{{TicketGroupStats}}} object. The optional {{{filter}}} is a list of additional global filters for all groups (if specified it's currently limited to standard fields only). The optional {{{query_args}}} is a convenient, comma-delimited list that gets appended to each group's {{{query_args}}}. See the examples below for more details. … … 108 108 }}} 109 109 110 This plugin maintains the same syntax and semantics as the {{{DefaultTicketGroupStatsProvider}}} to support backwards compatibility and ease of transition. If the {{{.field}}} option is omitted, then the {{{status}}} field is presumed. Note that a {{{.color}}} option is required for each group (except for any default {{{closed}}} or {{{new}}} group you have). The "catch all" {{{*}}} value is also s till supported, although there are currently no checks for duplicate "catch all" or otherwise redundant group definitions.110 This plugin maintains the same syntax and semantics as the {{{DefaultTicketGroupStatsProvider}}} to support backwards compatibility and ease of transition. If the {{{.field}}} option is omitted, then the {{{status}}} field is presumed. Note that a {{{.color}}} option is required for each group (except for any default {{{closed}}} or {{{new}}} group you have). The "catch all" {{{*}}} value is also supported, although there are currently no checks for duplicate "catch all" or otherwise redundant group definitions. 111 111 112 112 === Burndown chart data source … … 126 126 `http://<your-trac-domain>/sumstats/query` 127 127 128 The above request returns a data table (in JSON response format) of up to fourcolumns:128 The above request returns a data table (in JSON response format) of up to 4 columns: 129 129 130 130 * {{{day}}} - the day