Difference between revisions of "SAC:Git Service"
Line 13: | Line 13: | ||
= Access methods = | = Access methods = | ||
− | == HTTPS ( | + | == HTTPS (Read/Write) == |
Repos in ''/var/www/git/repos'' are served via ''https://git.osgeo.org/git/REPONAME''. | Repos in ''/var/www/git/repos'' are served via ''https://git.osgeo.org/git/REPONAME''. | ||
Line 19: | Line 19: | ||
Repos in ''/home/git/gogs-repositories'' are served via ''https://git.osgeo.org/_gogs_/REPONAME''. | Repos in ''/home/git/gogs-repositories'' are served via ''https://git.osgeo.org/_gogs_/REPONAME''. | ||
− | In both cases, [[SAC:LDAP|LDAP]] authentication is | + | In both cases, [[SAC:LDAP|LDAP]] authentication is allowed. |
+ | For the ''/git/REPONAME'' LDAP authentication is _required_, and you need to use the Git protocol access for an anonymous checkout. | ||
+ | |||
In both cases, ''http'' access redirects to ''https''. | In both cases, ''http'' access redirects to ''https''. | ||
Revision as of 09:47, 9 April 2016
The TracsvnVM machine hosts a few git related experimental services.
Repositories
There are currently git repositories under /var/www/git/repos (served by Apache) and under /home/git/gogs-repositories (served by Gogs).
Apache runs as user www-data and thus user www-data owns the files in /var/www/git/repos.
Gogs runs as user git and thus user git owns the files in /home/git/gogs-repositories.
There are also a bunch of git repositories used for various system configurations, but they are not exposed to public services as such.
Access methods
HTTPS (Read/Write)
Repos in /var/www/git/repos are served via https://git.osgeo.org/git/REPONAME.
Repos in /home/git/gogs-repositories are served via https://git.osgeo.org/_gogs_/REPONAME.
In both cases, LDAP authentication is allowed. For the /git/REPONAME LDAP authentication is _required_, and you need to use the Git protocol access for an anonymous checkout.
In both cases, http access redirects to https.
TODO: write something about gitweb
GIT protocol (public access)
Repos in /var/www/git/repos are served via git protocol with git://git.osgeo.org/git/REPONAME
Repos in /home/git/gogs-repositories are NOT accessible via git protocol.