Changes between Version 2 and Version 3 of ValuePropagationPlugin
- Timestamp:
- Nov 1, 2010, 7:49:11 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValuePropagationPlugin
v2 v3 75 75 You can check out ValuePropagationPlugin from [http://trac-hacks.org/svn/valuepropagationplugin here] using Subversion, or [source:valuepropagationplugin browse the source] with Trac. 76 76 77 == Installation == 78 79 1. Download the source and run: 80 {{{ 81 python setup.py bdist_egg 82 }}} 83 84 2. Install it in one of the following ways: 85 {{{ 86 cp dist/*.egg path/to/trac/env/plugins 87 }}} 88 {{{ 89 easy_install dist/*.egg 90 }}} 91 92 3. Enable the plugin in {{{trac.ini}}} as follows: 93 {{{ 94 [components] 95 valuepropagation.* = enabled 96 }}} 97 77 98 == Example == 78 99 79 100 [value_propagation] 101 # Update based on a field in the ticket 102 r1.type = link 103 # Find other ticket IDs in "parents" field (from Subtickets) 104 r1.link = parents 105 # Update estimatedhours and hour (from Timing and Estimation) 80 106 r1.fields = estimatedhours, hours 81 r1.link = parents 107 # Both fields roll up to parent by summing child values. 82 108 r1.method.estimatedhours = sum 83 109 r1.method.hours = sum 84 r1.type = link85 110 86 111