Edgewall Software

Changes between Version 2 and Version 3 of 1.3/TracUpgrade


Ignore:
Timestamp:
Feb 2, 2017, 7:37:49 PM (6 years ago)
Author:
Christian Boos
Comment:

start documenting the 1.2 -> 1.4 specific upgrade steps

Legend:

Unmodified
Added
Removed
Modified
  • 1.3/TracUpgrade

    v2 v3  
    7171
    7272=== 6. Steps specific to a given Trac version
     73
     74==== Upgrading from Trac 1.2 to 1.4 #to1.4
     75
     76===== Jinja2 is the new template engine
     77
     78In Trac itself, all the content is now generated by using the Jinja2 template engine.
     79You may want to verify that your plugins are compatible with this change.
     80(TODO: expand...)
     81
     82If you customized the Trac templates, or the site.html template, you'll need to adapt that as well.
     83(TODO: expand...)
     84
     85Another "template" that will probably need to be updated are the e-mail notificition summaries, defined in the [[TracIni#notification-section| trac.ini, [notification] section]], for the `batch_subject_template` and `ticket_subject_template` settings.
     86
     87For example:
     88{{{#!ini
     89[notification]
     90ticket_subject_template = ${prefix} #${ticket.id}: ${summary}
     91}}}
     92(instead of `$prefix #$ticket.id: $summary`)
     93
    7394
    7495==== Upgrading from Trac 1.0 to 1.2 #to1.2