This controller, from the trac sample plugins directory,  creates a
new operation.
In trac operations are tied to actions, and actions define transitions
of tickets from one status to another

So you have to have an action declared in the configuration file, that
has the code_review operation like:
<action_name> = <old_state> -> <new_state>
<action_name>.operations = code_review

This operation can be tied to any action you what. You have to choose
in which status you want to have this action available.

On Sat, Feb 23, 2008 at 12:15 PM, DeyV <[EMAIL PROTECTED]> wrote:
>
>  Thank's Andrei, I does the 3 steps, but still don't know, what now?
>
>  I'm not see any new ticet Resolutions or statuses. Must I add the new
>  Resolutions in admin?
>  And from can I get the names for it?
>
>
>
>
>  On 23 Lut, 09:26, "Culapov Andrei" <[EMAIL PROTECTED]> wrote:
>  > 1. copy it in the plugins directory of your trac installation the
>  > controller 
> classhttp://trac.edgewall.org/browser/trunk/sample-plugins/workflow/CodeRe...
>
> >
>  > And then start editting the trac.ini file
>  >
>  > 2. enable this plugin class
>  > ....
>  > [components]
>  > ....
>  > codereview.CodeReviewActionController = enabled
>  > ...
>  >
>  > 3. add the this class the the workflow controllers list:
>  > ....
>  > [ticket]
>  > ....
>  >  workflow = ConfigurableTicketWorkflow,CodeReviewActionController
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to