wiki:MultiProductPlugin

Add basic multiple product support

Description

This is a plugin for Trac that adds basic multiple product support by allowing per-product components and versions.

This plugin was written in response for a need for a sub-components field in the ticketing system.

For more information, see https://github.com/trac-hacks/trac-multiproduct

Installation and Usage

Because a patch must be applied to Trac before using this plugin, Trac must be installed with the following commands instead of through the operating system's package manager:

$ svn export http://svn.edgewall.org/repos/trac/tags/trac-VERSION trac
$ svn export https://github.com/trac-hacks/trac-multiproduct/tree/master/patches patches
$ cd trac/
$ patch -p0 <../patches/depselect_support_trac-VERSION.patch
$ python ./setup.py install

Where VERSION is your version of Trac. Currently supported versions are 0.11.4, 0.11.5 and 0.11.6.

Now install the Multi-Product plugin:

$ easy_install -Z https://github.com/trac-hacks/trac-multiproduct/

When the plugin is enabled in your trac.ini file it is also recommended that you disable the admin plugins for the component and version fields, since MultiProduct is really a replacement for these fields:

[components]
multiproduct.* = enabled
trac.ticket.admin.componentadminpanel = disabled
trac.ticket.admin.versionadminpanel = disabled

The Trac environment will ask to be upgraded:

$ trac-admin /path/to/trac/environment upgrade

Once configured, Trac administrators will find a new ticket system admin panel for each of the fields added by the plugin.

Last modified 9 years ago Last modified on Feb 3, 2016, 8:25:28 PM