Edgewall Software

Changes between Version 2 and Version 3 of 1.1/TracUpgrade


Ignore:
Timestamp:
Jan 10, 2015, 5:06:11 PM (9 years ago)
Author:
Jun Omae
Comment:

Merged TracUpgrade@104 and TracUpgrade@106

Legend:

Unmodified
Added
Removed
Modified
  • 1.1/TracUpgrade

    v2 v3  
    130130===== Resynchronize the Trac Environment Against the Source Code Repository =====
    131131
    132 Each [TracEnvironment Trac environment] must be resynchronized against the source code repository in order to avoid errors such as "[http://trac.edgewall.org/ticket/6120 No changeset ??? in the repository]" while browsing the source through the Trac interface:
     132Each [TracEnvironment Trac environment] must be resynchronized against the source code repository in order to avoid errors such as "[trac:#6120 No changeset ??? in the repository]" while browsing the source through the Trac interface:
    133133
    134134{{{
     
    169169If you had the webadmin plugin installed, you can uninstall it as it is part of the Trac code base since 0.11.
    170170
     171===== New Default Configurable Workflow
     172
     173When you run `trac-admin <env> upgrade`, your `trac.ini` will be modified to include a `[ticket-workflow]` section. The workflow configured in this case is the original workflow, so that ticket actions will behave like they did in 0.10.
     174
     175Graphically, that looks like this:
     176
     177{{{#!Workflow width=500 height=240
     178leave = * -> *
     179leave.operations = leave_status
     180leave.default = 1
     181accept = new -> assigned
     182accept.permissions = TICKET_MODIFY
     183accept.operations = set_owner_to_self
     184resolve = new,assigned,reopened -> closed
     185resolve.permissions = TICKET_MODIFY
     186resolve.operations = set_resolution
     187reassign = new,assigned,reopened -> new
     188reassign.permissions = TICKET_MODIFY
     189reassign.operations = set_owner
     190reopen = closed -> reopened
     191reopen.permissions = TICKET_CREATE
     192reopen.operations = del_resolution
     193}}}
     194
     195There are some significant "warts" in this; such as accepting a ticket sets it to 'assigned' state, and assigning a ticket sets it to 'new' state.  Perfectly obvious, right?
     196So you will probably want to migrate to "basic" workflow; [trac:source:trunk/contrib/workflow/migrate_original_to_basic.py contrib/workflow/migrate_original_to_basic.py] may be helpful. See TracWorkflow for a detailed description of the new basic workflow.
     197
    171198=== 7. Restart the Web Server === #RestarttheWebServer
    172199