diff options
author | John Cai <jcai@gitlab.com> | 2022-05-11 17:31:47 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2022-05-20 17:30:07 +0300 |
commit | cd77c04625b069c9bbef1f6193705648868cf0c4 (patch) | |
tree | 52be358ddbfa65b101c1b05287e8fcb656b929f2 /client | |
parent | c7e6e84522b46f1d5c5f590201407617db739112 (diff) |
Update go package name from v14 to v15
This commit changes the major version in the package name from v14 to
v15
Updating go.mod & go.sum with new module name v15
Update Makefile to bump major version to v15
Update the gitaly package name in the Makefile. Also update
gitaly-git2go-v14 -> gitaly-git2go-v15. We need to keep
gitaly-git2go-v14 for a release however, for zero downtime upgrades.
This pulls directly from a sha that is v14.
Update package name from v14->v15 for auth, client, cmd, internal packages
This commit changes the package name from v14 to v15 in go and proto
files in the internal, auth, client, cmd packages.
proto: Update major package number in package name
tools: Change major version number in package name from v14 to v15
gitaly-git2go: Change the package name from v14 to v15
update module updater for v15
Update the documentation for the module updater to reflect v15
Diffstat (limited to 'client')
-rw-r--r-- | client/client_test.go | 2 | ||||
-rw-r--r-- | client/dial.go | 4 | ||||
-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/sidechannel.go | 6 | ||||
-rw-r--r-- | client/upload_archive.go | 6 | ||||
-rw-r--r-- | client/upload_pack.go | 6 |
9 files changed, 25 insertions, 25 deletions
diff --git a/client/client_test.go b/client/client_test.go index e8083a74e..8cd8c2c02 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -3,7 +3,7 @@ package client import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/v15/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/client/dial.go b/client/dial.go index 352003d09..2a4cb7f34 100644 --- a/client/dial.go +++ b/client/dial.go @@ -3,8 +3,8 @@ package client import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/v15/internal/sidechannel" "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 41e775a21..f958fc13c 100644 --- a/client/dial_test.go +++ b/client/dial_test.go @@ -16,10 +16,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/uber/jaeger-client-go" - 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" - gitalyx509 "gitlab.com/gitlab-org/gitaly/v14/internal/x509" + gitalyauth "gitlab.com/gitlab-org/gitaly/v15/auth" + proxytestdata "gitlab.com/gitlab-org/gitaly/v15/internal/praefect/grpc-proxy/testdata" + "gitlab.com/gitlab-org/gitaly/v15/internal/testhelper" + gitalyx509 "gitlab.com/gitlab-org/gitaly/v15/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 1c414870b..4fcd3835e 100644 --- a/client/pool.go +++ b/client/pool.go @@ -6,7 +6,7 @@ import ( "fmt" "sync" - gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" + gitalyauth "gitlab.com/gitlab-org/gitaly/v15/auth" "google.golang.org/grpc" ) diff --git a/client/pool_test.go b/client/pool_test.go index 924146fd7..37b6b9920 100644 --- a/client/pool_test.go +++ b/client/pool_test.go @@ -9,11 +9,11 @@ import ( grpcmw "github.com/grpc-ecosystem/go-grpc-middleware" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - gitalycfgauth "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" + gitalyauth "gitlab.com/gitlab-org/gitaly/v15/auth" + "gitlab.com/gitlab-org/gitaly/v15/internal/bootstrap/starter" + gitalycfgauth "gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/server/auth" + "gitlab.com/gitlab-org/gitaly/v15/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 3f1e98864..7d081d4c0 100644 --- a/client/receive_pack.go +++ b/client/receive_pack.go @@ -4,9 +4,9 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" - "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/v14/streamio" + "gitlab.com/gitlab-org/gitaly/v15/internal/stream" + "gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v15/streamio" "google.golang.org/grpc" ) diff --git a/client/sidechannel.go b/client/sidechannel.go index fc79502ea..100d32738 100644 --- a/client/sidechannel.go +++ b/client/sidechannel.go @@ -5,9 +5,9 @@ import ( "io" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/v15/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/v15/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/v15/internal/sidechannel" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) diff --git a/client/upload_archive.go b/client/upload_archive.go index 8bd0c3407..559eba93a 100644 --- a/client/upload_archive.go +++ b/client/upload_archive.go @@ -4,9 +4,9 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" - "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/v14/streamio" + "gitlab.com/gitlab-org/gitaly/v15/internal/stream" + "gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v15/streamio" "google.golang.org/grpc" ) diff --git a/client/upload_pack.go b/client/upload_pack.go index 8d971804b..863465068 100644 --- a/client/upload_pack.go +++ b/client/upload_pack.go @@ -4,9 +4,9 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" - "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/v14/streamio" + "gitlab.com/gitlab-org/gitaly/v15/internal/stream" + "gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v15/streamio" "google.golang.org/grpc" ) |