diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-05-25 15:43:12 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-05-27 17:06:12 +0300 |
commit | 12e0bf3ac80b72bef07a5733a70c270f70771859 (patch) | |
tree | 30d34863d4a51d7dbffd9be19038ab6f7288b0f2 /client | |
parent | 6d0661ae39285390cc3b03c6847b85a442c93364 (diff) |
Create module v14 gitaly version
The new "v14" version of the Gitaly module is named to match
the next GitLab release. The module versioning is needed in
order to pull gitaly as a dependency in other projects. The
change updates all imports to include v14 version. The go.mod
file was modified as well after go mod tidy execution. And
the changes in dependency licenses are reflected in the NOTICE
file.
Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/3177
Diffstat (limited to 'client')
-rw-r--r-- | client/client_test.go | 2 | ||||
-rw-r--r-- | client/dial.go | 2 | ||||
-rw-r--r-- | client/dial_test.go | 8 | ||||
-rw-r--r-- | client/pool.go | 2 | ||||
-rw-r--r-- | client/pool_test.go | 10 | ||||
-rw-r--r-- | client/receive_pack.go | 6 | ||||
-rw-r--r-- | client/upload_archive.go | 6 | ||||
-rw-r--r-- | client/upload_pack.go | 6 |
8 files changed, 21 insertions, 21 deletions
diff --git a/client/client_test.go b/client/client_test.go index d8433b65e..6414626c1 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/client/dial.go b/client/dial.go index 79a7b7e14..77020bf6b 100644 --- a/client/dial.go +++ b/client/dial.go @@ -3,7 +3,7 @@ package client import ( "context" - "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" "google.golang.org/grpc" healthpb "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/client/dial_test.go b/client/dial_test.go index e3f5a8cd8..a931987ae 100644 --- a/client/dial_test.go +++ b/client/dial_test.go @@ -15,10 +15,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/uber/jaeger-client-go" - gitalyauth "gitlab.com/gitlab-org/gitaly/auth" - proxytestdata "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/testdata" - "gitlab.com/gitlab-org/gitaly/internal/testhelper" - gitaly_x509 "gitlab.com/gitlab-org/gitaly/internal/x509" + gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" + proxytestdata "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/testdata" + "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + gitaly_x509 "gitlab.com/gitlab-org/gitaly/v14/internal/x509" "gitlab.com/gitlab-org/labkit/correlation" grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" grpctracing "gitlab.com/gitlab-org/labkit/tracing/grpc" diff --git a/client/pool.go b/client/pool.go index d7b2679cd..1c414870b 100644 --- a/client/pool.go +++ b/client/pool.go @@ -6,7 +6,7 @@ import ( "fmt" "sync" - gitalyauth "gitlab.com/gitlab-org/gitaly/auth" + gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "google.golang.org/grpc" ) diff --git a/client/pool_test.go b/client/pool_test.go index e025daa70..18bb48ea4 100644 --- a/client/pool_test.go +++ b/client/pool_test.go @@ -10,11 +10,11 @@ import ( grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - gitalyauth "gitlab.com/gitlab-org/gitaly/auth" - "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" - gitaly_auth "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth" - "gitlab.com/gitlab-org/gitaly/internal/testhelper" + gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" + "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" + gitaly_auth "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server/auth" + "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/health" diff --git a/client/receive_pack.go b/client/receive_pack.go index b3ca8d8d5..219e8dc4b 100644 --- a/client/receive_pack.go +++ b/client/receive_pack.go @@ -4,9 +4,9 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/internal/stream" - "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/streamio" + "gitlab.com/gitlab-org/gitaly/v14/internal/stream" + "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" ) diff --git a/client/upload_archive.go b/client/upload_archive.go index 118ef4787..1afd0e9a8 100644 --- a/client/upload_archive.go +++ b/client/upload_archive.go @@ -4,9 +4,9 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/internal/stream" - "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/streamio" + "gitlab.com/gitlab-org/gitaly/v14/internal/stream" + "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" ) diff --git a/client/upload_pack.go b/client/upload_pack.go index b7c004576..a075653ef 100644 --- a/client/upload_pack.go +++ b/client/upload_pack.go @@ -4,9 +4,9 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/internal/stream" - "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/streamio" + "gitlab.com/gitlab-org/gitaly/v14/internal/stream" + "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" ) |