From bb7be2d3e49876a74fddb76260f3eac07bf0a431 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 26 Aug 2015 21:21:15 -0400 Subject: [PATCH] 6263: Update doc.go: mention gitolite-shell. --- services/arv-git-httpd/doc.go | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/services/arv-git-httpd/doc.go b/services/arv-git-httpd/doc.go index 713b018a46..ff4599dd6d 100644 --- a/services/arv-git-httpd/doc.go +++ b/services/arv-git-httpd/doc.go @@ -1,29 +1,35 @@ /* arv-git-httpd provides authenticated access to Arvados-hosted git repositories. +See http://doc.arvados.org/install/install-arv-git-httpd.html. + Example: + arv-git-httpd -address=:8000 -repo-root=/var/lib/arvados/git Options: -address [host]:[port] - Listen at the given host and port. Each can be a name, - a number, or empty. +Listen at the given host and port. + +Host can be a domain name, an IP address, or empty (listen on all +addresses). + +Port can be a name, a port number, or 0 (choose an available port). -repo-root path - Directory containing git repositories. When a client - requests either "foo/bar.git" or "foo/bar/.git", - git-http-backend will be invoked on "path/foo/bar.git" - or (if that doesn't exist) "path/foo/bar/.git". +Directory containing git repositories. When a client requests either +"foo/bar.git" or "foo/bar/.git", git-http-backend will be invoked on +"path/foo/bar.git" or (if that doesn't exist) "path/foo/bar/.git". -git-command path - Location of the CGI program to execute for each - authorized request (normally this is git). It is - invoked with a single argument, 'http-backend'. - Default is /usr/bin/git. +Location of the CGI program to execute for each authorized request +(normally this is gitolite-shell if repositories are controlled by +gitolite, otherwise git). It is invoked with a single argument, +'http-backend'. Default is /usr/bin/git. */ package main -- 2.30.2