index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5. <head>
  6. <title>GitStats - git history statistics generator</title>
  7. <meta name="author" content="Heikki Hokkanen" />
  8. <meta name="keywords" content="git stats,git statistics,stats,visualisation,commit statistics,repository statistics" />
  9. <link rel="stylesheet" href="web.css" type="text/css" />
  10. </head>
  11. <body>
  12. <h1>GitStats - git history statistics generator</h1>
  13. <h2>About</h2>
  14. <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>
  15. <p>Also see the SourceForge <a href="http://sourceforge.net/projects/gitstats">project page</a>.</p>
  16. <h2>Features</h2>
  17. <p>Here is a list of some statistics generated currently:</p>
  18. <ul>
  19. <li>General statistics: total files, lines, commits, authors.</li>
  20. <li>Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.</li>
  21. <li>Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.</li>
  22. <li>Files: file count by date, extensions</li>
  23. <li>Lines: Lines of Code by date</li>
  24. </ul>
  25. <h2>Examples</h2>
  26. <p>See the <a href="http://gitstats.sourceforge.net/examples/">examples directory</a> for example statistics generated for various projects.</p>
  27. <h2>Requirements</h2>
  28. <ul>
  29. <li>Git</li>
  30. <li>Python</li>
  31. <li>Gnuplot</li>
  32. </ul>
  33. <h2>Getting GitStats</h2>
  34. <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>
  35. <h3>Using git</h3>
  36. <p>The recommended way to get GitStats is to clone it with git:</p>
  37. <pre>git clone git://github.com/hoxu/gitstats.git</pre>
  38. <p>The repository also contains the web site in the <tt>web</tt> branch.</p>
  39. <h3>As a tarball</h3>
  40. <p>Alternatively, you can <a href="https://github.com/hoxu/gitstats/tarball/master">download a tarball</a> of the latest version.
  41. <h3>Distro packaging</h3>
  42. <h4>Debian</h4>
  43. <p>If you are running Debian Squeeze, Wheezy or Sid, you can install gitstats with:</p>
  44. <pre>apt-get install gitstats</pre>
  45. <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>
  46. <h4>Fedora</h4>
  47. <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>
  48. <pre>yum install gitstats</pre>
  49. <h4>OS X</h4>
  50. <p>Homebrew contains <a href="https://github.com/Homebrew/homebrew-head-only/blob/master/gitstats.rb">a head-only recipe for gitstats</a>:</p>
  51. <pre>brew install --HEAD homebrew/head-only/gitstats</pre>
  52. <h2>License</h2>
  53. <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>
  54. <h2>Related projects</h2>
  55. <ul>
  56. <li><a href="http://git.or.cz">git</a></li>
  57. <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>
  58. <li><a href="https://code.google.com/p/gource/">Gource</a>, software version control visualization.</li>
  59. <li><a href="https://code.google.com/p/codeswarm/">code_swarm</a>, organic software visualisation of project repositories.</li>
  60. </ul>
  61. <div class="logo">
  62. <a href="http://sourceforge.net/projects/gitstats/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=203965&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
  63. </div>
  64. <script type="text/javascript">
  65. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  66. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  67. </script>
  68. <script type="text/javascript">
  69. var pageTracker = _gat._getTracker("UA-3867765-4");
  70. pageTracker._initData();
  71. pageTracker._trackPageview();
  72. </script>
  73. </body>
  74. </html>