about summary refs log tree commit diff
path: root/ops/modules/www
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-17T20·30+0100
committerclbot <clbot@tvl.fyi>2023-10-17T20·36+0000
commit2d51da7f40e85b9411642e4c65efb23a9a0c4255 (patch)
tree0ee01ee02ea4dcfb76d892e8ee7a14df8af66b16 /ops/modules/www
parent6e8fbc830a28cdca26da1dec583657706b84702f (diff)
chore(tvix/store-go): rename go module r/6848
`code.tvl.fyi/tvix/store/protos` now points to a directory that only
contains the `.proto` files, while all golang tooling and .pb.go files
live in tvix/store-go.

As discussed in
https://cl.tvl.fyi/c/depot/+/9787/comment/fc5d155c_1bd38e3a/, the amount
of people currently using this is still small, so rename the go.mod now,
while it doesn't yet hurt.

Also, use code.tvl.fyi/tvix/castore-go instead of code.tvl.fyi/tvix/
castore/protos, to make use of cl/9791.

Change-Id: I9ea89957d7c29dfae4c893b9aae8ac8a0bad2d8e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9792
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'ops/modules/www')
-rw-r--r--ops/modules/www/code.tvl.fyi.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/ops/modules/www/code.tvl.fyi.nix b/ops/modules/www/code.tvl.fyi.nix
index bf0e574f2656..efb4b6a8f5a2 100644
--- a/ops/modules/www/code.tvl.fyi.nix
+++ b/ops/modules/www/code.tvl.fyi.nix
@@ -24,8 +24,8 @@
             alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/castore-go git https://code.tvl.fyi/depot.git:/tvix/castore-go.git"></html>''};
         }
 
-        location = /go-get/tvix/store/protos {
-            alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/store/protos git https://code.tvl.fyi/depot.git:/tvix/store-go.git"></html>''};
+        location = /go-get/tvix/store-go {
+            alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/store-go git https://code.tvl.fyi/depot.git:/tvix/store-go.git"></html>''};
         }
 
         location = /go-get/tvix/nar-bridge {
@@ -44,9 +44,9 @@
             }
         }
 
-        location = /tvix/store/protos {
+        location = /tvix/store-go {
             if ($args ~* "/?go-get=1") {
-                return 302 /go-get/tvix/store/protos;
+                return 302 /go-get/tvix/store-go;
             }
         }