TracStats

  158 downloads
0.5 BSD License    
  not rated
A Trac plugin for project statistics

description

download

specifications

TracStats is a Trac plugin that adds a "Stats" tab to the Trac project. Underneath this tab can be found statistics about subversion, wiki, and ticket system.

The TracStats plugin supports Trac installations with SQLite, MySQL, and PostgreSQL database backends.

The TracStats plugin has been tested with Subversion, Mercurial, and Git version control systems.

Installation

The TracStats plugin can be installed using standard:

python setup.py install

Configuration

It is configured in the trac.ini file by enabling and configuring:

[components]
tracstats.* = enabled


The STATS_VIEW permission is used to control access to the statistics pages.

In addition, an optional "project root" within your repository can be configured as the base for all projects and source code statistics:

[stats]
root = path/to/projects


Troubleshooting

If you use Git (i.e. the GitPlugin for Trac) and are not able to see any of the code statistics, you likely need to configure it to cache the repository to make it work:

[git]
cached_repository = true
persistent_cache = true


You might need to run trac-admin repository resync after the change.
READ MORE   
Last updated on December 5th, 2011

0 User reviews so far.

SUBMIT