Contents
Filter timeline by a specified branch
Description
The BranchTimeline plugin changes the behaviour of the timeline and enables you to view changes of a specific branch/trunk.
Requirements
This was only tested with:
- Trac 0.11.
- Subversion.
Bugs/Feature Requests
Existing bugs and feature requests for BranchTimelinePlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out BranchTimelinePlugin from here using Subversion, or browse the source with Trac.
Installation
- Download the source, locate the file BranchTimeline.py in your project's plugin directory or in the global plugins directory, which usually is
/usr/share/trac/plugins
- Components changes:
- Disable the basic trac component ChangesetModule.
- Enable the component BranchesTimelineModule.
- These changes can be done via the WebAdmin interface or by adding the following lines to trac.ini:
[components] trac.versioncontrol.web_ui.changeset.changesetmodule = disabled BranchTimeline.* = enabled
Configuration
Configure the paths of the branches and trunk directories in trac.ini (if not configured, the paths branches and trunk are used), and the branches that you don't want to display:
[timeline-branches] branches_path = branches trunk_path = trunk undisplayed_branches = branch1, branch2 # Comma separated list of paths relative to branches_path of branches that won't be displayed
After doing that, the timeline page will allow you to filter according to specific branches / trunk.
Snapshots
Timeline without trunk checkins:
Timeline without a branch checkins:
Recent Changes
[6382] by aviram on 08/15/09 18:09:14
Citing the branch names in which there was a change
[5968] by aviram on 06/05/09 14:28:45
Removed the code that doesn't show branches that have been changed if they are filtered out, because anyone will probably want to know that a commit has changed more than one branch, especially a filtered out branch
[5967] by aviram on 06/05/09 14:22:54
Added the changeset's title the branches that were changed
[5537] by aviram on 04/18/09 23:03:44
Added an implementation of the function any for compatibility with python < 2.5, and added the support for configuration of branches that will not be displayed
Author/Contributors
Attachments
- branches_timeline_1.png (26.5 kB) -
Timeline without trunk checkins
, added by aviram on 04/15/09 23:39:41. - branches_timeline_2.png (27.3 kB) -
Timeline without a branch
, added by aviram on 04/15/09 23:40:20.