Changes between Version 5 and Version 6 of TracMultipleVersions
- Timestamp:
- Feb 22, 2015, 3:03:21 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracMultipleVersions
v5 v6 1 = Managing Multiple Trac Versions = 2 If you use Trac for long enough you will probably need multiple sites. If you use those long enough you will want to upgrade. If you must upgrade, you may have need of multiple versions before, during and after the upgrade process. 1 = Managing Multiple Trac Versions 3 2 4 == Preparation == 5 After we fell in love with 0.8, we had a hard time upgrading to 0.9. When we installed our new Trac server, we moved to 0.10, but this time we were prepared. 3 If you use Trac for long enough you will probably need multiple sites. If you use those long enough you will want to upgrade. If you must upgrade, you may have need of multiple versions before, during and after the upgrade process. 6 4 7 '''Dependancies'''[[br]] 8 We manage the external dependancies with Portage (Gentoo's Package Manager). We install Trac, however, by hand. 5 == Preparation 9 6 10 See: TracInstall#Requirements for a complete listing. 7 After using Trac 0.8, we had a hard time upgrading to Trac 0.9. When we installed our new server and moved to Trac 0.10, we were better prepared. 11 8 12 '''Local Install'''[[br]] 13 We installed trac in /var/trac-`[version]`. 9 === Dependencies 14 10 11 We manage the external dependencies with Portage, [http://wiki.gentoo.org/wiki/Handbook:X86 Gentoo's Package Manager]. We install Trac manually, however. See TracInstall#Requirements for a complete listing. 15 12 16 == Installing == 17 Download the tarball, uncompress it, and install. (Repeat for each version) ([attachment:trac-install handy script]) 13 === Local install 14 15 We installed Trac in /var/trac-`[version]`. 16 17 == Installing 18 19 Download the tarball, uncompress it and install. Repeat for each version. See also [attachment:trac-install handy script]. 18 20 19 21 {{{ … … 31 33 }}} 32 34 33 In order to use your new trac installs, you need to override your `PYTHONPATH`.35 In order to use your new Trac installs, you need to override your `PYTHONPATH`: 34 36 35 37 {{{ … … 38 40 }}} 39 41 40 Grab the [attachment:multitrac.3 multitrac] script. You can link to it to automatically parse the version out of the command name, and set the PYTHONPATH.42 Grab the [attachment:multitrac.3 multitrac] script. You can link to it to automatically, parse the version out of the command name and set the `PYTHONPATH`: 41 43 42 44 {{{ … … 46 48 }}} 47 49 48 '''Example''' 50 Example: 49 51 {{{ 50 52 ungoliant bin # trac-admin-0.10.2 --version … … 56 58 }}} 57 59 58 == Installing Plugins == 59 When you are installing additional plugins, you simply need to supply the `--prefix` argument to setup.py 60 == Installing Plugins 60 61 61 '''Tags Install''' 62 When you are installing additional plugins, you simply need to supply the `--prefix` argument to setup.py. To install tags: 63 62 64 {{{ 63 65 trac src # svn co http://trac-hacks.org/svn/tagsplugin/tags/0.4.1 … … 65 67 }}} 66 68 69 == Supporting Scripts 67 70 68 == Supporting Scripts ==69 71 * [attachment:multitrac.3] - This allows easy use of the various versions of trac. 70 72 * [attachment:trac-install] - This allows easy installation of a new version. 71