81 | | ==== Upgrading to Trac 0.11 ==== |
82 | | ===== Site Templates and Styles ===== |
83 | | The templating engine has changed in 0.11 to Genshi, please look at TracInterfaceCustomization for more information. |
84 | | |
85 | | If you are using custom CSS styles or modified templates in the `templates` directory of the TracEnvironment, you will need to convert them to the Genshi way of doing things. To continue to use your style sheet, follow the instructions at TracInterfaceCustomization#SiteAppearance. |
86 | | |
87 | | ===== Trac Macros, Plugins ===== |
88 | | The Trac macros will need to be adapted, as the old-style wiki-macros are not supported anymore (due to the drop of [trac:ClearSilver ClearSilver] and the HDF); they need to be converted to the new-style macros, see WikiMacros. When they are converted to the new style, they need to be placed into the plugins directory instead and not wiki-macros, which is no longer scanned for macros or plugins. |
89 | | |
90 | | ===== For FCGI/WSGI/CGI users ===== |
91 | | For those who run Trac under the CGI environment, run this command in order to obtain the trac.*gi file: |
92 | | {{{ |
93 | | trac-admin /path/to/env deploy /deploy/directory/path |
94 | | }}} |
95 | | |
96 | | This will create a deploy directory with the following two subdirectories: `cgi-bin` and `htdocs`. Then update your Apache configuration file `httpd.conf` with this new `trac.cgi` location and `htdocs` location. |
97 | | |
98 | | ===== Web Admin plugin integrated ===== |
99 | | If you had the webadmin plugin installed, you can uninstall it as it is part of the Trac code base since 0.11. |
100 | | |