1 | # -*- coding: utf-8 -*- |
---|
2 | [inherit] |
---|
3 | file = /etc/trac/trac.ini |
---|
4 | |
---|
5 | [ticket-workflow] |
---|
6 | ; scicomp-workflow.ini |
---|
7 | ; |
---|
8 | ; This workflow is intended to be a "fixed" version of the original workflow. |
---|
9 | ; |
---|
10 | ; If you adopt it for an existing Trac environment, don't forget to convert |
---|
11 | ; the status of your existing tickets. |
---|
12 | ; |
---|
13 | ; Both the setup of the new [ticket-workflow] and the migration can be achieved |
---|
14 | ; by using the following script: |
---|
15 | ; |
---|
16 | ; contrib/workflow/migrate_original_to_basic.py |
---|
17 | |
---|
18 | leave = * -> * |
---|
19 | leave.operations = leave_status |
---|
20 | leave.default = 1 |
---|
21 | |
---|
22 | accept = new,assigned,accepted,reopened -> accepted |
---|
23 | accept.permissions = TICKET_MODIFY |
---|
24 | accept.operations = set_owner_to_self |
---|
25 | |
---|
26 | resolve_new = accepted -> closed |
---|
27 | resolve_new.name = resolve |
---|
28 | resolve_new.operations = set_resolution |
---|
29 | resolve_new.permissions = TICKET_MODIFY |
---|
30 | resolve_new.set_resolution = invalid,wontfix,duplicate,worksforme |
---|
31 | |
---|
32 | reassign = new,assigned,accepted,reopened,verifying -> assigned |
---|
33 | reassign.permissions = TICKET_MODIFY |
---|
34 | reassign.operations = set_owner |
---|
35 | |
---|
36 | reopen = verifying,closed -> reopened |
---|
37 | reopen.permissions = TICKET_MODIFY |
---|
38 | reopen.operations = del_resolution |
---|
39 | |
---|
40 | ; add our QA states |
---|
41 | finished = accepted -> verify |
---|
42 | finished.name = Resolve |
---|
43 | finished.permissions = TICKET_MODIFY |
---|
44 | |
---|
45 | passreview = verifying -> closed |
---|
46 | passreview.name = Passes Verification |
---|
47 | passreview.permissions = TICKET_MODIFY |
---|
48 | passreview.operations = set_resolution |
---|
49 | |
---|
50 | verifying = verify -> verifying |
---|
51 | verifying.name = Accept to verify |
---|
52 | verifying.permissions = TICKET_MODIFY |
---|
53 | verifying.operations = set_owner_to_self |
---|
54 | |
---|
55 | [milestone-groups] |
---|
56 | closed = closed |
---|
57 | closed.order = 0 |
---|
58 | closed.query_args = group=resolution |
---|
59 | closed.overall_completion = true |
---|
60 | |
---|
61 | SQA = resolved,verify,verifying,review |
---|
62 | SQA.order = 1 |
---|
63 | SQA.css_class = sqa |
---|
64 | SQA.label = SQA |
---|
65 | |
---|
66 | active = * |
---|
67 | active.order = 2 |
---|
68 | active.css_class = accepted |
---|
69 | |
---|
70 | new = new,reopened,assigned |
---|
71 | new.order = 3 |
---|