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 /tools/module-updater/main.go | |
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 'tools/module-updater/main.go')
-rw-r--r-- | tools/module-updater/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/module-updater/main.go b/tools/module-updater/main.go index 08c5db2d0..d8cfbda1e 100644 --- a/tools/module-updater/main.go +++ b/tools/module-updater/main.go @@ -259,8 +259,8 @@ func verifyModulePath(moduleRootPath string) error { // rewriteProto re-write proto files by changing the go_package option declaration: // 1. option go_package = "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"; -// 2. option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; -// 4. option go_package = "gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb"; +// 2. option go_package = "gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb"; +// 4. option go_package = "gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb"; func rewriteProto(moduleAbsRootPath, prev, next string) error { protoDirPath := filepath.Join(moduleAbsRootPath, "proto") if err := filepath.Walk(protoDirPath, func(path string, info fs.FileInfo, err error) error { |