Extending the concept of a 'version' in Trac
This plugin extends the concept of a version in Trac. While the Trac ticket module has the concept of a version, it is only visible as a name in a drop-down on a ticket and offers no further functionality.
This plugin adds the following features to the concept of version:
- version description pages
- a roadmap-like view of versions
- the ability to assign milestones to versions.
Most features are optional.
Note: This plugin is for Trac 0.12 and later.
Screenshot: version page
The version page shows the name, date, description and any assigned milestones. If milestones are assigned, it shows the overall progress for the version and the progress on each milestone:
Screenshot: version roadmap
The version roadmap looks very similar to the milestone roadmap:
Screenshot: milestones page
Milestones assigned to versions have the version noted alongside the due date:
If you have any issues, create a new ticket.
Download the zipped source from here.
The easiest way to install the ExtendedVersionPlugin is probably with easy_install:
Alternatively, download the source and run the usual:
python setup.py install
After installing the plugin, enable it for the Trac environment in the TracIni file:
[components] extendedversion.* = enabled
This plugin requires some database changes, so upgrade the environment. Trac will prompt you to if you don't.
trac-admin /path/to/trac upgrade
[extended_version] # component to use to provide group ticket statistics for versions version_stats_provider = DefaultTicketGroupStatsProvider # component to use to provide group ticket statistics for milestones in version page milestone_stats_provider = DefaultTicketGroupStatsProvider # whether to show milestone description for version pages show_milestone_description = false
The default configuration adds a
Versions item to the main navigation bar. To instead change the
Roadmap item to link to the versions page, set the
roadmap_navigation option has been removed in r13314. The equivalent of
roadmap_navigation = true can be obtained by setting
trac.ticket.roadmap.RoadmapModule = disabled. Prior to r13314, the following option is available:
# whether to replace the roadmap navigation link or add a versions navigation link roadmap_navigation = false
- 16136 by rjollos on 2016-12-21 20:44:59
1.0dev: Allow milestone version edits from Milestone admin
- 15067 by rjollos on 2015-11-19 14:09:54
1.0dev: Make total element on progress bar a link
Patch by benkovsk.
- 15034 by rjollos on 2015-11-05 20:05:29
1.0dev: Don't populate release date field unless it's enabled
roadmap.cssto the version edit page and adjust markup
added in , for consistency with the Trac 1.0 milestone
This change is not compatible with Trac < 1.0. If you require
Trac 0.12 compatibility, please comment in ticket #12567.