diff options
| author | Joe Mou <dev@mou.fo> | 2024-12-23 13:36:27 -0800 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2025-06-27 18:07:20 -0400 |
| commit | a13fb60da18e16c20c7a160eac6a9f700058e55a (patch) | |
| tree | 296f9269c4d74b27b4ae24efc774bb7ac14300f6 /hostnix/elmo/syncthing.nix | |
| parent | 0389280b39c6945249011277f68ed1dab3cc8ba3 (diff) | |
Stripped down git hosting with cgit and git-shell
Advantages over Gitea (and most other git forges):
- Arbitrary repository hierarchies.
- Repository aliases with symlinks.
- No metadata to keep synchronized with repositories; simple automation.
Create new repos like:
$ sudo -u git git init --bare -b main /srv/git/2025/calmux.git
Ideally we would not require authentication for whitelisted public
repos. This is difficult with oauth2-proxy because to disable
auth_request we need a new location clause which does not "inherit" the
FastCGI configuration. Perhaps we could use cgit's built-in auth-filter.
Considered gitolite instead of git-shell (which would allow multiuser
authentication). This probably requires configuring each repo which
complicates automation.
Diffstat (limited to 'hostnix/elmo/syncthing.nix')
0 files changed, 0 insertions, 0 deletions
