SVN Log Statistics Collector (svn-log-stat)
Created for those who need some specific stats on SVN repo. For instance, ratio of backend files to frontend files. Truly, ratio
is the only task for now.
Install
npm install svn-log-stat -g
Usage
First, you need to run svn log
in your repository:
svn log --xml -v > svn.log
It may happen that svn.log
file has the BOM, in that case you have to remove it.
Then, create an svn-log-stat.json
file:
The name
property is a name of built-in task so do not change it!
Finally, you need to run the following code:
svn-log-stat
Or (all keys are optional):
svn-log-stat -log svn.log -conf svn-log-stat.json -out output.txt
It will provide you with an output like that:
It means some 1/3 of your commits are in backend, 1/3 are in frontend, and 1/3 are mixed.