diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-12T01·04+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-12T01·04+0000 |
commit | 8e52e74bd3d38e519c951aca8a5c4a4c89c609e5 (patch) | |
tree | 42e3e7f9a9353de0916c8f6261b8d0c306d2f3ce /ops/nixos/nugget | |
parent | f60eb6c3c76347cc5ff304d018763b10d0116e55 (diff) |
feat(ops/nixos/camden): Set up cgit service r/545
Adds a user & group which are configured to own the local depot copy, and a cgit service to serve it. The depot checkout was configured as: mkdir -p /var/git && chown git: /var/git # now, as the git user, in /var/git git clone --bare ... depot chmod -R g+rw /var/git chmod g+s (find /var/git -type d) git init --bare --shared=all depot My personal user is a member of the git group, which means that after the above configuration I can push to the bare repo as my user and things work. Also, crucially, the `post-update` hook must be enabled as cgit uses the dumb HTTP transport.
Diffstat (limited to 'ops/nixos/nugget')
0 files changed, 0 insertions, 0 deletions