Difference between revisions of "SAC:Gitea"

From OSGeo
Jump to navigation Jump to search
(update official URL)
 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
 
Server configuration is done via https://gitea.osgeo.org/sac/ansible-deployment
 
Server configuration is done via https://gitea.osgeo.org/sac/ansible-deployment
 
  (requires login and authorization to see)
 
  (requires login and authorization to see)
 +
 +
As of 2025 we're debating whether to switch to [[Forgejo]] instead
  
 
== Starting and stopping the service ==
 
== Starting and stopping the service ==
Line 48: Line 50:
  
 
[[Category:Infrastructure]]
 
[[Category:Infrastructure]]
 +
[[Category:Services]]

Latest revision as of 05:39, 20 November 2025

Gitea is an instance of the Go Git Service that runs on TracSVN as part of the OSGeo Git Services.

It can be accessed via https://gitea.osgeo.org/ (login with your OSGeo Userid)

Until September 2025 it was accessible also as https://git.osgeo.org/gitea/ - it should still be for backward compatibility

Files location and configuration

It is installed in /home/git/gitea. Its configuration is in the custom/ subdir and controlled via ansible.

Repositories are in /home/git/gitea-repositories and all files are created as readable for any user in the git group. Apache running user (www-data) is made part of the group to allow for browsing gitea-managed repositories via existing trac instances.

Attachment and session data are in /home/git/gitea/data.

It is configured to use LDAP for authentication and PostgreSQL as the backend, see the configuration for access parameters.

Backups are currently automated for the database and data directory via scripts in /osgeo/backup/ (start from /osgeo/backup/bacula_before.sh). No repositories are backed up (what's a distributed code version control system worth otherwise?:). Refer to SAC:Backups for other backup info.

It listens on IP 127.0.0.1 and TCP port 3001 via HTTP. Apache is configured to deal with HTTPS and act as a proxy. See TracSVN for info about the apache configuration.

Gitea is built to be composed by a single binary. See https://gitea.io/ for more info.

Administration

At the moment Sandro Santilli (promoter of the initiative) and Martin Spott have admin privileges from the web UI. Regina Obe and Jeff McKenna are willing to help.

Server configuration is done via https://gitea.osgeo.org/sac/ansible-deployment

(requires login and authorization to see)

As of 2025 we're debating whether to switch to Forgejo instead

Starting and stopping the service

The service is managed via systemctl:

 - systemctl start gitea
 - systemctl stop gitea
 - systemctl restart gitea

Continuous integration

A CI server is associated to the hosting service, see Dronie and Woodie