chiark / gitweb /
git-daemon.pl: second iteration based on feedback from Ian.
authorTony Finch <dot@dotat.at>
Fri, 26 Mar 2010 18:00:46 +0000 (18:00 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 22 May 2010 14:54:40 +0000 (15:54 +0100)
commitfbde0914d3e4fc184ac396dbb35ad6f77527b535
tree6ee5542ed5b007896cc32cdc83376b128f463101
parent411c075bc8493bc35e479421d647ae746d62a368
git-daemon.pl: second iteration based on feedback from Ian.

Instead of invoking the standard git-daemon via userv, do what
the standard git-daemon does and invoke git-upload-pack.

Log errors to syslog. Obtain the client IP address and port.

Use a configuration file to work out the user from the
virtual host name and tilde part of the URL.
Put the syntax check regexes in the configuration file.

Pass parameters to userv git-upload-pack service with
user-defined variables instead of command line arguments.
git-daemon/git-daemon-vhosts.pl
git-daemon/git-daemon.pl [changed mode: 0644->0755]