Software‎ > ‎

git-graph

Overview

git-graph builds a graphical history of a GIT repository. It is a php server-side script designed to work in tandem with gitweb. The graphical output is achieved through a client-side java script. Click the picture on the right for a sample output.

Download and installation

You can download the first version here, released under GPL license.
The configuration is relatively simple, all you have to do is:
  • copy git-graph.php in a directory made public by your web server, for instance "/home/git/git-graph", and make it available on the web as "http://your-domain.com/git-graph".
  • configure three lines inside of the git-graph.php file, e.g.: 
$GLOBALS["repo"]["base"] = "/home/git/repositories/";
$GLOBALS["gitweb"]["url"] = "http://d3s.disi.unitn.it/gitweb/";
$GLOBALS["git"]["path"] = "/usr/bin/git";
  • configure gitweb, i.e., edit "/etc/gitweb.conf" and add the following lines: 
$feature{'forks'}{'default'} = [1];
$feature{'actions'}{'default'} = [('git-graph', '/git-graph/git-graph.php?r=%n', 'summary')];

Comments? Feedback? Problems?

Please drop me an email!
ċ
git-graph-0.1.tgz
(15k)
Ștefan Gună,
Oct 11, 2011, 10:48 AM