1 // arvados-git-httpd provides authenticated access to Arvados-hosted
4 // See http://doc.arvados.org/install/install-arv-git-httpd.html.
12 "github.com/ghodss/yaml"
17 c.Client.APIHost = "zzzzz.arvadosapi.com:443"
18 exampleConfigFile, err := yaml.Marshal(c)
22 fmt.Fprintf(os.Stderr, `
24 arvados-git-httpd provides authenticated access to Arvados-hosted git
27 See http://doc.arvados.org/install/install-arv-git-httpd.html.
29 Usage: arvados-git-httpd [-config path/to/arvados/git-httpd.yml]
34 fmt.Fprintf(os.Stderr, `
41 Address (or address:port) of the Arvados API endpoint.
45 Unused. Normally empty, or omitted entirely.
49 True if your Arvados API endpoint uses an unverifiable SSL/TLS
54 Path to git or gitolite-shell executable. Each authenticated
55 request will execute this program with the single argument
60 Path to Gitolite's home directory. If a non-empty path is given,
61 the CGI environment will be set up to support the use of
62 gitolite-shell as a GitCommand: for example, if GitoliteHome is
63 "/gh", then the CGI environment will have GITOLITE_HTTP_HOME=/gh,
64 PATH=$PATH:/gh/bin, and GL_BYPASS_ACCESS_CHECKS=1.
68 Local port to listen on. Can be "address:port" or ":port", where
69 "address" is a host IP address or name and "port" is a port number
74 Path to git repositories.