aboutsummaryrefslogtreecommitdiff
path: root/devel/gitaly
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gitaly')
-rw-r--r--devel/gitaly/Makefile8
-rw-r--r--devel/gitaly/distinfo18
-rw-r--r--devel/gitaly/files/patch-Makefile84
-rw-r--r--devel/gitaly/files/patch-config.toml.example19
4 files changed, 19 insertions, 110 deletions
diff --git a/devel/gitaly/Makefile b/devel/gitaly/Makefile
index 50b44de5e20d..f695543637b8 100644
--- a/devel/gitaly/Makefile
+++ b/devel/gitaly/Makefile
@@ -19,13 +19,16 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libiconv.so:converters/libiconv \
libpcre2-8.so:devel/pcre2
-USES= cpe gmake go:modules,no_targets,1.23 iconv pkgconfig
+USES= cpe gmake go:modules,no_targets,1.24 iconv pkgconfig
CPE_VENDOR= gitlab
USE_GITLAB= yes
GL_ACCOUNT= gitlab-org
-GL_TUPLE= gitlab-org:git:v${GITLAB_GIT_VERSION}:_build/_build/deps/git-v${GITLAB_GIT_VERSION_SHORT}
+GL_TUPLE= gitlab-org:git:v${GITLAB_GIT_VERSION}:git_dep/_build/deps/git-v${GITLAB_GIT_VERSION_SHORT} \
+ gitlab-org:git:${GITLAB_GIT_MASTER_VERSION}:git_master_dep/_build/deps/git-master \
+ gitlab-org:git:${GITLAB_GIT_PREV_VERSION}:git_prev_dep/_build/deps/git-prev
+
GO_MOD_DIST= gitlab
GO_MODULE= gitlab.com/gitlab-org/gitaly/v18
@@ -40,7 +43,6 @@ post-patch:
${MV} ${WRKSRC}/config.toml.example ${WRKSRC}/config.toml.sample
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}/bin
${FIND} ${WRKSRC} -name '*.orig' -delete
(cd ${WRKSRC}/_build/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin && \
diff --git a/devel/gitaly/distinfo b/devel/gitaly/distinfo
index 97ff03ab6d92..b0320bff6120 100644
--- a/devel/gitaly/distinfo
+++ b/devel/gitaly/distinfo
@@ -1,7 +1,11 @@
-TIMESTAMP = 1755072119
-SHA256 (go/devel_gitaly/gitaly-v18.2.2/go.mod) = ec7c02d0d63b1125e6446a6c2ada6fc2efa12d332da58b7c9c9cd56103cc51ed
-SIZE (go/devel_gitaly/gitaly-v18.2.2/go.mod) = 13011
-SHA256 (go/devel_gitaly/gitaly-v18.2.2/gitaly-v18.2.2.tar.bz2) = 56a9e67391146d7fae17fd151f15686d8a3fd082188fae7952b36246d990c45d
-SIZE (go/devel_gitaly/gitaly-v18.2.2/gitaly-v18.2.2.tar.bz2) = 4543611
-SHA256 (go/devel_gitaly/gitaly-v18.2.2/git-v2.50.0.tar.bz2) = 33e44c038ae6b3ff526e6927c2c6ff1658fd7f3c7334b079c019fa08f8ab20e4
-SIZE (go/devel_gitaly/gitaly-v18.2.2/git-v2.50.0.tar.bz2) = 9249878
+TIMESTAMP = 1764220553
+SHA256 (go/devel_gitaly/gitaly-v18.6.1/go.mod) = 1aace7ab09969668d9aad9416851833a2ec122442b060ce133e60d1d7c9b0252
+SIZE (go/devel_gitaly/gitaly-v18.6.1/go.mod) = 14044
+SHA256 (go/devel_gitaly/gitaly-v18.6.1/gitaly-v18.6.1.tar.bz2) = 598192b4c0ea1f323ff085db5ff02e507d698456fdf5333e562f0360a319abbc
+SIZE (go/devel_gitaly/gitaly-v18.6.1/gitaly-v18.6.1.tar.bz2) = 4656878
+SHA256 (go/devel_gitaly/gitaly-v18.6.1/git-v2.50.0.tar.bz2) = 33e44c038ae6b3ff526e6927c2c6ff1658fd7f3c7334b079c019fa08f8ab20e4
+SIZE (go/devel_gitaly/gitaly-v18.6.1/git-v2.50.0.tar.bz2) = 9249878
+SHA256 (go/devel_gitaly/gitaly-v18.6.1/gitlab-org-git-419c72cb8ada252b260efc38ff91fe201de7c8c3_GL0.tar.gz) = d3397b210ca156ed84ff69b3a7f6316c5026bd05d11455f23d8335473dceaf1b
+SIZE (go/devel_gitaly/gitaly-v18.6.1/gitlab-org-git-419c72cb8ada252b260efc38ff91fe201de7c8c3_GL0.tar.gz) = 11822923
+SHA256 (go/devel_gitaly/gitaly-v18.6.1/gitlab-org-git-23466173824c0a0f835c0d790c2f38156ae6284a_GL0.tar.gz) = 01a4069b15e9262151b3b97f989d4939ba8966bd5269875add2a34806817c01a
+SIZE (go/devel_gitaly/gitaly-v18.6.1/gitlab-org-git-23466173824c0a0f835c0d790c2f38156ae6284a_GL0.tar.gz) = 11745131
diff --git a/devel/gitaly/files/patch-Makefile b/devel/gitaly/files/patch-Makefile
deleted file mode 100644
index 871068592d17..000000000000
--- a/devel/gitaly/files/patch-Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
---- Makefile.orig 2025-07-16 11:35:37 UTC
-+++ Makefile
-@@ -156,7 +156,6 @@ GIT_VERSION ?=
- # GIT_VERSION_x_xx defines versions for each instance of bundled Git we ship. When a new
- # major version is added, be sure to update GIT_PACKED_EXECUTABLES, the *-bundled-git targets,
- # and add new targets under the "# These targets build specific releases of Git." section.
--GIT_VERSION_2_49 ?= v2.49.0.gl2
- GIT_VERSION_2_50 ?= v2.50.1.gl1
- #
- # OVERRIDE_GIT_VERSION allows you to specify a custom semver value to be reported by the
-@@ -168,7 +167,7 @@ ifeq (${GIT_VERSION:default=},)
- ifeq (${GIT_VERSION:default=},)
- # GIT_VERSION should be overridden to the default version of bundled Git. This is only
- # necessary until https://gitlab.com/gitlab-org/gitaly/-/issues/6195 is complete.
-- override GIT_VERSION := ${GIT_VERSION_2_49}
-+ override GIT_VERSION := ${GIT_VERSION_2_50}
- # When GIT_VERSION is not explicitly set, we default to bundled Git.
- export WITH_BUNDLED_GIT = YesPlease
- else
-@@ -264,8 +263,7 @@ BUILD_GEM_NAME ?= gitaly
- BUILD_GEM_NAME ?= gitaly
-
- # Git binaries that are eventually embedded into the Gitaly binary.
--GIT_PACKED_EXECUTABLES = $(addprefix ${BUILD_DIR}/bin/gitaly-, $(addsuffix -v2.49, ${GIT_EXECUTABLES})) \
-- $(addprefix ${BUILD_DIR}/bin/gitaly-, $(addsuffix -v2.50, ${GIT_EXECUTABLES}))
-+GIT_PACKED_EXECUTABLES = $(addprefix ${BUILD_DIR}/bin/gitaly-, $(addsuffix -v2.50, ${GIT_EXECUTABLES}))
-
- # All executables provided by Gitaly.
- GITALY_EXECUTABLES = $(addprefix ${BUILD_DIR}/bin/,$(notdir $(shell find ${SOURCE_DIR}/cmd -mindepth 1 -maxdepth 1 -type d -print)))
-@@ -354,15 +352,13 @@ install: build
-
- .PHONY: build-bundled-git
- ## Build bundled Git binaries.
--build-bundled-git: build-bundled-git-v2.49 build-bundled-git-v2.50
--build-bundled-git-v2.49: $(patsubst %,${BUILD_DIR}/bin/gitaly-%-v2.49,${GIT_EXECUTABLES})
-+build-bundled-git: build-bundled-git-v2.50
- build-bundled-git-v2.50: $(patsubst %,${BUILD_DIR}/bin/gitaly-%-v2.50,${GIT_EXECUTABLES})
-
- .PHONY: install-bundled-git
- ## Install bundled Git binaries. The target directory can be modified by
- ## setting PREFIX and DESTDIR.
--install-bundled-git: install-bundled-git-v2.49 install-bundled-git-v2.50
--install-bundled-git-v2.49: $(patsubst %,${INSTALL_DEST_DIR}/gitaly-%-v2.49,${GIT_EXECUTABLES})
-+install-bundled-git: install-bundled-git-v2.50
- install-bundled-git-v2.50: $(patsubst %,${INSTALL_DEST_DIR}/gitaly-%-v2.50,${GIT_EXECUTABLES})
-
- ifdef WITH_BUNDLED_GIT
-@@ -684,17 +680,12 @@ ${DEPENDENCY_DIR}/git-distribution/build/git: ${DEPEND
- ${Q}touch $@
-
- # These targets build specific releases of Git.
--${BUILD_DIR}/bin/gitaly-%-v2.49: override GIT_VERSION = ${GIT_VERSION_2_49}
- ${BUILD_DIR}/bin/gitaly-%-v2.50: override GIT_VERSION = ${GIT_VERSION_2_50}
-
- ifdef USE_MESON
--${BUILD_DIR}/bin/gitaly-%-v2.49: ${DEPENDENCY_DIR}/git-v2.49/build/% | ${BUILD_DIR}/bin
-- ${Q}install $< $@
- ${BUILD_DIR}/bin/gitaly-%-v2.50: ${DEPENDENCY_DIR}/git-v2.50/build/% | ${BUILD_DIR}/bin
- ${Q}install $< $@
- else
--${BUILD_DIR}/bin/gitaly-%-v2.49: ${DEPENDENCY_DIR}/git-v2.49/% | ${BUILD_DIR}/bin
-- ${Q}install $< $@
- ${BUILD_DIR}/bin/gitaly-%-v2.50: ${DEPENDENCY_DIR}/git-v2.50/% | ${BUILD_DIR}/bin
- ${Q}install $< $@
- endif
-@@ -731,12 +722,12 @@ ${DEPENDENCY_DIR}/git-%/Makefile: ${DEPENDENCY_DIR}/gi
- # otherwise try to rebuild all targets depending on it whenever we build
- # something else. We thus depend on the Makefile instead.
- ${DEPENDENCY_DIR}/git-%/Makefile: ${DEPENDENCY_DIR}/git-%.version
-- ${Q}${GIT} -c init.defaultBranch=master init ${GIT_QUIET} "${@D}"
-- ${Q}${GIT} -C "${@D}" config remote.origin.url ${GIT_REPO_URL}
-- ${Q}${GIT} -C "${@D}" config remote.origin.tagOpt --no-tags
-- ${Q}${GIT} -C "${@D}" fetch --depth 1 ${GIT_QUIET} origin ${GIT_VERSION}
-- ${Q}${GIT} -C "${@D}" reset --hard
-- ${Q}${GIT} -C "${@D}" checkout ${GIT_QUIET} --detach FETCH_HEAD
-+ #${Q}${GIT} -c init.defaultBranch=master init ${GIT_QUIET} "${@D}"
-+ #${Q}${GIT} -C "${@D}" config remote.origin.url ${GIT_REPO_URL}
-+ #${Q}${GIT} -C "${@D}" config remote.origin.tagOpt --no-tags
-+ #${Q}${GIT} -C "${@D}" fetch --depth 1 ${GIT_QUIET} origin ${GIT_VERSION}
-+ #${Q}${GIT} -C "${@D}" reset --hard
-+ #${Q}${GIT} -C "${@D}" checkout ${GIT_QUIET} --detach FETCH_HEAD
- ifeq ($(OVERRIDE_GIT_VERSION),)
- ${Q}rm -f "${@D}"/version
- else
diff --git a/devel/gitaly/files/patch-config.toml.example b/devel/gitaly/files/patch-config.toml.example
index 4303af905b5a..47441eb79518 100644
--- a/devel/gitaly/files/patch-config.toml.example
+++ b/devel/gitaly/files/patch-config.toml.example
@@ -1,4 +1,4 @@
---- config.toml.example.orig 2025-04-16 03:58:04 UTC
+--- config.toml.example.orig 2025-08-20 06:37:58 UTC
+++ config.toml.example
@@ -2,10 +2,10 @@
# For Gitaly documentation, see https://docs.gitlab.com/administration/gitaly/.
@@ -13,20 +13,7 @@
# # Optional. The directory where Gitaly can create all files required to
# # properly operate at runtime. If not set, Gitaly will create a directory in
-@@ -42,9 +42,9 @@ bin_dir = "/home/git/gitaly/_build/bin"
- # min_version = "TLS 1.2"
-
- # # Git settings
--# [git]
--# # Path to Git binary. If not set, is resolved using PATH.
--# bin_path = "/usr/bin/git"
-+[git]
-+# Path to Git binary. If not set, is resolved using PATH.
-+bin_path = "%%PREFIX%%/bin/git"
- # # Maximum number of cached 'cat-file' processes, which constitute a pair of 'git cat-file --batch' and
- # # 'git cat-file --batch-check' processes. Defaults to '100'.
- # catfile_cache_size = 100
-@@ -60,7 +60,7 @@ name = "default"
+@@ -58,7 +58,7 @@ name = "default"
# # The name of the storage
name = "default"
# # The path to the storage.
@@ -35,7 +22,7 @@
# # You can optionally configure more storages for this Gitaly instance to serve up
#
-@@ -91,18 +91,18 @@ sentry_environment = ""
+@@ -89,18 +89,18 @@ sentry_environment = ""
# # Custom Git hooks that are used to perform tasks based on changes performed in any repository.
[hooks]
# # Directory where custom Git hooks are installed. If left unset, no custom hooks are used.