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

Delphi how to getting directory of network drives faster

performance delphi networking directory

I just discovered that some programs are very quick when getting/listing the directory of network drives, almost instantly. I am talking about programs like FreeComanderXE and DirectoryOpus here.

Android ignores maximum-scale when using fixed-width viewport meta-tag

android ios html5 mobile viewport

I have a fixed-width web page (640 pixels wide). I would like this page to shrink to the width of a mobile device. However, if the device's native width is larger than 640 pixels, I do not want it

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.