https://github.com/trac-hacks/trac-multiproduct
A plugin for Trac that adds basic multiple product support.
https://github.com/trac-hacks/trac-multiproduct
trac-plugin
Last synced: about 1 year ago
JSON representation
A plugin for Trac that adds basic multiple product support.
- Host: GitHub
- URL: https://github.com/trac-hacks/trac-multiproduct
- Owner: trac-hacks
- License: bsd-3-clause
- Created: 2013-10-27T17:24:31.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-27T18:41:04.000Z (over 12 years ago)
- Last Synced: 2023-04-11T08:47:45.579Z (about 3 years ago)
- Topics: trac-plugin
- Language: Python
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Welcome to MultiProduct
MultiProduct is a plug-in for Trac that adds basic multiple product support by allowing per-product components and versions.
This plug-in adds a new field type to Trac, depselect, which is a select field that depends on the value of another select field. Three new fields are then added to the ticket model:
* Product - a normal select field and the parent field upon which the depselect fields depend.
* Product Component and Product Version - depselect fields whose available values change depending on the value of the Product field.
The plug-in currently requires a patch to Trac itself in order to function, though I plan to eliminate that need in a future version.
## Installation and Usage
Because a patch must be applied to Trac before using this plug-in, 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-<> trac
$ svn export https://www.matbooth.co.uk/svn/trunk/multiproduct/patches/ patches
$ cd trac/
$ patch -p0 <../patches/depselect_support_trac-<>.patch
$ python ./setup.py install
Where <> is your favourite version of Trac. Currently supported versions are 0.11.4, 0.11.5 and 0.11.6.
Now install the MultiProduct plug-in:
$ easy_install -Z https://www.matbooth.co.uk/svn/trunk/multiproduct/
When the plug-in is enabled in trac.ini it is also recommended that you disable the admin plug-ins 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 plug-in.