tvl-depot/ops/modules/www
Vincent Ambo ec38839c33 feat(git-serving): Configure josh to serve the depot over HTTP
Previously we served the dumb git HTTP protocol from code.tvl.fyi via
cgit. This CL disables this feature and instead runs josh in the same
location (by redirecting appropriately), but while also enabling
partial cloning of all subtrees of the depot.

For example, after this CL the following would result in an
independent clone of //nix/readTree:

    git clone https://code.tvl.fyi/depot.git:/nix/readTree.git

Note that there are no josh workspaces configured at all for now,
these references are only for static depot subpaths.

Please refer to the documentation for josh for more information on
available kinds of josh filters.

Josh state is kept in a systemd state directory in /var/lib/josh and
backed up to Restic. Backing this up is necessary, as josh uses
stateful information to do things like tracking merges and rewriting
history per subtree appropriately to avoid cloned repositories ending
up in peculiar states.

Change-Id: I156f0298c2aa42e3bdbf5a0e86109070d640c56e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3563
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2021-09-16 20:34:05 +00:00
..
atward.tvl.fyi.nix fix(ops/www): Fix typo in nginx configuration 2021-05-05 09:48:49 +00:00
b.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
base.nix feat(ops/modules/www): Disable FLoC tracking for all TVL pages 2021-04-20 10:44:43 +00:00
cache.tvl.su.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
cl.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
code.tvl.fyi.nix feat(git-serving): Configure josh to serve the depot over HTTP 2021-09-16 20:34:05 +00:00
cs.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
deploys.tvl.fyi.nix fix(deploys.*): Folder for diffs is in /diff/ 2021-09-11 14:33:42 +00:00
images.tvl.fyi.nix feat(ops/www): Point images.tvl.* at Nixery 2021-08-13 10:57:53 +00:00
login.tvl.fyi.nix feat(apereo-cas): move away from 127.0.0.1:8443 2021-05-21 11:33:13 +00:00
nixery.dev.nix feat(ops): Serve nixery.dev from whitby 2021-08-24 11:30:16 +00:00
status.tvl.su.nix feat(whitby): Enable Grafana at status.tvl.su 2021-04-12 22:01:05 +00:00
tazj.in.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
todo.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
tvl.fyi.nix chore: Replace Freenode mentions with HackInt 2021-05-22 21:37:13 +00:00
wigglydonke.rs.nix fix(wigglydonke.rs): Don't rebuild nginx config unnecessarily 2021-05-25 17:10:50 +00:00