⇤ ← Revision 1 as of 2011-02-24 21:26:05
Size: 998
Comment: information in gitweb and git-daemon
|
Size: 1002
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Also see MemberManual/VersionControl/git | Also see [[MemberManual/VersionControl/git]] |
1. Git
Also see MemberManual/VersionControl/git
1.1. Gitweb
We are using gitweb from Debian.
The configuration is stored at /etc/gitweb.conf and is just tracked with EtcKeeper.
HCoop specific data is stored in /var/local/lib/git.
The script /afs/hcoop.net/common/etc/scripts/hcoop-git-maint is run by cron every fifteen minutes to find new git repositories and link them into /var/cache/git. This also generated a static cache of the front page, but this is not used at present.
1.2. Git Daemon
We are using a standard git-daemon and controlling it using runsv via the git-daemon-run package. Since we already require members to place their bare repositories in ~/.hcoop-git the daemon is run with --export-all, and so the git-daemon-export-ok file is neither respected nor required to export a git repository.
When configuring on a machine with a firewall make sure to open the git service port.