this is a python script that save svn or git log to mongodb or elasticsearch.
- python 2.7
- elasticsearch or mongodb
- elasticsearch python client or pymongo
there is 2 steps to export the log.
svn log > svnlog.log
git log > gitlog.log
you can try the script with example log in the script
this just simple run script
{repo} = svn or git
{file log} = log.log
{database} = mongo or elasticsearch
python logrepo.py {repo} {file log} {database}