Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-10-06 15:51:11 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-10-10 17:10:34 +0300
commitf2047336a0a94b4aff2809bb0995aae82b4e8f97 (patch)
treee5212aed2a753b17836e713183a571cd91586129
parent0cd4b87513b7d76d30c2d424161d3635b13dba21 (diff)
Makefile: Regroup remaining dependency versions
Now that most dependency versions are tracked via `go.mod` files it makes more sense to keep the remaining versions in our Makefile close to where they are used. So let's regroup them for improved locality.
-rw-r--r--Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index f11be6d9d..c5b1b6fa6 100644
--- a/Makefile
+++ b/Makefile
@@ -96,17 +96,9 @@ ifdef GITALY_TESTING_ENABLE_SHA256
GIT2GO_BUILD_TAGS := ${GIT2GO_BUILD_TAGS},gitaly_test_sha256
endif
-# Dependency versions
-# https://pkg.go.dev/github.com/protocolbuffers/protobuf
-PROTOC_VERSION ?= v21.1
-# Git2Go and libgit2 may need to be updated in sync. Please refer to
-# https://github.com/libgit2/git2go/#which-go-version-to-use for a
-# compatibility matrix.
-GIT2GO_VERSION ?= v33
-LIBGIT2_VERSION ?= v1.3.2
-
# protoc target
-PROTOC_REPO_URL ?= https://github.com/protocolbuffers/protobuf
+PROTOC_VERSION ?= v21.1
+PROTOC_REPO_URL ?= https://github.com/protocolbuffers/protobuf
PROTOC_SOURCE_DIR ?= ${DEPENDENCY_DIR}/protobuf/source
PROTOC_BUILD_DIR ?= ${DEPENDENCY_DIR}/protobuf/build
PROTOC_INSTALL_DIR ?= ${DEPENDENCY_DIR}/protobuf/install
@@ -186,6 +178,11 @@ ifdef GIT_FIPS_BUILD_OPTIONS
endif
# libgit2 target
+# Git2Go and libgit2 may need to be updated in sync. Please refer to
+# https://github.com/libgit2/git2go/#which-go-version-to-use for a
+# compatibility matrix.
+GIT2GO_VERSION ?= v33
+LIBGIT2_VERSION ?= v1.3.2
LIBGIT2_REPO_URL ?= https://gitlab.com/libgit2/libgit2
LIBGIT2_SOURCE_DIR ?= ${DEPENDENCY_DIR}/libgit2/source
LIBGIT2_BUILD_DIR ?= ${DEPENDENCY_DIR}/libgit2/build