Edgewall Software

Changes between Version 5 and Version 6 of TracMultipleVersions


Ignore:
Timestamp:
Feb 22, 2015, 3:03:21 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

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
    32
    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. 
     3If 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.
    64
    7 '''Dependancies'''[[br]]
    8  We manage the external dependancies with Portage (Gentoo's Package Manager).  We install Trac, however, by hand.
     5== Preparation
    96
    10  See: TracInstall#Requirements for a complete listing.
     7After 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. 
    118
    12 '''Local Install'''[[br]]
    13  We installed trac in /var/trac-`[version]`. 
     9=== Dependencies
    1410
     11We 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.
    1512
    16 == Installing ==
    17 Download the tarball, uncompress it, and install. (Repeat for each version) ([attachment:trac-install handy script])
     13=== Local install
     14
     15We installed Trac in /var/trac-`[version]`. 
     16
     17== Installing
     18
     19Download the tarball, uncompress it and install. Repeat for each version. See also [attachment:trac-install handy script].
    1820
    1921{{{
     
    3133}}}
    3234
    33 In order to use your new trac installs, you need to override your `PYTHONPATH`.
     35In order to use your new Trac installs, you need to override your `PYTHONPATH`:
    3436
    3537{{{
     
    3840}}}
    3941
    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.
     42Grab 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`:
    4143
    4244{{{
     
    4648}}}
    4749
    48 '''Example'''
     50Example:
    4951{{{
    5052ungoliant bin # trac-admin-0.10.2  --version
     
    5658}}}
    5759
    58 == Installing Plugins ==
    59  When you are installing additional plugins, you simply need to supply the `--prefix` argument to setup.py
     60== Installing Plugins
    6061
    61 '''Tags Install'''
     62When you are installing additional plugins, you simply need to supply the `--prefix` argument to setup.py. To install tags:
     63
    6264{{{
    6365trac src # svn co http://trac-hacks.org/svn/tagsplugin/tags/0.4.1
     
    6567}}}
    6668 
     69== Supporting Scripts
    6770
    68 == Supporting Scripts ==
    6971 * [attachment:multitrac.3] - This allows easy use of the various versions of trac.
    7072 * [attachment:trac-install] - This allows easy installation of a new version.
    71