git clone https://gitlab.com/joedoe47/git-arr-fork
git clone git://git.joepcs.com/projects/git-arr-fork
|Date||Author (GPG Key)||Commit||Comment|
|2018-08-06||jms2 ()||d8ece0e||git-annex automatic merge conflict fix|
|2018-08-06||jms2 ()||c60f432||git-annex in jms2@localh0st2:~/bin/git-arr-fork|
|2018-07-24||joedoe47 (D7D9DC93B1538725)||ccf7d3e||git-annex in joedoe47@greatfox-lylat2:/media/sdh1/documents/public/git-arr-fork|
|2018-02-27||joedoe47 ()||6602b52||git-annex in pi@raspberrypi3:/media/sda1/documents/public/git-arr-fork|
|2018-01-14||jms2 ()||9d184fa||Merge remote-tracking branch 'refs/remotes/storage/master'|
|2018-01-14||jms2 ()||7a73127||git-annex in jms2@localh0st2:~/bin/git-arr-fork|
|2018-01-14||joedoe47 ()||062c7b7||Merge remote-tracking branch 'refs/remotes/origin/master'|
|2018-01-14||joedoe47 ()||02df167||git-annex in joedoe47@greatfox-lylat2:/media/sdh1/documents/public/git-arr-fork|
|2018-01-13||jms2 ()||b820dc2||git-annex in jms2@localh0st2:~/bin/git-arr-fork|
|2018-01-13||jms2 ()||2b29b51||git-annex in jms2@localh0st2:~/bin/git-arr-fork|
git-arr is a git repository browser that can generate static HTML instead of having to run dynamically.
It is smaller, with less features and a different set of tradeoffs than other similar software, so if you're looking for a robust and featureful git browser, please look at gitweb or cgit instead.
However, if you want to generate static HTML at the expense of features, then it's probably going to be useful.
It's open source under the MIT licence, please see the LICENSE file for more information.
You will need Python, and the bottle.py framework (the package is usually called python-bottle in most distributions).
If pygments is available, it will be used for syntax highlighting, otherwise everything will work fine, just in black and white.
First, create a configuration file for your repositories. You can start by copying sample.conf, which has the list of the available options.
Then, to generate the output to "/var/www/git-arr/" directory, run:
$ ./git-arr --config config.conf generate --output /var/www/git-arr/
The first time you generate, depending on the size of your repositories, it can take some time. Subsequent runs should take less time, as it is smart enough to only generate what has changed.
You can also use git-arr dynamically, although it's not its intended mode of use, by running:
$ ./git-arr --config config.conf serve
That can be useful when making changes to the software itself.
If you want to report bugs, send patches, or have any questions or comments, just let me know at firstname.lastname@example.org.