From 18cc5d7cd9045f683a7f217ebf0286432334809b Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 16 Nov 2024 15:30:41 +0000 Subject: [PATCH] depotwide: migrate to git.lukegb.com --- go/buildgo2/asm/default.nix | 2 +- go/buildgo2/cgo/default.nix | 2 +- go/buildgo2/main.go | 4 ++-- go/go.mod | 2 +- go/nix/bcachegc/bcachegc.go | 4 ++-- go/nix/bcacheup/bcacheup.go | 8 ++++---- go/nix/bnix/bnix.go | 8 ++++---- go/nix/bnixbuild/bnixbuild.go | 8 ++++---- go/nix/nar/default.nix | 2 +- go/nix/nar/narinfo/default.nix | 2 +- go/nix/nar/narpacker.go | 2 +- go/nix/nar/narpacker_test.go | 2 +- go/nix/nar/narunpacker.go | 2 +- go/nix/nixbuild/config.go | 6 +++--- go/nix/nixbuild/coordinator.go | 4 ++-- go/nix/nixbuild/default.nix | 2 +- go/nix/nixbuild/httpresolver.go | 2 +- go/nix/nixbuild/peerresolver.go | 10 +++++----- go/nix/nixbuild/peerresolver_test.go | 4 ++-- go/nix/nixbuild/workitem.go | 6 +++--- go/nix/nixdrv/default.nix | 2 +- go/nix/nixdrv/nixdrv.go | 2 +- go/nix/nixdrv/nixdrvhash_test.go | 2 +- go/nix/nixhash/default.nix | 2 +- go/nix/nixpool/default.nix | 2 +- go/nix/nixpool/dialer.go | 2 +- go/nix/nixpool/nixpool.go | 2 +- go/nix/nixstore/default.nix | 2 +- go/nix/nixstore/nixstore.go | 2 +- go/nix/nixstore/remotestore.go | 8 ++++---- go/nix/nixstore/sqlitestore.go | 2 +- go/nix/nixwire/default.nix | 2 +- go/nix/nixwire/nixwire.go | 2 +- go/trains/cmd/darwiningestd/darwiningestd.go | 8 ++++---- go/trains/cmd/db2web/db2web.go | 4 ++-- go/trains/cmd/train2livesplit/train2livesplit.go | 2 +- go/trains/darwin/darwindb/darwindb.go | 2 +- go/trains/darwin/darwindb/ddbref.go | 2 +- go/trains/darwin/darwindb/ddbschedule.go | 2 +- go/trains/darwin/darwindb/ddbtrainstatus.go | 2 +- go/trains/darwin/darwindb/default.nix | 2 +- go/trains/darwin/darwindb/tsutil.go | 2 +- go/trains/darwin/darwingest/darwingest.go | 6 +++--- .../darwingest/darwingestftp/darwingestftp.go | 2 +- .../darwin/darwingest/darwingestftp/default.nix | 2 +- .../darwingest/darwingests3/darwingests3.go | 2 +- .../darwin/darwingest/darwingests3/default.nix | 2 +- .../darwingest/darwingeststomp/default.nix | 2 +- go/trains/darwin/darwingest/default.nix | 2 +- go/trains/darwin/default.nix | 2 +- go/trains/go.mod | 2 +- go/trains/webapi/default.nix | 2 +- go/trains/webapi/summarize/default.nix | 2 +- go/trains/webapi/summarize/service.go | 2 +- go/vault/vaultgcp/default.nix | 2 +- go/vault/vaultgcsblob/default.nix | 2 +- go/vault/vaultgcsblob/vaultgcsblob.go | 2 +- web/barf/frontend/barfcli/barfcli.go | 2 +- web/barf/frontend/frontend.go | 2 +- web/barf/frontend/go.mod | 2 +- web/barf/sapi/go.mod | 2 +- web/fup/cmd/extractstatic.go | 2 +- web/fup/cmd/serve.go | 6 +++--- web/fup/default.nix | 2 +- web/fup/fup.go | 2 +- web/fup/fuphttp/auth_test.go | 2 +- web/fup/fuphttp/fngen/fngen_test.go | 2 +- web/fup/fuphttp/fuphttp.go | 4 ++-- web/fup/fuphttp/fuphttp_test.go | 4 ++-- web/fup/fuphttp/fupoidc/fupoidc.go | 2 +- web/fup/fuphttp/httpupload.go | 2 +- web/fup/fupstatic/fupstatic.go | 2 +- web/fup/go.mod | 2 +- web/fup/minicheddar/minicheddar_test.go | 2 +- web/int/index.html | 2 +- web/lukegbcom/posts/2022-04-07-vault-and-me.md | 16 ++++++++-------- 76 files changed, 117 insertions(+), 117 deletions(-) diff --git a/go/buildgo2/asm/default.nix b/go/buildgo2/asm/default.nix index 2d83ae6302..911f2914da 100644 --- a/go/buildgo2/asm/default.nix +++ b/go/buildgo2/asm/default.nix @@ -2,6 +2,6 @@ depot.third_party.buildGo2.package { name = "asm"; - path = "hg.lukegb.com/lukegb/depot/go/buildgo2/asm"; + path = "git.lukegb.com/lukegb/depot/go/buildgo2/asm"; srcs = [ ./buildgo2.go ./add.S ]; } diff --git a/go/buildgo2/cgo/default.nix b/go/buildgo2/cgo/default.nix index 968c4fc6ca..9037e3a63a 100644 --- a/go/buildgo2/cgo/default.nix +++ b/go/buildgo2/cgo/default.nix @@ -2,7 +2,7 @@ depot.third_party.buildGo2.package { name = "cgo"; - path = "hg.lukegb.com/lukegb/depot/go/buildgo2/cgo"; + path = "git.lukegb.com/lukegb/depot/go/buildgo2/cgo"; srcs = [ ./cgo.go ./cgo.h ./cgo.c ]; cgo = true; } diff --git a/go/buildgo2/main.go b/go/buildgo2/main.go index d9c8cf52de..aba43fa503 100644 --- a/go/buildgo2/main.go +++ b/go/buildgo2/main.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "hg.lukegb.com/lukegb/depot/go/buildgo2/asm" - //"hg.lukegb.com/lukegb/depot/go/buildgo2/cgo" + "git.lukegb.com/lukegb/depot/go/buildgo2/asm" + //"git.lukegb.com/lukegb/depot/go/buildgo2/cgo" ) func main() { diff --git a/go/go.mod b/go/go.mod index 060bb4b641..b0198472a0 100644 --- a/go/go.mod +++ b/go/go.mod @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -module hg.lukegb.com/lukegb/depot/go +module git.lukegb.com/lukegb/depot/go go 1.18 diff --git a/go/nix/bcachegc/bcachegc.go b/go/nix/bcachegc/bcachegc.go index 29e45ba416..50e08d88cf 100644 --- a/go/nix/bcachegc/bcachegc.go +++ b/go/nix/bcachegc/bcachegc.go @@ -18,10 +18,10 @@ import ( "gocloud.dev/blob" "golang.org/x/sync/errgroup" "golang.org/x/sync/singleflight" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" _ "gocloud.dev/blob/gcsblob" - _ "hg.lukegb.com/lukegb/depot/go/vault/vaultgcsblob" + _ "git.lukegb.com/lukegb/depot/go/vault/vaultgcsblob" ) var ( diff --git a/go/nix/bcacheup/bcacheup.go b/go/nix/bcacheup/bcacheup.go index cd60f9ff48..e035a97e31 100644 --- a/go/nix/bcacheup/bcacheup.go +++ b/go/nix/bcacheup/bcacheup.go @@ -21,13 +21,13 @@ import ( "gocloud.dev/blob" "golang.org/x/sync/errgroup" "golang.org/x/sync/singleflight" - "hg.lukegb.com/lukegb/depot/go/nix/nar" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nar" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" _ "gocloud.dev/blob/fileblob" _ "gocloud.dev/blob/gcsblob" - _ "hg.lukegb.com/lukegb/depot/go/vault/vaultgcsblob" + _ "git.lukegb.com/lukegb/depot/go/vault/vaultgcsblob" ) var ( diff --git a/go/nix/bnix/bnix.go b/go/nix/bnix/bnix.go index 15afa68765..b1f9c786c6 100644 --- a/go/nix/bnix/bnix.go +++ b/go/nix/bnix/bnix.go @@ -9,10 +9,10 @@ import ( "os" "sync" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixpool" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixpool" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) var ( diff --git a/go/nix/bnixbuild/bnixbuild.go b/go/nix/bnixbuild/bnixbuild.go index c3db161054..729aee8d56 100644 --- a/go/nix/bnixbuild/bnixbuild.go +++ b/go/nix/bnixbuild/bnixbuild.go @@ -11,10 +11,10 @@ import ( "strings" "sync" - "hg.lukegb.com/lukegb/depot/go/nix/nixbuild" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixpool" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nixbuild" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixpool" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) type remoteDefinition struct { diff --git a/go/nix/nar/default.nix b/go/nix/nar/default.nix index 70bf02d05e..903e646078 100644 --- a/go/nix/nar/default.nix +++ b/go/nix/nar/default.nix @@ -5,7 +5,7 @@ { depot, ... }@args: (depot.third_party.buildGo.package { name = "nar"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nar"; + path = "git.lukegb.com/lukegb/depot/go/nix/nar"; srcs = [ ./dirfs.go ./inmemoryfs.go diff --git a/go/nix/nar/narinfo/default.nix b/go/nix/nar/narinfo/default.nix index 5f041d18a6..fc2ea8b973 100644 --- a/go/nix/nar/narinfo/default.nix +++ b/go/nix/nar/narinfo/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "narinfo"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo"; + path = "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo"; srcs = [ ./narinfo.go ]; diff --git a/go/nix/nar/narpacker.go b/go/nix/nar/narpacker.go index 5e0dd1c923..0c0bd0ad79 100644 --- a/go/nix/nar/narpacker.go +++ b/go/nix/nar/narpacker.go @@ -7,7 +7,7 @@ import ( "path" "sort" - "hg.lukegb.com/lukegb/depot/go/nix/nixwire" + "git.lukegb.com/lukegb/depot/go/nix/nixwire" ) type FS interface { diff --git a/go/nix/nar/narpacker_test.go b/go/nix/nar/narpacker_test.go index e08f14f666..ae66bbbe93 100644 --- a/go/nix/nar/narpacker_test.go +++ b/go/nix/nar/narpacker_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "hg.lukegb.com/lukegb/depot/go/nix/nixwire" + "git.lukegb.com/lukegb/depot/go/nix/nixwire" ) func TestHeader(t *testing.T) { diff --git a/go/nix/nar/narunpacker.go b/go/nix/nar/narunpacker.go index 4caa2d30bc..a732ba18a0 100644 --- a/go/nix/nar/narunpacker.go +++ b/go/nix/nar/narunpacker.go @@ -10,7 +10,7 @@ import ( "io" "strings" - "hg.lukegb.com/lukegb/depot/go/nix/nixwire" + "git.lukegb.com/lukegb/depot/go/nix/nixwire" ) type WriteFile interface { diff --git a/go/nix/nixbuild/config.go b/go/nix/nixbuild/config.go index 30b00bc857..d8fd044940 100644 --- a/go/nix/nixbuild/config.go +++ b/go/nix/nixbuild/config.go @@ -9,9 +9,9 @@ import ( "io" "strings" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixpool" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixpool" ) type Fetcher interface { diff --git a/go/nix/nixbuild/coordinator.go b/go/nix/nixbuild/coordinator.go index 256d603442..7888be7d31 100644 --- a/go/nix/nixbuild/coordinator.go +++ b/go/nix/nixbuild/coordinator.go @@ -9,8 +9,8 @@ import ( "sort" "sync" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) type Coordinator struct { diff --git a/go/nix/nixbuild/default.nix b/go/nix/nixbuild/default.nix index 822e8190c6..f3be955beb 100644 --- a/go/nix/nixbuild/default.nix +++ b/go/nix/nixbuild/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "nixbuild"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nixbuild"; + path = "git.lukegb.com/lukegb/depot/go/nix/nixbuild"; srcs = [ ./config.go ./coordinator.go diff --git a/go/nix/nixbuild/httpresolver.go b/go/nix/nixbuild/httpresolver.go index 793b3aad0d..78fe6af750 100644 --- a/go/nix/nixbuild/httpresolver.go +++ b/go/nix/nixbuild/httpresolver.go @@ -13,7 +13,7 @@ import ( "regexp" "github.com/numtide/go-nix/nixbase32" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" ) var ( diff --git a/go/nix/nixbuild/peerresolver.go b/go/nix/nixbuild/peerresolver.go index 93071e0014..33b2d5171a 100644 --- a/go/nix/nixbuild/peerresolver.go +++ b/go/nix/nixbuild/peerresolver.go @@ -13,11 +13,11 @@ import ( "io" "path" - "hg.lukegb.com/lukegb/depot/go/nix/nar" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixpool" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nar" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixpool" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) type PeerFetcher struct { diff --git a/go/nix/nixbuild/peerresolver_test.go b/go/nix/nixbuild/peerresolver_test.go index 4eeb6fdf09..ef7b9eb83b 100644 --- a/go/nix/nixbuild/peerresolver_test.go +++ b/go/nix/nixbuild/peerresolver_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "hg.lukegb.com/lukegb/depot/go/nix/nixpool" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nixpool" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) // DELETE ME diff --git a/go/nix/nixbuild/workitem.go b/go/nix/nixbuild/workitem.go index b3e6c61556..5d70079982 100644 --- a/go/nix/nixbuild/workitem.go +++ b/go/nix/nixbuild/workitem.go @@ -14,9 +14,9 @@ import ( "sort" "sync" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) type WorkItem struct { diff --git a/go/nix/nixdrv/default.nix b/go/nix/nixdrv/default.nix index c339619b1f..3979e22cca 100644 --- a/go/nix/nixdrv/default.nix +++ b/go/nix/nixdrv/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "nixdrv"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nixdrv"; + path = "git.lukegb.com/lukegb/depot/go/nix/nixdrv"; srcs = [ ./nixdrv.go ./localfs.go diff --git a/go/nix/nixdrv/nixdrv.go b/go/nix/nixdrv/nixdrv.go index f5a264c9eb..2684f8e88d 100644 --- a/go/nix/nixdrv/nixdrv.go +++ b/go/nix/nixdrv/nixdrv.go @@ -14,7 +14,7 @@ import ( "sort" "strings" - "hg.lukegb.com/lukegb/depot/go/nix/nixhash" + "git.lukegb.com/lukegb/depot/go/nix/nixhash" ) type Output struct { diff --git a/go/nix/nixdrv/nixdrvhash_test.go b/go/nix/nixdrv/nixdrvhash_test.go index bf74caa246..4c8658b4dc 100644 --- a/go/nix/nixdrv/nixdrvhash_test.go +++ b/go/nix/nixdrv/nixdrvhash_test.go @@ -9,7 +9,7 @@ import ( "github.com/google/go-cmp/cmp" ) -const testData = `Derive([("out","/nix/store/prcng4aaimpjmnn7w0r8p4yfsqknmd64-golib-nixbuild","","")],[("/nix/store/0d0g9c5311rsll1vbw1nckf8xci5px78-golib-golang.org_x_crypto_ssh.drv",["out"]),("/nix/store/2yf7xmgj0pdx1mxk8dxaf2nxkw5gb0h0-golib-github.com_numtide_go-nix_nixbase32.drv",["out"]),("/nix/store/a5r8sb3xk6p0is4z6pw7jflc97v623k0-golib-golang.org_x_crypto_chacha20.drv",["out"]),("/nix/store/dv6n6shvw8qdk7bc00ygyjqwk26jv7lh-golib-golang.org_x_crypto_blowfish.drv",["out"]),("/nix/store/dwfjpdgw8by8f4aidinqaxfkxwg7cz02-golib-golang.org_x_crypto_curve25519.drv",["out"]),("/nix/store/flrv8lx2775bgdmxhbspbzc7jh3fg2x7-golib-golang.org_x_crypto_ed25519.drv",["out"]),("/nix/store/ghdqkh5fgfscd4n2yzsv2z03v23vymxa-golib-github.com_mattn_go-sqlite3.drv",["out"]),("/nix/store/ix0pi11lhgm9m8nqi99gzfn07vjnhk6l-golib-golang.org_x_crypto_poly1305.drv",["out"]),("/nix/store/jfi4am6v5qhqk0gjq5ycrpb6y8754qxf-bash-5.2-p15.drv",["out"]),("/nix/store/jwz0c3yq7rwn8xjq5hb19awach94d559-golib-narinfo.drv",["out"]),("/nix/store/nvf2z167xbgr57jmyi4ywnd3pn73wsli-golib-nixstore.drv",["out"]),("/nix/store/q2kpxbf93znb9raraxj5kjfa20amfry0-golib-nixdrv.drv",["out"]),("/nix/store/q653yq6f7dxwir77q9ryi1gvbcdcs9b0-golib-golang.org_x_crypto_ssh_internal_bcrypt_pbkdf.drv",["out"]),("/nix/store/qym7bn0pqh3381c079dr5yv4fi6nlmkj-go-1.19.12.drv",["out"]),("/nix/store/s7y5gb05ka3rcpazvkax3hm1bz64d8f8-golib-nixwire.drv",["out"]),("/nix/store/sw37l040k8zh7v02xvfc3db6yyim8wcy-stdenv-linux.drv",["out"]),("/nix/store/walxgj9piwz01f03ldk6x4fn1l5hmx7f-golib-golang.org_x_crypto_internal_subtle.drv",["out"]),("/nix/store/zb4czqkdd83asjdmf2984djz47n2wph6-golib-nixpool.drv",["out"])],["/nix/store/4n7mpxfsgjv0mjssiagldv26m7255d5z-nixbuild.go","/nix/store/6xg259477c90a229xwmb53pdfkn6ig3g-default-builder.sh","/nix/store/96bcb71plkmp73gwinl9awb4kx0kx41b-peerresolver.go","/nix/store/m3x8b8mqliy6gw1ka4gcg83qgbcl0irz-state.go","/nix/store/mmnbiyvnd1bvxw4p1vdhlvkph4q28q29-workitem.go","/nix/store/qs17yzkmv8imp1h93723b4j79j043l18-httpresolver.go","/nix/store/s22qhmbxm275lxbpxxxk1i4s2nan27pl-config.go","/nix/store/zms41ag0wqm1x40g6z740c5w3pgpc0a4-coordinator.go"],"x86_64-linux","/nix/store/ir0j7zqlw9dc49grmwplppc7gh0s40yf-bash-5.2-p15/bin/bash",["-e","/nix/store/6xg259477c90a229xwmb53pdfkn6ig3g-default-builder.sh"],[("__structuredAttrs",""),("buildCommand","mkdir -p $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild\nEXTRAGO=\"\"\ncp /nix/store/s22qhmbxm275lxbpxxxk1i4s2nan27pl-config.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/config.go\ncp /nix/store/zms41ag0wqm1x40g6z740c5w3pgpc0a4-coordinator.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/coordinator.go\ncp /nix/store/qs17yzkmv8imp1h93723b4j79j043l18-httpresolver.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/httpresolver.go\ncp /nix/store/4n7mpxfsgjv0mjssiagldv26m7255d5z-nixbuild.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/nixbuild.go\ncp /nix/store/96bcb71plkmp73gwinl9awb4kx0kx41b-peerresolver.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/peerresolver.go\ncp /nix/store/m3x8b8mqliy6gw1ka4gcg83qgbcl0irz-state.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/state.go\ncp /nix/store/mmnbiyvnd1bvxw4p1vdhlvkph4q28q29-workitem.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/workitem.go\n\n\n/nix/store/71wgdw4snmvcbqkvly4lb5kham3nk5l9-go-1.19.12/bin/go tool compile -pack -o $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild.a -trimpath=$PWD -trimpath=/nix/store/71wgdw4snmvcbqkvly4lb5kham3nk5l9-go-1.19.12 -trimpath=$out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild -p hg.lukegb.com/lukegb/depot/go/nix/nixbuild -I /nix/store/rkna1n7ky45szab5lypfdmk0sjb8msqs-golib-nixstore -I /nix/store/d2w6m90zp0lpfd1h6mry95260ilgfs8h-golib-nixpool -I /nix/store/4r1c7qrgbj4h62srinpz7aps02amz7jd-golib-narinfo -I /nix/store/2icy6ahd2mbfim6s4r6yxpq95i4rlvgg-golib-nixwire -I /nix/store/0crllg0pzndv8p74scdvv41jy182b7mj-golib-github.com_mattn_go-sqlite3 -I /nix/store/wzb7f00nwkjwf1bya6wq7zswji3vcyis-golib-golang.org_x_crypto_ssh -I /nix/store/130v52aarlilgxdyjp6mmlpjiq4gw7df-golib-github.com_numtide_go-nix_nixbase32 -I /nix/store/7yhdfd5x9w1b3f6nb99kfb87myy58bk4-golib-nixdrv -I /nix/store/5ccrqcj75fhwzd5kdwa23pr0wj1h77cl-golib-golang.org_x_crypto_chacha20 -I /nix/store/7glvixy5lxmwdk2av9jymccdqrfq3v40-golib-golang.org_x_crypto_curve25519 -I /nix/store/7rfgqvkj8qxhl69wv2g6nfh9grcdvn4w-golib-golang.org_x_crypto_ed25519 -I /nix/store/1153gzqv9xqrhj4y1fdsxgl5zyjpkipl-golib-golang.org_x_crypto_poly1305 -I /nix/store/ddli4283d0r26m4wd16z6pcdrwplq4p5-golib-golang.org_x_crypto_ssh_internal_bcrypt_pbkdf -I /nix/store/1rykqga28bpn2cz2n1zygibrqbxms11j-golib-golang.org_x_crypto_internal_subtle -I /nix/store/cz6qi20aqqyzvdazy9xfnqz855zx3wj1-golib-golang.org_x_crypto_blowfish $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/config.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/coordinator.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/httpresolver.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/nixbuild.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/peerresolver.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/state.go $out/hg.lukegb.com/lukegb/depot/go/nix/nixbuild/workitem.go $EXTRAGO\n\n\n"),("buildInputs",""),("builder","/nix/store/ir0j7zqlw9dc49grmwplppc7gh0s40yf-bash-5.2-p15/bin/bash"),("cmakeFlags",""),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck",""),("doInstallCheck",""),("enableParallelBuilding","1"),("enableParallelChecking","1"),("enableParallelInstalling","1"),("mesonFlags",""),("name","golib-nixbuild"),("nativeBuildInputs",""),("out","/nix/store/prcng4aaimpjmnn7w0r8p4yfsqknmd64-golib-nixbuild"),("outputs","out"),("passAsFile","buildCommand"),("patches",""),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("stdenv","/nix/store/nfcsib9abh3qf6k30401sw7aw5vhi06v-stdenv-linux"),("strictDeps",""),("system","x86_64-linux")])` +const testData = `Derive([("out","/nix/store/prcng4aaimpjmnn7w0r8p4yfsqknmd64-golib-nixbuild","","")],[("/nix/store/0d0g9c5311rsll1vbw1nckf8xci5px78-golib-golang.org_x_crypto_ssh.drv",["out"]),("/nix/store/2yf7xmgj0pdx1mxk8dxaf2nxkw5gb0h0-golib-github.com_numtide_go-nix_nixbase32.drv",["out"]),("/nix/store/a5r8sb3xk6p0is4z6pw7jflc97v623k0-golib-golang.org_x_crypto_chacha20.drv",["out"]),("/nix/store/dv6n6shvw8qdk7bc00ygyjqwk26jv7lh-golib-golang.org_x_crypto_blowfish.drv",["out"]),("/nix/store/dwfjpdgw8by8f4aidinqaxfkxwg7cz02-golib-golang.org_x_crypto_curve25519.drv",["out"]),("/nix/store/flrv8lx2775bgdmxhbspbzc7jh3fg2x7-golib-golang.org_x_crypto_ed25519.drv",["out"]),("/nix/store/ghdqkh5fgfscd4n2yzsv2z03v23vymxa-golib-github.com_mattn_go-sqlite3.drv",["out"]),("/nix/store/ix0pi11lhgm9m8nqi99gzfn07vjnhk6l-golib-golang.org_x_crypto_poly1305.drv",["out"]),("/nix/store/jfi4am6v5qhqk0gjq5ycrpb6y8754qxf-bash-5.2-p15.drv",["out"]),("/nix/store/jwz0c3yq7rwn8xjq5hb19awach94d559-golib-narinfo.drv",["out"]),("/nix/store/nvf2z167xbgr57jmyi4ywnd3pn73wsli-golib-nixstore.drv",["out"]),("/nix/store/q2kpxbf93znb9raraxj5kjfa20amfry0-golib-nixdrv.drv",["out"]),("/nix/store/q653yq6f7dxwir77q9ryi1gvbcdcs9b0-golib-golang.org_x_crypto_ssh_internal_bcrypt_pbkdf.drv",["out"]),("/nix/store/qym7bn0pqh3381c079dr5yv4fi6nlmkj-go-1.19.12.drv",["out"]),("/nix/store/s7y5gb05ka3rcpazvkax3hm1bz64d8f8-golib-nixwire.drv",["out"]),("/nix/store/sw37l040k8zh7v02xvfc3db6yyim8wcy-stdenv-linux.drv",["out"]),("/nix/store/walxgj9piwz01f03ldk6x4fn1l5hmx7f-golib-golang.org_x_crypto_internal_subtle.drv",["out"]),("/nix/store/zb4czqkdd83asjdmf2984djz47n2wph6-golib-nixpool.drv",["out"])],["/nix/store/4n7mpxfsgjv0mjssiagldv26m7255d5z-nixbuild.go","/nix/store/6xg259477c90a229xwmb53pdfkn6ig3g-default-builder.sh","/nix/store/96bcb71plkmp73gwinl9awb4kx0kx41b-peerresolver.go","/nix/store/m3x8b8mqliy6gw1ka4gcg83qgbcl0irz-state.go","/nix/store/mmnbiyvnd1bvxw4p1vdhlvkph4q28q29-workitem.go","/nix/store/qs17yzkmv8imp1h93723b4j79j043l18-httpresolver.go","/nix/store/s22qhmbxm275lxbpxxxk1i4s2nan27pl-config.go","/nix/store/zms41ag0wqm1x40g6z740c5w3pgpc0a4-coordinator.go"],"x86_64-linux","/nix/store/ir0j7zqlw9dc49grmwplppc7gh0s40yf-bash-5.2-p15/bin/bash",["-e","/nix/store/6xg259477c90a229xwmb53pdfkn6ig3g-default-builder.sh"],[("__structuredAttrs",""),("buildCommand","mkdir -p $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild\nEXTRAGO=\"\"\ncp /nix/store/s22qhmbxm275lxbpxxxk1i4s2nan27pl-config.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/config.go\ncp /nix/store/zms41ag0wqm1x40g6z740c5w3pgpc0a4-coordinator.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/coordinator.go\ncp /nix/store/qs17yzkmv8imp1h93723b4j79j043l18-httpresolver.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/httpresolver.go\ncp /nix/store/4n7mpxfsgjv0mjssiagldv26m7255d5z-nixbuild.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/nixbuild.go\ncp /nix/store/96bcb71plkmp73gwinl9awb4kx0kx41b-peerresolver.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/peerresolver.go\ncp /nix/store/m3x8b8mqliy6gw1ka4gcg83qgbcl0irz-state.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/state.go\ncp /nix/store/mmnbiyvnd1bvxw4p1vdhlvkph4q28q29-workitem.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/workitem.go\n\n\n/nix/store/71wgdw4snmvcbqkvly4lb5kham3nk5l9-go-1.19.12/bin/go tool compile -pack -o $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild.a -trimpath=$PWD -trimpath=/nix/store/71wgdw4snmvcbqkvly4lb5kham3nk5l9-go-1.19.12 -trimpath=$out/git.lukegb.com/lukegb/depot/go/nix/nixbuild -p git.lukegb.com/lukegb/depot/go/nix/nixbuild -I /nix/store/rkna1n7ky45szab5lypfdmk0sjb8msqs-golib-nixstore -I /nix/store/d2w6m90zp0lpfd1h6mry95260ilgfs8h-golib-nixpool -I /nix/store/4r1c7qrgbj4h62srinpz7aps02amz7jd-golib-narinfo -I /nix/store/2icy6ahd2mbfim6s4r6yxpq95i4rlvgg-golib-nixwire -I /nix/store/0crllg0pzndv8p74scdvv41jy182b7mj-golib-github.com_mattn_go-sqlite3 -I /nix/store/wzb7f00nwkjwf1bya6wq7zswji3vcyis-golib-golang.org_x_crypto_ssh -I /nix/store/130v52aarlilgxdyjp6mmlpjiq4gw7df-golib-github.com_numtide_go-nix_nixbase32 -I /nix/store/7yhdfd5x9w1b3f6nb99kfb87myy58bk4-golib-nixdrv -I /nix/store/5ccrqcj75fhwzd5kdwa23pr0wj1h77cl-golib-golang.org_x_crypto_chacha20 -I /nix/store/7glvixy5lxmwdk2av9jymccdqrfq3v40-golib-golang.org_x_crypto_curve25519 -I /nix/store/7rfgqvkj8qxhl69wv2g6nfh9grcdvn4w-golib-golang.org_x_crypto_ed25519 -I /nix/store/1153gzqv9xqrhj4y1fdsxgl5zyjpkipl-golib-golang.org_x_crypto_poly1305 -I /nix/store/ddli4283d0r26m4wd16z6pcdrwplq4p5-golib-golang.org_x_crypto_ssh_internal_bcrypt_pbkdf -I /nix/store/1rykqga28bpn2cz2n1zygibrqbxms11j-golib-golang.org_x_crypto_internal_subtle -I /nix/store/cz6qi20aqqyzvdazy9xfnqz855zx3wj1-golib-golang.org_x_crypto_blowfish $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/config.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/coordinator.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/httpresolver.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/nixbuild.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/peerresolver.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/state.go $out/git.lukegb.com/lukegb/depot/go/nix/nixbuild/workitem.go $EXTRAGO\n\n\n"),("buildInputs",""),("builder","/nix/store/ir0j7zqlw9dc49grmwplppc7gh0s40yf-bash-5.2-p15/bin/bash"),("cmakeFlags",""),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck",""),("doInstallCheck",""),("enableParallelBuilding","1"),("enableParallelChecking","1"),("enableParallelInstalling","1"),("mesonFlags",""),("name","golib-nixbuild"),("nativeBuildInputs",""),("out","/nix/store/prcng4aaimpjmnn7w0r8p4yfsqknmd64-golib-nixbuild"),("outputs","out"),("passAsFile","buildCommand"),("patches",""),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("stdenv","/nix/store/nfcsib9abh3qf6k30401sw7aw5vhi06v-stdenv-linux"),("strictDeps",""),("system","x86_64-linux")])` const testPath = "/nix/store/c8xiwx5mlflhs0gxqa8v335w99izsbbj-golib-nixbuild.drv" func TestHash(t *testing.T) { diff --git a/go/nix/nixhash/default.nix b/go/nix/nixhash/default.nix index 45e3df0062..847bb9013b 100644 --- a/go/nix/nixhash/default.nix +++ b/go/nix/nixhash/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "nixhash"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nixhash"; + path = "git.lukegb.com/lukegb/depot/go/nix/nixhash"; srcs = [ ./nixhash.go ]; diff --git a/go/nix/nixpool/default.nix b/go/nix/nixpool/default.nix index e96615bc31..b33057b22c 100644 --- a/go/nix/nixpool/default.nix +++ b/go/nix/nixpool/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "nixpool"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nixpool"; + path = "git.lukegb.com/lukegb/depot/go/nix/nixpool"; srcs = [ ./dialer.go ./nixpool.go diff --git a/go/nix/nixpool/dialer.go b/go/nix/nixpool/dialer.go index 5ea522a938..81bda593f6 100644 --- a/go/nix/nixpool/dialer.go +++ b/go/nix/nixpool/dialer.go @@ -12,7 +12,7 @@ import ( "os" "golang.org/x/crypto/ssh" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) // DaemonFactory is the shape of a factory function. diff --git a/go/nix/nixpool/nixpool.go b/go/nix/nixpool/nixpool.go index ad9b85499f..a3db0bd6af 100644 --- a/go/nix/nixpool/nixpool.go +++ b/go/nix/nixpool/nixpool.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "hg.lukegb.com/lukegb/depot/go/nix/nixstore" + "git.lukegb.com/lukegb/depot/go/nix/nixstore" ) type Pool struct { diff --git a/go/nix/nixstore/default.nix b/go/nix/nixstore/default.nix index b3b264cf79..7406dd0686 100644 --- a/go/nix/nixstore/default.nix +++ b/go/nix/nixstore/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "nixstore"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nixstore"; + path = "git.lukegb.com/lukegb/depot/go/nix/nixstore"; srcs = [ ./activities.go ./nixstore.go diff --git a/go/nix/nixstore/nixstore.go b/go/nix/nixstore/nixstore.go index 048a59b453..9f52bdc1a8 100644 --- a/go/nix/nixstore/nixstore.go +++ b/go/nix/nixstore/nixstore.go @@ -3,7 +3,7 @@ package nixstore import ( "fmt" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" ) type Store interface { diff --git a/go/nix/nixstore/remotestore.go b/go/nix/nixstore/remotestore.go index 46e91dde29..99c575e43b 100644 --- a/go/nix/nixstore/remotestore.go +++ b/go/nix/nixstore/remotestore.go @@ -13,10 +13,10 @@ import ( "strings" "sync" - "hg.lukegb.com/lukegb/depot/go/nix/nar" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" - "hg.lukegb.com/lukegb/depot/go/nix/nixwire" + "git.lukegb.com/lukegb/depot/go/nix/nar" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixwire" ) const ( diff --git a/go/nix/nixstore/sqlitestore.go b/go/nix/nixstore/sqlitestore.go index 3e409df1d3..02360c52e2 100644 --- a/go/nix/nixstore/sqlitestore.go +++ b/go/nix/nixstore/sqlitestore.go @@ -7,7 +7,7 @@ import ( "path" "strings" - "hg.lukegb.com/lukegb/depot/go/nix/nar/narinfo" + "git.lukegb.com/lukegb/depot/go/nix/nar/narinfo" _ "github.com/mattn/go-sqlite3" ) diff --git a/go/nix/nixwire/default.nix b/go/nix/nixwire/default.nix index 198868a015..2bebad88ed 100644 --- a/go/nix/nixwire/default.nix +++ b/go/nix/nixwire/default.nix @@ -5,7 +5,7 @@ { depot, ... }@args: depot.third_party.buildGo.package { name = "nixwire"; - path = "hg.lukegb.com/lukegb/depot/go/nix/nixwire"; + path = "git.lukegb.com/lukegb/depot/go/nix/nixwire"; srcs = [ ./nixwire.go ]; diff --git a/go/nix/nixwire/nixwire.go b/go/nix/nixwire/nixwire.go index 3c9a86d683..02cf3c3b35 100644 --- a/go/nix/nixwire/nixwire.go +++ b/go/nix/nixwire/nixwire.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "hg.lukegb.com/lukegb/depot/go/nix/nixdrv" + "git.lukegb.com/lukegb/depot/go/nix/nixdrv" ) type Serializer struct { diff --git a/go/trains/cmd/darwiningestd/darwiningestd.go b/go/trains/cmd/darwiningestd/darwiningestd.go index 92dbf46297..e14471e73e 100644 --- a/go/trains/cmd/darwiningestd/darwiningestd.go +++ b/go/trains/cmd/darwiningestd/darwiningestd.go @@ -14,10 +14,10 @@ import ( "github.com/jlaffaye/ftp" "gocloud.dev/blob" "gocloud.dev/blob/s3blob" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" - "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwindb" - "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest" - "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingeststomp" + "git.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin/darwindb" + "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest" + "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingeststomp" ) var ( diff --git a/go/trains/cmd/db2web/db2web.go b/go/trains/cmd/db2web/db2web.go index 65b0d61b69..f0c777a4e2 100644 --- a/go/trains/cmd/db2web/db2web.go +++ b/go/trains/cmd/db2web/db2web.go @@ -18,8 +18,8 @@ import ( "golang.org/x/sync/errgroup" "google.golang.org/grpc" "google.golang.org/protobuf/encoding/protojson" - "hg.lukegb.com/lukegb/depot/go/trains/webapi" - "hg.lukegb.com/lukegb/depot/go/trains/webapi/summarize" + "git.lukegb.com/lukegb/depot/go/trains/webapi" + "git.lukegb.com/lukegb/depot/go/trains/webapi/summarize" ) var ( diff --git a/go/trains/cmd/train2livesplit/train2livesplit.go b/go/trains/cmd/train2livesplit/train2livesplit.go index 348fb7a48b..2f1bf9798f 100644 --- a/go/trains/cmd/train2livesplit/train2livesplit.go +++ b/go/trains/cmd/train2livesplit/train2livesplit.go @@ -13,7 +13,7 @@ import ( "text/template" "time" - "hg.lukegb.com/lukegb/depot/go/trains/webapi" + "git.lukegb.com/lukegb/depot/go/trains/webapi" ) var ( diff --git a/go/trains/darwin/darwindb/darwindb.go b/go/trains/darwin/darwindb/darwindb.go index 0e7b6bc247..ef7d27e038 100644 --- a/go/trains/darwin/darwindb/darwindb.go +++ b/go/trains/darwin/darwindb/darwindb.go @@ -6,7 +6,7 @@ import ( "log" pgx "github.com/jackc/pgx/v4" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) // handleDataResponse handles a Darwin DataResponse message (i.e. a SnapshotResponse or a UpdateResponse). diff --git a/go/trains/darwin/darwindb/ddbref.go b/go/trains/darwin/darwindb/ddbref.go index 026f50ad67..f3df6e2a2a 100644 --- a/go/trains/darwin/darwindb/ddbref.go +++ b/go/trains/darwin/darwindb/ddbref.go @@ -5,7 +5,7 @@ import ( "fmt" pgx "github.com/jackc/pgx/v4" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) // ProcessReferenceData updates the database by processing a PportReferenceData message in the given transaction. diff --git a/go/trains/darwin/darwindb/ddbschedule.go b/go/trains/darwin/darwindb/ddbschedule.go index 0695e00702..be1ad26f28 100644 --- a/go/trains/darwin/darwindb/ddbschedule.go +++ b/go/trains/darwin/darwindb/ddbschedule.go @@ -7,7 +7,7 @@ import ( "log" pgx "github.com/jackc/pgx/v4" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) type scheduleMode int diff --git a/go/trains/darwin/darwindb/ddbtrainstatus.go b/go/trains/darwin/darwindb/ddbtrainstatus.go index ba4dc1f375..2171517d54 100644 --- a/go/trains/darwin/darwindb/ddbtrainstatus.go +++ b/go/trains/darwin/darwindb/ddbtrainstatus.go @@ -8,7 +8,7 @@ import ( "time" pgx "github.com/jackc/pgx/v4" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) // handleTrainStatus handles a Darwin "TS" (train status) message. diff --git a/go/trains/darwin/darwindb/default.nix b/go/trains/darwin/darwindb/default.nix index 67de60a6f1..f6affca230 100644 --- a/go/trains/darwin/darwindb/default.nix +++ b/go/trains/darwin/darwindb/default.nix @@ -13,7 +13,7 @@ depot.third_party.buildGo.package { ./ddbtrainstatus.go ./tsutil.go ]; - path = "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwindb"; + path = "git.lukegb.com/lukegb/depot/go/trains/darwin/darwindb"; deps = with depot.third_party; [ gopkgs."github.com".jackc.pgx.v4 depot.go.trains.darwin diff --git a/go/trains/darwin/darwindb/tsutil.go b/go/trains/darwin/darwindb/tsutil.go index 3a1b786efb..c72894ed14 100644 --- a/go/trains/darwin/darwindb/tsutil.go +++ b/go/trains/darwin/darwindb/tsutil.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) // secondsify adds :00 onto the end of a string if it's HH:MM formatted, otherwise does nothing. diff --git a/go/trains/darwin/darwingest/darwingest.go b/go/trains/darwin/darwingest/darwingest.go index 266db9c2c7..1b406713d8 100644 --- a/go/trains/darwin/darwingest/darwingest.go +++ b/go/trains/darwin/darwingest/darwingest.go @@ -15,9 +15,9 @@ import ( "github.com/go-stomp/stomp/v3" "github.com/jlaffaye/ftp" "gocloud.dev/blob" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" - "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingestftp" - "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingests3" + "git.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingestftp" + "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingests3" ) func degzip(b []byte) ([]byte, error) { diff --git a/go/trains/darwin/darwingest/darwingestftp/darwingestftp.go b/go/trains/darwin/darwingest/darwingestftp/darwingestftp.go index f5d6677131..ed30e83877 100644 --- a/go/trains/darwin/darwingest/darwingestftp/darwingestftp.go +++ b/go/trains/darwin/darwingest/darwingestftp/darwingestftp.go @@ -12,7 +12,7 @@ import ( "time" "github.com/jlaffaye/ftp" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) func loadGzippedFile(ctx context.Context, sc *ftp.ServerConn, fn string, cb func(pp *darwin.PushPort) error) error { diff --git a/go/trains/darwin/darwingest/darwingestftp/default.nix b/go/trains/darwin/darwingest/darwingestftp/default.nix index 3134a2ee2f..a7b440c880 100644 --- a/go/trains/darwin/darwingest/darwingestftp/default.nix +++ b/go/trains/darwin/darwingest/darwingestftp/default.nix @@ -8,7 +8,7 @@ depot.third_party.buildGo.package { srcs = [ ./darwingestftp.go ]; - path = "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingestftp"; + path = "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingestftp"; deps = with depot.third_party; [ gopkgs."github.com".jlaffaye.ftp diff --git a/go/trains/darwin/darwingest/darwingests3/darwingests3.go b/go/trains/darwin/darwingest/darwingests3/darwingests3.go index bd3f114b2c..a1243681eb 100644 --- a/go/trains/darwin/darwingest/darwingests3/darwingests3.go +++ b/go/trains/darwin/darwingest/darwingests3/darwingests3.go @@ -14,7 +14,7 @@ import ( "time" "gocloud.dev/blob" - "hg.lukegb.com/lukegb/depot/go/trains/darwin" + "git.lukegb.com/lukegb/depot/go/trains/darwin" ) var ( diff --git a/go/trains/darwin/darwingest/darwingests3/default.nix b/go/trains/darwin/darwingest/darwingests3/default.nix index b5fe56b049..595cfa4dee 100644 --- a/go/trains/darwin/darwingest/darwingests3/default.nix +++ b/go/trains/darwin/darwingest/darwingests3/default.nix @@ -8,7 +8,7 @@ depot.third_party.buildGo.package { srcs = [ ./darwingests3.go ]; - path = "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingests3"; + path = "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingests3"; deps = with depot.third_party; [ gopkgs."gocloud.dev".blob diff --git a/go/trains/darwin/darwingest/darwingeststomp/default.nix b/go/trains/darwin/darwingest/darwingeststomp/default.nix index afdbd0b5b4..a3876fd86c 100644 --- a/go/trains/darwin/darwingest/darwingeststomp/default.nix +++ b/go/trains/darwin/darwingest/darwingeststomp/default.nix @@ -8,7 +8,7 @@ depot.third_party.buildGo.package { srcs = [ ./darwingeststomp.go ]; - path = "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingeststomp"; + path = "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest/darwingeststomp"; deps = with depot.third_party; [ gopkgs."github.com".go-stomp.stomp.v3 diff --git a/go/trains/darwin/darwingest/default.nix b/go/trains/darwin/darwingest/default.nix index 53258525b3..42a99c7189 100644 --- a/go/trains/darwin/darwingest/default.nix +++ b/go/trains/darwin/darwingest/default.nix @@ -8,7 +8,7 @@ depot.third_party.buildGo.package { srcs = [ ./darwingest.go ]; - path = "hg.lukegb.com/lukegb/depot/go/trains/darwin/darwingest"; + path = "git.lukegb.com/lukegb/depot/go/trains/darwin/darwingest"; deps = with depot.third_party; [ gopkgs."github.com".cenkalti.backoff.v4 gopkgs."github.com".go-stomp.stomp.v3 diff --git a/go/trains/darwin/default.nix b/go/trains/darwin/default.nix index 7e7dc7013f..2ad9bbfd9d 100644 --- a/go/trains/darwin/default.nix +++ b/go/trains/darwin/default.nix @@ -11,7 +11,7 @@ depot.third_party.buildGo.package { ./timezone.go ./util.go ]; - path = "hg.lukegb.com/lukegb/depot/go/trains/darwin"; + path = "git.lukegb.com/lukegb/depot/go/trains/darwin"; } // { darwindb = import ./darwindb args; darwingest = import ./darwingest args; diff --git a/go/trains/go.mod b/go/trains/go.mod index 701de573a8..e6b44ad5d8 100644 --- a/go/trains/go.mod +++ b/go/trains/go.mod @@ -1,4 +1,4 @@ -module hg.lukegb.com/lukegb/depot/go/trains +module git.lukegb.com/lukegb/depot/go/trains go 1.16 diff --git a/go/trains/webapi/default.nix b/go/trains/webapi/default.nix index ef844bbb2e..2ec2962105 100644 --- a/go/trains/webapi/default.nix +++ b/go/trains/webapi/default.nix @@ -5,7 +5,7 @@ { depot, ... }@args: depot.third_party.buildGo.grpc { name = "webapi"; - path = "hg.lukegb.com/lukegb/depot/go/trains/webapi"; + path = "git.lukegb.com/lukegb/depot/go/trains/webapi"; goPackage = "webapi"; protos = [ ./types.proto ./webapi.proto ]; withGrpc = true; diff --git a/go/trains/webapi/summarize/default.nix b/go/trains/webapi/summarize/default.nix index 448eab9842..51a9e5bc2c 100644 --- a/go/trains/webapi/summarize/default.nix +++ b/go/trains/webapi/summarize/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "summarize"; - path = "hg.lukegb.com/lukegb/depot/go/trains/webapi/summarize"; + path = "git.lukegb.com/lukegb/depot/go/trains/webapi/summarize"; srcs = [ ./service.go ]; deps = with depot.third_party; [ gopkgs."github.com".jackc.pgx.v4 diff --git a/go/trains/webapi/summarize/service.go b/go/trains/webapi/summarize/service.go index 7caf450dee..10ebead9b9 100644 --- a/go/trains/webapi/summarize/service.go +++ b/go/trains/webapi/summarize/service.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/jackc/pgx/v4" - "hg.lukegb.com/lukegb/depot/go/trains/webapi" + "git.lukegb.com/lukegb/depot/go/trains/webapi" ) type Querier interface { diff --git a/go/vault/vaultgcp/default.nix b/go/vault/vaultgcp/default.nix index ee94c3563b..425ca61983 100644 --- a/go/vault/vaultgcp/default.nix +++ b/go/vault/vaultgcp/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "vaultgcp"; - path = "hg.lukegb.com/lukegb/depot/go/vault/vaultgcp"; + path = "git.lukegb.com/lukegb/depot/go/vault/vaultgcp"; srcs = [ ./token.go ]; diff --git a/go/vault/vaultgcsblob/default.nix b/go/vault/vaultgcsblob/default.nix index be72150299..51fbfbc9a2 100644 --- a/go/vault/vaultgcsblob/default.nix +++ b/go/vault/vaultgcsblob/default.nix @@ -5,7 +5,7 @@ { depot, ... }: depot.third_party.buildGo.package { name = "vaultgcsblob"; - path = "hg.lukegb.com/lukegb/depot/go/vault/vaultgcsblob"; + path = "git.lukegb.com/lukegb/depot/go/vault/vaultgcsblob"; srcs = [ ./vaultgcsblob.go ]; diff --git a/go/vault/vaultgcsblob/vaultgcsblob.go b/go/vault/vaultgcsblob/vaultgcsblob.go index 20b8211ea8..f1559fe96d 100644 --- a/go/vault/vaultgcsblob/vaultgcsblob.go +++ b/go/vault/vaultgcsblob/vaultgcsblob.go @@ -11,7 +11,7 @@ import ( "gocloud.dev/blob" "gocloud.dev/blob/gcsblob" "gocloud.dev/gcp" - "hg.lukegb.com/lukegb/depot/go/vault/vaultgcp" + "git.lukegb.com/lukegb/depot/go/vault/vaultgcp" ) var ( diff --git a/web/barf/frontend/barfcli/barfcli.go b/web/barf/frontend/barfcli/barfcli.go index 90fed15405..b6ff839637 100644 --- a/web/barf/frontend/barfcli/barfcli.go +++ b/web/barf/frontend/barfcli/barfcli.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/spf13/cobra" - "hg.lukegb.com/lukegb/depot/web/barf/frontend/barfdb" + "git.lukegb.com/lukegb/depot/web/barf/frontend/barfdb" _ "github.com/mattn/go-sqlite3" ) diff --git a/web/barf/frontend/frontend.go b/web/barf/frontend/frontend.go index fcc1f8502b..1709d9886e 100644 --- a/web/barf/frontend/frontend.go +++ b/web/barf/frontend/frontend.go @@ -14,7 +14,7 @@ import ( "net/http/httputil" "net/url" - "hg.lukegb.com/lukegb/depot/web/barf/frontend/barfdb" + "git.lukegb.com/lukegb/depot/web/barf/frontend/barfdb" _ "github.com/mattn/go-sqlite3" ) diff --git a/web/barf/frontend/go.mod b/web/barf/frontend/go.mod index 7c9aa4e4d7..5660d36648 100644 --- a/web/barf/frontend/go.mod +++ b/web/barf/frontend/go.mod @@ -1,4 +1,4 @@ -module hg.lukegb.com/lukegb/depot/web/barf/frontend +module git.lukegb.com/lukegb/depot/web/barf/frontend go 1.21.7 diff --git a/web/barf/sapi/go.mod b/web/barf/sapi/go.mod index 36f5501592..e64b4cc1da 100644 --- a/web/barf/sapi/go.mod +++ b/web/barf/sapi/go.mod @@ -1,3 +1,3 @@ -module hg.lukegb.com/lukegb/depot/web/barf/sapi +module git.lukegb.com/lukegb/depot/web/barf/sapi go 1.21 diff --git a/web/fup/cmd/extractstatic.go b/web/fup/cmd/extractstatic.go index ade1d2eaf6..9c3cc8575a 100644 --- a/web/fup/cmd/extractstatic.go +++ b/web/fup/cmd/extractstatic.go @@ -13,7 +13,7 @@ import ( "path/filepath" "github.com/spf13/cobra" - "hg.lukegb.com/lukegb/depot/web/fup/fupstatic" + "git.lukegb.com/lukegb/depot/web/fup/fupstatic" ) func init() { diff --git a/web/fup/cmd/serve.go b/web/fup/cmd/serve.go index 38f7d020b5..d394fb1023 100644 --- a/web/fup/cmd/serve.go +++ b/web/fup/cmd/serve.go @@ -16,9 +16,9 @@ import ( "github.com/google/safehtml" "github.com/spf13/cobra" "github.com/spf13/viper" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp" - "hg.lukegb.com/lukegb/depot/web/fup/fupstatic" - "hg.lukegb.com/lukegb/depot/web/fup/minicheddar" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp" + "git.lukegb.com/lukegb/depot/web/fup/fupstatic" + "git.lukegb.com/lukegb/depot/web/fup/minicheddar" ) func init() { diff --git a/web/fup/default.nix b/web/fup/default.nix index d071042992..709923eb4a 100644 --- a/web/fup/default.nix +++ b/web/fup/default.nix @@ -25,7 +25,7 @@ pkgs.buildGoModule { meta = with pkgs.lib; { description = "Simple file upload manager."; - homepage = "https://hg.lukegb.com"; + homepage = "https://git.lukegb.com"; license = licenses.asl20; platforms = platforms.linux; }; diff --git a/web/fup/fup.go b/web/fup/fup.go index f7c70ee083..88ad160082 100644 --- a/web/fup/fup.go +++ b/web/fup/fup.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "hg.lukegb.com/lukegb/depot/web/fup/cmd" + "git.lukegb.com/lukegb/depot/web/fup/cmd" // Include various gocloud.dev backends. _ "gocloud.dev/blob/fileblob" diff --git a/web/fup/fuphttp/auth_test.go b/web/fup/fuphttp/auth_test.go index d1a1cf2e1e..88878443bd 100644 --- a/web/fup/fuphttp/auth_test.go +++ b/web/fup/fuphttp/auth_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp" ) func TestTokenAuthMiddlewareNoToken(t *testing.T) { diff --git a/web/fup/fuphttp/fngen/fngen_test.go b/web/fup/fuphttp/fngen/fngen_test.go index 0678533a0c..1f4f9ced38 100644 --- a/web/fup/fuphttp/fngen/fngen_test.go +++ b/web/fup/fuphttp/fngen/fngen_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp/fngen" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp/fngen" ) func TestIdentityGenerator(t *testing.T) { diff --git a/web/fup/fuphttp/fuphttp.go b/web/fup/fuphttp/fuphttp.go index f19c7fdd66..6eeedfe051 100644 --- a/web/fup/fuphttp/fuphttp.go +++ b/web/fup/fuphttp/fuphttp.go @@ -19,8 +19,8 @@ import ( shuncheckedconversions "github.com/google/safehtml/uncheckedconversions" "github.com/gorilla/mux" "gocloud.dev/blob" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp/fngen" - "hg.lukegb.com/lukegb/depot/web/fup/hashfs" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp/fngen" + "git.lukegb.com/lukegb/depot/web/fup/hashfs" ) const ( diff --git a/web/fup/fuphttp/fuphttp_test.go b/web/fup/fuphttp/fuphttp_test.go index 15beadecef..c4eec86a04 100644 --- a/web/fup/fuphttp/fuphttp_test.go +++ b/web/fup/fuphttp/fuphttp_test.go @@ -14,8 +14,8 @@ import ( "strings" "testing" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp" - "hg.lukegb.com/lukegb/depot/web/fup/fupstatic" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp" + "git.lukegb.com/lukegb/depot/web/fup/fupstatic" "gocloud.dev/blob" "gocloud.dev/blob/fileblob" diff --git a/web/fup/fuphttp/fupoidc/fupoidc.go b/web/fup/fuphttp/fupoidc/fupoidc.go index 97de1d3ace..1b8a88c567 100644 --- a/web/fup/fuphttp/fupoidc/fupoidc.go +++ b/web/fup/fuphttp/fupoidc/fupoidc.go @@ -16,7 +16,7 @@ import ( "github.com/coreos/go-oidc/v3/oidc" "golang.org/x/oauth2" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp" ) const ( diff --git a/web/fup/fuphttp/httpupload.go b/web/fup/fuphttp/httpupload.go index 2de4d5a927..9d1bb2fb27 100644 --- a/web/fup/fuphttp/httpupload.go +++ b/web/fup/fuphttp/httpupload.go @@ -22,7 +22,7 @@ import ( "github.com/gabriel-vasile/mimetype" "github.com/gorilla/mux" "gocloud.dev/blob" - "hg.lukegb.com/lukegb/depot/web/fup/fuphttp/fngen" + "git.lukegb.com/lukegb/depot/web/fup/fuphttp/fngen" ) // parseExpiry parses an expiry string. diff --git a/web/fup/fupstatic/fupstatic.go b/web/fup/fupstatic/fupstatic.go index 733d654bb8..92f59d8ba1 100644 --- a/web/fup/fupstatic/fupstatic.go +++ b/web/fup/fupstatic/fupstatic.go @@ -8,7 +8,7 @@ import ( "embed" "io/fs" - "hg.lukegb.com/lukegb/depot/web/fup/hashfs" + "git.lukegb.com/lukegb/depot/web/fup/hashfs" ) //go:embed css js img diff --git a/web/fup/go.mod b/web/fup/go.mod index 76dfbc525a..a66a63462a 100644 --- a/web/fup/go.mod +++ b/web/fup/go.mod @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -module hg.lukegb.com/lukegb/depot/web/fup +module git.lukegb.com/lukegb/depot/web/fup go 1.16 diff --git a/web/fup/minicheddar/minicheddar_test.go b/web/fup/minicheddar/minicheddar_test.go index 00c0e3337e..9310ee4e97 100644 --- a/web/fup/minicheddar/minicheddar_test.go +++ b/web/fup/minicheddar/minicheddar_test.go @@ -9,7 +9,7 @@ import ( "os/exec" "testing" - "hg.lukegb.com/lukegb/depot/web/fup/minicheddar" + "git.lukegb.com/lukegb/depot/web/fup/minicheddar" ) func TestSpawn(t *testing.T) { diff --git a/web/int/index.html b/web/int/index.html index 77ef3393da..039710959b 100644 --- a/web/int/index.html +++ b/web/int/index.html @@ -21,7 +21,7 @@ SPDX-License-Identifier: Apache-2.0
  • unifi
  • invoices
  • twitterchiver
  • -
  • hg (heptapod)
  • +
  • git (forgejo)
  • rundeck
  • netbox
  • paperless
  • diff --git a/web/lukegbcom/posts/2022-04-07-vault-and-me.md b/web/lukegbcom/posts/2022-04-07-vault-and-me.md index 035bd04784..30cc17b409 100644 --- a/web/lukegbcom/posts/2022-04-07-vault-and-me.md +++ b/web/lukegbcom/posts/2022-04-07-vault-and-me.md @@ -53,7 +53,7 @@ Broadly speaking, my setup roughly mirrors Kelsey Hightower's [Serverless Vault with Cloud Run](https://github.com/kelseyhightower/serverless-vault-with-cloud-run) - although I build the Docker container [using -Nix](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/nix/docker/vault/default.nix). +Nix](https://git.lukegb.com/lukegb/depot/src/branch/canon/nix/docker/vault/default.nix). It's a relatively neat setup, although... it turns out to be expensive. Maybe I'll move it to Oracle Cloud's free tier running on one of their ARM64 @@ -106,7 +106,7 @@ However sometimes there are users which are deployed on more than one machine - such as `gitlab-runner` - and that user should only get access to secrets on one specific host. I use this concept for granting access to `gitlab-runner` on a server called `clouvider-lon01` to be able to deploy to this blog! It [has -access](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/ops/vault/cfg/lukegbcom-deployer.nix) +access](https://git.lukegb.com/lukegb/depot/src/branch/canon/ops/vault/cfg/lukegbcom-deployer.nix) to get an OAuth token to a specific GCP service account with permission to deploy to Firebase Hosting via the `server/clouvider-lon01/app/gitlab-runner` policy, but the `gitlab-runner` user anywhere else is not permitted to get @@ -135,7 +135,7 @@ Servers are also permitted to have server-wide secrets. This is mostly just used for `secretsmgr` at the moment - arguably this could be its own app. By default, servers [have -access](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/ops/vault/cfg/policies/server.hcl) +access](https://git.lukegb.com/lukegb/depot/src/branch/canon/ops/vault/cfg/policies/server.hcl) to `kv/server/$HOSTNAME`, and to issue ACME certificates, and the Nix binary cache credentials. They also have the power to issue subtokens with lesser-power than themselves. @@ -175,14 +175,14 @@ policy hierarchy, so here's an example: I use the "App ID" mode in Vault to provision secrets to servers; when setting a machine up (a process I have not yet automated), I run -[`reissue-secret-id.sh`](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/ops/vault/reissue-secret-id.sh) +[`reissue-secret-id.sh`](https://git.lukegb.com/lukegb/depot/src/branch/canon/ops/vault/reissue-secret-id.sh) which revokes all existing secret IDs for that host and dumps out a Vault [response wrapped token](https://www.vaultproject.io/docs/concepts/response-wrapping), which can be used one time only to get the secret ID for that host. There's a -[`provision-secret-id`](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/ops/vault/default.nix) +[`provision-secret-id`](https://git.lukegb.com/lukegb/depot/src/branch/canon/ops/vault/default.nix) script installed on every machine which will then install the secret for me. Future work in this space for me is binding the secret to the TPM (e.g. using @@ -211,7 +211,7 @@ Unix socket effectively gets all the secrets shared to anything on the server. The secrets I use it to write to disk are strictly the plain KV type, rather than anything more sophisticated, but I do use some [relatively complicated Polkit -rules](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/ops/nixos/lib/vault-agent-secrets.nix) +rules](https://git.lukegb.com/lukegb/depot/src/branch/canon/ops/nixos/lib/vault-agent-secrets.nix) to allow it to reload/restart services when those secrets change. @@ -219,7 +219,7 @@ to allow it to reload/restart services when those secrets change. The user-based authentication I mentioned above (with the app policies and the `server-user`) policy is powered by -[`tokend`](https://hg.lukegb.com/lukegb/depot/-/tree/branch/default/go/tokend), +[`tokend`](https://git.lukegb.com/lukegb/depot/src/branch/canon/go/tokend), which is a daemon that listens on a Unix socket and proxies requests through the local Vault Agent, with a token issued that has a subset of the powers of the original server-wide token. @@ -239,7 +239,7 @@ checks the remaining lifetime of the certificates it's responsible for, and then reissues them if required. Similar to the Vault Agent above, I use some [Polkit -rules](https://hg.lukegb.com/lukegb/depot/-/blob/branch/default/ops/nixos/lib/secretsmgr.nix) +rules](https://git.lukegb.com/lukegb/depot/src/branch/canon/ops/nixos/lib/secretsmgr.nix) to allow it to restart the ACME certificate consumers (usually nginx or pomerium), and sshd.