wiki:BranchTimelinePlugin

Version 13 (modified by Ryan J Ollos, 12 years ago) (diff)

Fixed syntax highlighting.

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 [download:branchtimelineplugin 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 trunk checkins

Timeline without a branch checkins:

Timeline without a branch

Recent Changes

6382 by aviram on 2009-08-15 16:09:14
Citing the branch names in which there was a change
5968 by aviram on 2009-06-05 12: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 2009-06-05 12:22:54
Added the changeset's title the branches that were changed
(more)

Author/Contributors

Author: aviram
Maintainer: aviram
Contributors:

Attachments (2)

Download all attachments as: .zip