chore(tvix/nar-bridge): update to latest go mod renames

- code.tvl.fyi/tvix/castore/protos -> code.tvl.fyi/tvix/castore-go
 - code.tvl.fyi/tvix/store/protos -> code.tvl.fyi/tvix/store-go

 See cl/9791, cl/9792 for context.

Change-Id: I44614c6ed40b9f52d9dcdea8e61fe2c3c830ce78
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9793
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2023-10-17 21:41:33 +01:00 committed by clbot
parent 2d51da7f40
commit 718af22dbb
18 changed files with 29 additions and 29 deletions

View file

@ -12,8 +12,8 @@ import (
"net/http"
"sync"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
storev1pb "code.tvl.fyi/tvix/store/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
storev1pb "code.tvl.fyi/tvix/store-go"
"github.com/go-chi/chi/v5"
nixhash "github.com/nix-community/go-nix/pkg/hash"
"github.com/nix-community/go-nix/pkg/nixbase32"

View file

@ -6,7 +6,7 @@ import (
"fmt"
"net/http"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
"code.tvl.fyi/tvix/nar-bridge/pkg/importer"
"github.com/go-chi/chi/v5"
mh "github.com/multiformats/go-multihash/core"

View file

@ -3,7 +3,7 @@ package http
import (
"fmt"
storev1pb "code.tvl.fyi/tvix/store/protos"
storev1pb "code.tvl.fyi/tvix/store-go"
mh "github.com/multiformats/go-multihash/core"
nixhash "github.com/nix-community/go-nix/pkg/hash"

View file

@ -11,7 +11,7 @@ import (
"strings"
"sync"
storev1pb "code.tvl.fyi/tvix/store/protos"
storev1pb "code.tvl.fyi/tvix/store-go"
"github.com/go-chi/chi/v5"
nixhash "github.com/nix-community/go-nix/pkg/hash"
"github.com/nix-community/go-nix/pkg/nixbase32"

View file

@ -7,8 +7,8 @@ import (
"sync"
"time"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
storev1pb "code.tvl.fyi/tvix/store/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
storev1pb "code.tvl.fyi/tvix/store-go"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5"
log "github.com/sirupsen/logrus"

View file

@ -8,7 +8,7 @@ import (
"fmt"
"io"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
log "github.com/sirupsen/logrus"
)

View file

@ -6,7 +6,7 @@ import (
"encoding/base64"
"fmt"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
log "github.com/sirupsen/logrus"
)

View file

@ -1,8 +1,8 @@
package importer
import (
castorev1pb "code.tvl.fyi/tvix/castore/protos"
storev1pb "code.tvl.fyi/tvix/store/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
storev1pb "code.tvl.fyi/tvix/store-go"
"fmt"
"github.com/nix-community/go-nix/pkg/narinfo"
"github.com/nix-community/go-nix/pkg/storepath"

View file

@ -9,7 +9,7 @@ import (
"path"
"strings"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
"github.com/nix-community/go-nix/pkg/nar"
)

View file

@ -8,7 +8,7 @@ import (
"os"
"testing"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
"code.tvl.fyi/tvix/nar-bridge/pkg/importer"
"github.com/stretchr/testify/require"
)

View file

@ -9,9 +9,9 @@ import (
"os"
"testing"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
"code.tvl.fyi/tvix/nar-bridge/pkg/importer"
storev1pb "code.tvl.fyi/tvix/store/protos"
storev1pb "code.tvl.fyi/tvix/store-go"
"github.com/stretchr/testify/require"
)

View file

@ -4,7 +4,7 @@ import (
"io"
"testing"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
"github.com/google/go-cmp/cmp"
"google.golang.org/protobuf/testing/protocmp"
"lukechampine.com/blake3"

View file

@ -10,9 +10,9 @@ import (
"net/http"
"net/url"
castorev1pb "code.tvl.fyi/tvix/castore/protos"
castorev1pb "code.tvl.fyi/tvix/castore-go"
"code.tvl.fyi/tvix/nar-bridge/pkg/importer"
storev1pb "code.tvl.fyi/tvix/store/protos"
storev1pb "code.tvl.fyi/tvix/store-go"
mh "github.com/multiformats/go-multihash/core"
"github.com/nix-community/go-nix/pkg/narinfo"
"github.com/nix-community/go-nix/pkg/nixbase32"