We are using Subversion. We would like to
1. search across all commit messages ?
2. monitor the commits on certain important files ?
3. identify files that are never/rarely used ?
4. identify files that are most frequently changed ?
5. identify files that most developers have accessed ?
6. identify files that have been committed together many number of times ?
The usage of these data could be to weed out messages like these, to refactor code and clean up the project of unused files.
Please suggest tools to achieve the same..
EDIT: We run SVN on Windows 2003.
There are two options available to get informatioon about past revisions: svn log -r <rev number> <url> : the commit message of a specified revision and url. svn info -r <rev number> <url> : some technical information about a specified revision and url.
The svn info and svn log commands provide useful information about a given repository. They are both executed on the command line somewhere within the directory of the locally checked out repository. The svn info command may be invoked offline with no network connection to the Subversion server.
StatSVN should be able to do the majority of that for you. You'll need to set up a scheduled task to run it over your repository, however, or you can integrate it into an Ant build if you happen to use that.
Some of the more complex tasks, such as number 6 in your list, will probably require a custom solution, however. Alternatively, as StatSVN is open source, you could make the required changes to that and submit them back to the project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With