What is the best way to get statistics for an entire subversion repository and display some of them on a web page? Example. Total number of commits today, this month etc, most active committer etc.
+2
A:
I haven't worked with it myself but I think StatSVN is worth a look. It's Java based.
Features:
- Timeline for the lines of code
- Lines of code for each developer
- Activity by Clock time
- Authors Activity
- Author activity per Module
- Author Most Recent Commits with links to ViewVc
- Stats per directory
- File count
- Average file size
- Largest files
- Files with most revisions
- Directory Sizes
- Repository Tags Number of LOC per version.
- Repository tree with file count and lines of code
- LOC and Churn the evolution of LOC and the amount of change per day
- Repo Map the dynamic hierarchical view of your repo for the last 30 days
The current version of StatSVN generates a static suite of HTML documents containing tables and chart images. StatSVN is open source software, released under the terms of the LGPL, based on StatCVS. StatSVN uses JFreeChart to generate charts.
Pekka
2010-03-10 22:34:25
A:
You could generate a static HTML file or fragment using a post-commit hook and then link to that file (or include it in a different page).
inkedmn
2010-03-10 22:35:21
Wouldn't the data available here be related to the individual commit and not the repository as a whole?
markdorison
2010-03-11 03:28:28