Difference between revisions of "SAC:Git Service"
Line 1: | Line 1: | ||
The [[TracsvnVM]] machine hosts a few git related experimental services. This page describes where GIT repositories are and how they can be accessed. | The [[TracsvnVM]] machine hosts a few git related experimental services. This page describes where GIT repositories are and how they can be accessed. | ||
+ | |||
= Repositories = | = Repositories = | ||
Line 14: | Line 15: | ||
These repositories will only be writable by the ``git`` user, but are made readable also by the rest of the world. | These repositories will only be writable by the ``git`` user, but are made readable also by the rest of the world. | ||
− | = Access methods = | + | = ''Access methods'' = |
== HTTPS (Read/Write) == | == HTTPS (Read/Write) == | ||
− | |||
{| | {| | ||
Line 29: | Line 29: | ||
|<code>https://git.osgeo.org/_gogs_/REPONAME</code> | |<code>https://git.osgeo.org/_gogs_/REPONAME</code> | ||
|} | |} | ||
− | |||
− | |||
− | |||
In both cases, [[SAC:LDAP|LDAP]] authentication is allowed. | In both cases, [[SAC:LDAP|LDAP]] authentication is allowed. | ||
Line 46: | Line 43: | ||
The handling server is [[SAC:GitDaemon]] | The handling server is [[SAC:GitDaemon]] | ||
− | = Web Interfaces = | + | |
+ | = ''Web Interfaces'' = | ||
== gitweb == | == gitweb == | ||
− | |||
'''TODO''' | '''TODO''' | ||
Line 60: | Line 57: | ||
See [[SAC:Gogs]] | See [[SAC:Gogs]] | ||
+ | |||
= See Also = | = See Also = |
Revision as of 10:29, 19 April 2016
The TracsvnVM machine hosts a few git related experimental services. This page describes where GIT repositories are and how they can be accessed.
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.
Some of the repositories from /var/www/git/repos
are being transformed to symlinks to repos under /var/www/git/repos
.
These repositories will only be writable by the ``git`` user, but are made readable also by the rest of the world.
Access methods
HTTPS (Read/Write)
Repo | URL |
---|---|
/var/www/git/repos
|
https://git.osgeo.org/git/REPONAME
|
/home/git/gogs-repositories
|
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.
GIT protocol (Read Only)
Repos in /var/www/git/repos
are served via git protocol with git://git.osgeo.org/git/REPONAME
as long as they contain a file named git-daemon-export-ok
Repos in /home/git/gogs-repositories
are NOT accessible via git protocol, unless made available via symlinks from /var/www/git/repos
(as done for the GEOS repository, for example)
The handling server is SAC:GitDaemon
Web Interfaces
gitweb
TODO
trac
TODO
gogs
See SAC:Gogs