wiki:TracGenericWorkflowPlugin

Version 6 (modified by Roberto Longobardi, 13 years ago) (diff)

--

Trac Generic Workflow

Description

Allows for adding workflow support to any Trac Resource. Provides a framework and API to add workflow capabilities to your plugins.

This plugin is part of the Test Manager for Trac plugin, and is released inside its package, but it can also be deployed and used separately.

Refer to the TestManagerForTracPlugin and TestManagerForTracPluginWorkflow pages for details on how to add custom workflow capabilities to your plugin.

Example

This is a sample content of the trac.ini file to associate a workflow to the Test Case object.

The workflow is shown in the following figure:



A sample workflow for a test resource
Sample workflow for Test Cases

  [testcase-resource_workflow]
  sleep = new -> asleep
  sleep.permissions = TEST_MODIFY

  sing = new -> singing
  sing.permissions = TEST_MODIFY
  sing.operations = sample_operation

  calmdown = singing -> calm
  calmdown.permissions = TEST_MODIFY

  kill = asleep,calm -> dead
  kill.permissions = TICKET_MODIFY



Bugs/Feature Requests

Existing bugs and feature requests for TracGenericWorkflowPlugin are here.

If you have any issues, create a new ticket.



Download

Download the egg files, ready to be installed, from the project site here.



Source

You can download the source code from here.



Example

Refer to the TestManagerForTracPlugin and TestManagerForTracPluginWorkflow pages for details on how to add custom workflow capabilities to your plugin.



Recent Changes

9405 by seccanj on 2010-11-09 17:08:24
New hack TracGenericWorkflowPlugin, created by seccanj
(more)



Author/Contributors

Author: seccanj
Maintainer: seccanj
Contributors:

Attachments (1)

Download all attachments as: .zip