From 2d51da7f40e85b9411642e4c65efb23a9a0c4255 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 17 Oct 2023 21:30:29 +0100 Subject: chore(tvix/store-go): rename go module `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 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster --- ops/modules/www/code.tvl.fyi.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ops') diff --git a/ops/modules/www/code.tvl.fyi.nix b/ops/modules/www/code.tvl.fyi.nix index bf0e574f26..efb4b6a8f5 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" ''''}; } - location = /go-get/tvix/store/protos { - alias ${pkgs.writeText "go-import-metadata.html" ''''}; + location = /go-get/tvix/store-go { + alias ${pkgs.writeText "go-import-metadata.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; } } -- cgit 1.4.1