waterxi / svnplot

Automatically exported from code.google.com/p/svnplot
0 stars 0 forks source link

QUE/RFE: Filtering for files and/or authors #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
eg. svnstat allows to exclude files matching certain patterns from the 
statistics.

As our repository contains lots of huge, autogenerated XML files, it makes a 
lot of sense to exclude those from the statistics.

Is there any way to achieve this with svnplot which does not require code 
changes? I could not find anything in the readme or command line help.

Additionally, we have some "svn-role-account" we'd like to aggregate for our 
statistics, ie. distinct svn users we want to treat as a single one.

If these features would require code enhancements, one should probably have a 
look at svnplot.py and friends, and keep svnlog2sqlite.py as-is, right?

Original issue reported on code.google.com by G.Ohr...@web.de on 1 Dec 2010 at 7:58

GoogleCodeExporter commented 8 years ago
In svnplot, data collection is a separate step (svnlog2sqlite.py) and reporting 
is in svnplot.py. So you are correct, you have to change svnplot.py and friends 
and keep svnlog2sqlite.py as it is.

During report generation, svnplot.py, svnplotbase.py and svnplot-js.py, 
generate 'graphs' the data is generated by svnstats.py. So you will have to 
change mainly svnstats.py and then add command line parameters to svnplot.py 
and somehow take those to svnstats.py.

Original comment by nitinbh...@gmail.com on 1 Dec 2010 at 11:42