<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>VersionControlAdmin</title><revhistory><revision><revnumber>3</revnumber><date>2012-09-06 07:16:49</date><authorinitials>ClintonEbadi</authorinitials></revision><revision><revnumber>2</revnumber><date>2011-02-24 21:26:46</date><authorinitials>ClintonEbadi</authorinitials></revision><revision><revnumber>1</revnumber><date>2011-02-24 21:26:05</date><authorinitials>ClintonEbadi</authorinitials><revremark>information in gitweb and git-daemon</revremark></revision></revhistory></articleinfo><section><title>Git</title><para>Also see <ulink url="https://wiki.hcoop.net/VersionControlAdmin/MemberManual/VersionControl/git#">MemberManual/VersionControl/git</ulink> </para><section><title>Gitweb</title><para>We are using <ulink url="https://git.wiki.kernel.org/index.php/Gitweb">gitweb</ulink> from Debian. </para><para>The configuration is stored at <code>/etc/gitweb.conf</code> and is just tracked with <ulink url="https://wiki.hcoop.net/VersionControlAdmin/EtcKeeper#">EtcKeeper</ulink>. </para><para>HCoop specific data is stored in <code>/var/local/lib/git</code>. </para><para>The script <code>/afs/hcoop.net/common/etc/scripts/hcoop-git-maint</code> is run by cron every fifteen minutes to find new git repositories and link them into <code>/var/cache/git</code>. This also generated a static cache of the front page, but this is not used at present. </para></section><section><title>Git Daemon</title><para>We are using a standard <code>git-daemon</code> and controlling it using runsv via the <code>git-daemon-run</code> package. Since we already require members to place their bare repositories in <code>~/.hcoop-git</code> the daemon is run with <code>--export-all</code>, and so the <code>git-daemon-export-ok</code>  file is neither respected nor required to export a git repository. </para><para>When configuring on a machine with a firewall make sure to open the <code>git</code> service port. </para><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="https://wiki.hcoop.net/VersionControlAdmin/CategorySystemAdministration#">CategorySystemAdministration</ulink> </para></section></section></article>