wiki:SimpleMultiProjectPlugin

Version 17 (modified by falkb, 12 years ago) (diff)

--

SimpleMultiProjectPlugin

Description

Lets you easily manage multiple projects with one instance of trac. This implements the idea of http://trac.edgewall.org/wiki/TracMultipleProjects/SingleEnvironment.

Experimental version.

You need to define an additional custom ticket field 'project' in your trac.ini, because on creating tickets the milestone combobox shows only milestones appropriately to the chosen project. Furthermore, you can have tickets of certain projects without milestone.

Future Ideas

  • component selection depending on projects
  • version selection depending on projects
  • project category
  • version as date on roadmap
  • roadmap filtering/grouping of projects:
    • only milestones vs. only versions
    • project group boxes on|off
  • project-related timeline filtering of wiki changes (this needs a mapping which wiki part belongs to which project)
  • user-defined field used to define the "project" (e.g. by using component)

Technical thoughts

This plugin adds two new tables to the db:

  1. smp_project: a list of all defined projects
  2. smp_milestone_project: the association of milestones to projects

Example

Admin Interface:

http://trac-hacks.org/attachment/wiki/SimpleMultiProjectPlugin/project_admin.png


http://trac-hacks.org/attachment/wiki/SimpleMultiProjectPlugin/edit_project.png


Associate a milestone in a project:

http://trac-hacks.org/attachment/wiki/SimpleMultiProjectPlugin/edit_milestone.png


Group milestones in the roadmap, and display only projects chosen in the filter box:

http://trac-hacks.org/attachment/wiki/SimpleMultiProjectPlugin/roadmap_projects_filter.png


display only tickets in the timeline of projects chosen in the filter box (adapted from TimelineComponentFilterPlugin):

http://trac-hacks.org/attachment/wiki/SimpleMultiProjectPlugin/timeline_projects_filter.png

Bugs/Feature Requests

Existing bugs and feature requests for SimpleMultiProjectPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:simplemultiprojectplugin here].

Source

You can check out SimpleMultiProjectPlugin from here using Subversion, or browse the source with Trac.

Installation

  1. Add a custom ticket field 'project' in your trac.ini to give tickets the information to which project they belong. Milestones selection depends on that as well.
    [ticket-custom]
    project = text
    project.label = Project
    project.value =
    
  2. Generate the plugin .egg file from sources
    python setup.py bdist_egg
    
  3. Copy the plugin to Trac, e.g.
    cp dist/SimpleMultiProject-0.0.1-py2.6.egg /instance_trac/plugins/
    
  4. Restart Apache. After installation of this plugin Trac needs a database upgrade!
    trac-admin /instance_trac/ upgrade
    

Recent Changes

18451 by rjollos on 2021-10-15 17:19:25
SimpleMultiProjectPlugin: Release 0.7.4

Refs #14055.

18105 by Cinc-th on 2021-03-28 09:25:59
SimpleMultiProjectPlugin: fixed Jinja2 errors.
18093 by Cinc-th on 2021-03-25 09:45:06
SimpleMultiProjectPlugin: fix for test case error with python 3.
(more)

Author/Contributors

Author: crossroad, falkb, T.Doering
Maintainer: crossroad
Contributors:

Attachments (8)

Download all attachments as: .zip