Changes between Version 2 and Version 3 of ValuePropagationPlugin


Ignore:
Timestamp:
Nov 1, 2010, 7:49:11 PM (13 years ago)
Author:
Chris Nelson
Comment:

Added instlation instructions

Legend:

Unmodified
Added
Removed
Modified
  • ValuePropagationPlugin

    v2 v3  
    7575You can check out ValuePropagationPlugin from [http://trac-hacks.org/svn/valuepropagationplugin here] using Subversion, or [source:valuepropagationplugin browse the source] with Trac.
    7676
     77== Installation ==
     78
     79 1. Download the source and run:
     80{{{
     81python setup.py bdist_egg
     82}}}
     83
     84 2. Install it in one of the following ways:
     85{{{
     86cp dist/*.egg path/to/trac/env/plugins
     87}}}
     88{{{
     89easy_install dist/*.egg
     90}}}
     91
     92 3. Enable the plugin in {{{trac.ini}}} as follows:
     93{{{
     94[components]
     95valuepropagation.* = enabled
     96}}}
     97
    7798== Example ==
    7899
    79100[value_propagation]
     101# Update based on a field in the ticket
     102r1.type = link
     103# Find other ticket IDs in "parents" field (from Subtickets)
     104r1.link = parents
     105# Update estimatedhours and hour (from Timing and Estimation)
    80106r1.fields = estimatedhours, hours
    81 r1.link = parents
     107# Both fields roll up to parent by summing child values.
    82108r1.method.estimatedhours = sum
    83109r1.method.hours = sum
    84 r1.type = link
    85110
    86111