Edgewall Software

Changes between Version 1 and Version 2 of 1.0/TracWorkflow


Ignore:
Timestamp:
Jul 18, 2019, 8:31:11 PM (2 months ago)
Author:
Ryan J Ollos
Comment:

Use proper branch for link to source.

Legend:

Unmodified
Added
Removed
Modified
  • 1.0/TracWorkflow

    v1 v2  
    5656== Additional Ticket Workflows
    5757
    58 There are example workflows provided in the Trac source tree, see [trac:source:trunk/contrib/workflow contrib/workflow] for `.ini` config sections. One of those may be a good match for what you want. They can be pasted into the `[ticket-workflow]` section of your `trac.ini` file. However, if you have existing tickets then there may be issues if those tickets have states that are not in the new workflow.
     58There are example workflows provided in the Trac source tree, see [trac:source:branches/1.0-stable/contrib/workflow contrib/workflow] for `.ini` config sections. One of those may be a good match for what you want. They can be pasted into the `[ticket-workflow]` section of your `trac.ini` file. However, if you have existing tickets then there may be issues if those tickets have states that are not in the new workflow.
    5959
    6060Here are some [trac:WorkFlow/Examples diagrams] of the above examples.
     
    172172=== How to combine the `tracopt.ticket.commit_updater` with the testing workflow
    173173
    174 The [[trac:source:trunk/tracopt/ticket/commit_updater.py|tracopt.ticket.commit_updater]] is the optional component that [[TracRepositoryAdmin#trac-post-commit-hook|replaces the old trac-post-commit-hook]], in Trac 0.12.
     174The [[trac:source:branches/1.0-stable/tracopt/ticket/commit_updater.py|tracopt.ticket.commit_updater]] is the optional component that [[TracRepositoryAdmin#trac-post-commit-hook|replaces the old trac-post-commit-hook]], in Trac 0.12.
    175175
    176176By default it reacts on some keywords found in changeset message logs like ''close'', ''fix'' etc. and performs the corresponding workflow action.
     
    255255== Advanced Ticket Workflow Customization
    256256
    257 If the customizations above do not meet your needs, you can extend the workflow with plugins. Plugins can provide additional operations for the workflow, like code_review, or implement side-effects for an action, such as triggering a build, that may not be merely simple state changes. Look at [trac:source:trunk/sample-plugins/workflow sample-plugins/workflow] for a few examples to get started.
     257If the customizations above do not meet your needs, you can extend the workflow with plugins. Plugins can provide additional operations for the workflow, like code_review, or implement side-effects for an action, such as triggering a build, that may not be merely simple state changes. Look at [trac:source:branches/1.0-stable/sample-plugins/workflow sample-plugins/workflow] for a few examples to get started.
    258258
    259259But if even that is not enough, you can disable the !ConfigurableTicketWorkflow component and create a plugin that completely replaces it.