[Midnight Commander] #202: add 'state' and 'votes' fields to bug report form
Ticket System
tickets at midnight-commander.org
Tue Jan 20 13:54:40 UTC 2009
#202: add 'state' and 'votes' fields to bug report form
---------------------+------------------------------------------------------
Reporter: slyfox | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: adm | Version: 4.6.1
Resolution: | Keywords:
Blocking: | Blockedby:
---------------------+------------------------------------------------------
Comment(by slavazanko):
review, approved and cleanup - it's a part of workflow and need add to
standart trac workflow. Like this:
conf/trac.ini:
{{{
[ticket-workflow]
...
review = new,assigned,accepted,reopened -> accepted
review.permissions = TICKET_MODIFY
review.operations = none
approved = * -> *
approved.permissions = TICKET_MODIFY
approved.operations = none
cleanup = * -> *
cleanup.permissions = TICKET_MODIFY
cleanup.operations = none
}}}
Also, some additional fields may be add:
{{{
[ticket-custom]
vote = text
vote.label = Votes by patch
branches = text
branches.label = Branches for this ticket
commited_master = checkbox
commited_master.label = Commited to master
commited_master.value = 1
commited_stable = checkbox
commited_stable.label = Commited to stable
commited_stable.value = 1
}}}
More info:
https://projects.math.leidenuniv.nl/trac/howto/wiki/TracTicketsCustomFields
also, some more fields can be added:
conf/trac.ini:
{{{
[ticket-custom]
vote = text
vote.label = Votes by patch
branches = text
branches.label = Branches for this ticket
commited_master = checkbox
commited_master.label = Commited to master
commited_master.value = 1
commited_stable = checkbox
commited_stable.label = Commited to stable
commited_stable.value = 1
}}}
And, of course, need to change trac-reports
--
Ticket URL: <www.midnight-commander.org/ticket/202#comment:3>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center
More information about the mc-devel
mailing list