123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <title>GitStats - git history statistics generator</title>
- <meta name="author" content="Heikki Hokkanen" />
- <meta name="keywords" content="git stats,git statistics,stats,visualisation,commit statistics,repository statistics" />
- <link rel="stylesheet" href="web.css" type="text/css" />
- </head>
- <body>
- <h1>GitStats - git history statistics generator</h1>
- <h2>About</h2>
- <p>GitStats is a statistics generator for <a href="http://git-scm.com/">git</a> (a distributed revision control system) repositories. It examines the repository and produces some interesting statistics from the history of it. Currently HTML is the only output format.</p>
- <p>Also see the SourceForge <a href="http://sourceforge.net/projects/gitstats">project page</a>.</p>
- <h2>Features</h2>
- <p>Here is a list of some statistics generated currently:</p>
- <ul>
- <li>General statistics: total files, lines, commits, authors.</li>
- <li>Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.</li>
- <li>Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.</li>
- <li>Files: file count by date, extensions</li>
- <li>Lines: Lines of Code by date</li>
- </ul>
- <h2>Examples</h2>
- <p>See the <a href="http://gitstats.sourceforge.net/examples/">examples directory</a> for example statistics generated for various projects.</p>
- <h2>Requirements</h2>
- <ul>
- <li>Git</li>
- <li>Python</li>
- <li>Gnuplot</li>
- </ul>
- <h2>Getting GitStats</h2>
- <p>GitStats repository is hosted on both <a href="https://github.com/hoxu/gitstats">GitHub</a> and <a href="https://gitorious.org/gitstats/">Gitorious</a>.</p>
- <h3>Using git</h3>
- <p>The recommended way to get GitStats is to clone it with git:</p>
- <pre>git clone git://github.com/hoxu/gitstats.git</pre>
- <p>The repository also contains the web site in the <tt>web</tt> branch.</p>
- <h3>As a tarball</h3>
- <p>Alternatively, you can <a href="https://github.com/hoxu/gitstats/tarball/master">download a tarball</a> of the latest version.
- <h3>Distro packaging</h3>
- <h4>Debian</h4>
- <p>If you are running Debian Squeeze, Wheezy or Sid, you can install gitstats with:</p>
- <pre>apt-get install gitstats</pre>
- <p>But note that <a href="http://packages.debian.org/gitstats">the version in Debian</a> is most likely much older than the latest version available in git.</p>
- <h4>Fedora</h4>
- <p>On Fedora 17 or later and EL6 distributions that have the EPEL repository [<a href="https://bugzilla.redhat.com/show_bug.cgi?id=914996">1</a>] enabled:</p>
- <pre>yum install gitstats</pre>
- <h4>OS X</h4>
- <p>Homebrew contains <a href="https://github.com/Homebrew/homebrew-head-only/blob/master/gitstats.rb">a head-only recipe for gitstats</a>:</p>
- <pre>brew install --HEAD homebrew/head-only/gitstats</pre>
- <h2>License</h2>
- <p>Both the code and the web site are licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a>/<a href="http://www.gnu.org/licenses/gpl-3.0.txt">GPLv3</a>.</p>
- <h2>Related projects</h2>
- <ul>
- <li><a href="http://git.or.cz">git</a></li>
- <li>Projects that generate statistics for other version control systems: <a href="http://statcvs.sourceforge.net/">StatCVS</a>, <a href="http://statsvn.org/">StatSVN</a>. Note that you can use GitStats for other version control systems by importing them to git first.</li>
- <li><a href="https://code.google.com/p/gource/">Gource</a>, software version control visualization.</li>
- <li><a href="https://code.google.com/p/codeswarm/">code_swarm</a>, organic software visualisation of project repositories.</li>
- </ul>
- <div class="logo">
- <a href="http://sourceforge.net/projects/gitstats/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=203965&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
- </div>
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- var pageTracker = _gat._getTracker("UA-3867765-4");
- pageTracker._initData();
- pageTracker._trackPageview();
- </script>
- </body>
- </html>
|