X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=blobdiff_plain;f=git-daemon%2Fgit-urlmap;fp=git-daemon%2Fgit-urlmap;h=0000000000000000000000000000000000000000;hp=a72b48c9bebe30173d2e00d076039be9e2509e24;hb=d36c5f7baf4f11c7d6765afac2f5fb9449b0e0a7;hpb=82e04925eb9e251fb56c507967fe1ff76e59c94c diff --git a/git-daemon/git-urlmap b/git-daemon/git-urlmap deleted file mode 100644 index a72b48c..0000000 --- a/git-daemon/git-urlmap +++ /dev/null @@ -1,48 +0,0 @@ -# Configuration file for the userv git daemon. -# -# This was written by Tony Finch -# You may do anything with it, at your own risk. -# http://creativecommons.org/publicdomain/zero/1.0/ -# -# This is a perl script which is expected to turn the information -# found in the request variables into the location of the -# corresponding repository, which it stores in the output variables. -# Some information about the network connection is also available. -# -# REQUEST VARIABLES -# $service - normally "git-upload-pack" -# `git daemon --help` describes other possible services -# $host -# $path -# $uri = git://$host/$path -# $_ = $uri -# -# OUTPUT VARIABLES -# $user - who runs the service -# $dir - may be: -# * an absolute path -# * a path relative to the user's home directory -# * equivalently, a path starting ~/ -# $repo - if set, the repository's path is $dir/$repo -# otherwise, the repository's path is just $dir -# $check_export - whether to check for a git-daemon-export-ok file -# (default false) -# $check_repo - whether to restrict the syntax of $repo -# (default true) -# @opts - options for the service command -# -# CONNECTION VARIABLES -# $client_addr -# $client_port -# $client = [$client_addr]:$client_port -# $server_addr -# $server_port -# $server = [$server_addr]:$server_port - -if ($path =~ m{^~([^/]*)/(.*)}) { - $user = $1; - $dir = 'public-git'; - $repo = $2; -} - -# end