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 | reassign = new,assigned,accepted,reopened,verifying -> assigned |
---|
27 | reassign.permissions = TICKET_MODIFY |
---|
28 | reassign.operations = set_owner |
---|
29 | |
---|
30 | reopen = verifying,closed -> reopened |
---|
31 | reopen.permissions = TICKET_MODIFY |
---|
32 | reopen.operations = del_resolution |
---|
33 | |
---|
34 | ;?? check this works - we want to set tthe owner and the resolution |
---|
35 | resolve_new = new -> verify |
---|
36 | resolve_new.name = resolve |
---|
37 | resolve_new.operations = set_resolution,set_owner_to_self |
---|
38 | resolve_new.permissions = TICKET_MODIFY |
---|
39 | resolve_new.set_resolution = invalid,wontfix,duplicate,worksforme |
---|
40 | |
---|
41 | resolve = accepted -> verify |
---|
42 | resolve.name = Resolve |
---|
43 | resolve.permissions = TICKET_MODIFY |
---|
44 | |
---|
45 | ;?? the operation does not exist yet |
---|
46 | verifying = verify -> verifying |
---|
47 | verifying.name = Accept to verify |
---|
48 | verifying.permissions = TICKET_MODIFY |
---|
49 | verifying.operations = set_tester_to_self |
---|
50 | |
---|
51 | passreview = verifying -> closed |
---|
52 | passreview.name = Pass Testing |
---|
53 | passreview.permissions = TICKET_MODIFY |
---|
54 | |
---|
55 | ;?? the operation does not exist yet |
---|
56 | declinereview = verifying -> verify |
---|
57 | declinereview.name = Return ticket to testing pool |
---|
58 | declinereview.permissions = TICKET_MODIFY |
---|
59 | declinereview.operations = clear_tester |
---|
60 | |
---|
61 | [milestone-groups] |
---|
62 | closed = closed |
---|
63 | closed.order = 0 |
---|
64 | closed.query_args = group=resolution |
---|
65 | closed.overall_completion = true |
---|
66 | |
---|
67 | SQA = resolved,verify,verifying,review |
---|
68 | SQA.order = 1 |
---|
69 | SQA.css_class = sqa |
---|
70 | SQA.label = SQA |
---|
71 | |
---|
72 | active = * |
---|
73 | active.order = 2 |
---|
74 | active.css_class = accepted |
---|
75 | |
---|
76 | new = new,reopened,assigned |
---|
77 | new.order = 3 |
---|