visualizing progress on git repositories

Is there a tool to visualize how much progress have been made on the git project over time? Something that can graph productivity over days/weeks/months in a chart is what I'm thinking of.

If not, is it possible to extract git history data into some kind of format (xml etc) to process (and later visualize) manually?

Answers


Have a look at gitstats, which uses GNU Plot to visualize a repo's history of activity:

http://gitstats.sourceforge.net


I know that github and other hosts show this already. But it wouldn't be hard to automate something like that:

git log --no-merges --author="Jane" --format="%ai" --all

This will show the dates of all the commits of Jane. You can stream that to a file with > export.csv at the end. You then open this with excel where you can manipulate the data. Or you can export each author and their commits:

git log --no-merges --all --format=" %an %ai"

further, you could dig out more info about each commit (say the number of lines changed each time, or paths affected, etc..)

for sha1 in $(git log --no-merges --format="%H" master@{"1 month ago"}..master); do
    git log -1 --format=" --- %an %ai ---" $sha1 >> tempfile
    git log --stat -1 $sha1 >> tempfile
    # some other processing
done

This time I've limited the output to where master was last month.


Need Your Help

Apply New Font to application Android

android android-layout fonts

i'm try apply new font in my applcation android and can call from style.xml

How to limit the timeout when running DOMDocument->loadHtmlFile?

php html dom

I'm trying to get the content from some website but if the website is down, it takes a really long time to open (like 1 min).