Skip to main content

# TracStats

The TracStats project is a plugin for the [trac](https://trac.edgewall.org/) project management tool.

The TracStats plugin adds a “Stats” tab to the trac project. Underneath this tab can be found statistics about changesets, wiki pages, and tickets.

Some features include:

  • Recent activity (last 30 days) showing top 10 developers, projects, and paths within the repository.

  • Detailed statistics of source code development:

    • Total files by time

    • Commits by time, author, month, day of week, hour of day

    • Recent commits

    • Activity by time, author, project, filetype, change type

    • Most active paths, files

    • Commit cloud (built from checkin comments)

  • Detailed statistics of Trac wiki pages:

    • Total pages by time

    • Edits by author

    • Latest wiki pages changed

    • Most active wiki pages

    • Largest wiki pages

  • Detailed statistics of Trac tickets:

    • Open tickets by time

    • Tickets by author, component

    • Most active tickets

    • Oldest open tickets

    • Latest tickets reported, changed

  • Drill down by author or path within the repository for more information.

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:

` $ pip install tracstats `

Or, grab the sources and build using:

` $ python setup.py install `

## Configuration

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

`ini [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:

`ini [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:

`ini [git] cached_repository = true persistent_cache = true `

You might need to run trac-admin <project-env> repository resync <reponame> after the change.

Metadata

Release files for TracStats 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TracStats 0.6.1
File Size Uploaded Provenance Actions
TracStats-0.6.1.tar.gz 137.2 kB Without provenance Details for TracStats-0.6.1.tar.gz

Release files / TracStats-0.6.1.tar.gz

Download URL TracStats-0.6.1.tar.gz
Size 137.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ae52f90f79a8a86cbb50aa5d6c54c9e833943402c24e11ef51d68f942807237d
BLAKE2b-256 checksum
How to use checksums
b4a613a145f10eb9fcdb6566960ad5d258bdb37277870ae4c4a28e2d10b831ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for TracStats 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.1 This release

1 release file No provenance

0.4

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page