Created
April 25, 2017 19:51
-
-
Save mehdichaouch/5a58fdd21603a24b8fab582f3b6880d3 to your computer and use it in GitHub Desktop.
Gitinspector - The statistical analysis tool for git repositories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://github.com/ejwa/gitinspector | |
cd /var/www/gitinspector | |
export LANG=fr | |
REPO=/var/www/ESD3R/ | |
DEST=~ | |
DATE=$(date --date="7 days ago" +"%Y-%m-%d") | |
date && python gitinspector.py -x author:"Mehdi Chaouch" -wHTlrm --format=html --exclude=../ESD3R/puphpet/ $REPO > $DEST/stats.html && date | |
echo. | |
echo. | |
date && python gitinspector.py --since=$DATE -wHTlrm --format=html --exclude=../ESD3RT65VF/puphpet/ $REPO > $DEST/stats_week.html && date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment