From nobody Sun May 28 17:04:39 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTlQ04VjXz4Xcv5; Sun, 28 May 2023 17:04:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTlQ00DGPz3R3N; Sun, 28 May 2023 17:04:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685293480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FwFn6F0ts3wr+EoGW/hvu1LSzZPjIQUyw8qtI2OJqnU=; b=hU4r7J25Aq3O38SOkXAQLdh04cz6InKaPYAxe5+HqU9JoEgtbo8vk6CA+6i8ABx9XujJzK /L3TGDf1NbyLSv/I88j8Qdzi+9mwvGM4qipL8QrrDT+JKnRVlqiwcc/uFNQihyxhr1HuU+ cfh0eY0LLswoc3fCr3IsknNoYm652vTjfF3M0ttbuEfsZHjK+ukOFHo1KuPl6+sdqm3onC sQ4hCmDOgf2ajjnnrq+KcdYZLToxNDM0+khJV2631WyctfCkY5RLBXX5IUkZr2727ollPd 4fkQwxJ9oWmkkaBfofQo8zebQsY2V+jkABGYL6jrfYSKus+rjEHRGKALEUeIYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685293480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FwFn6F0ts3wr+EoGW/hvu1LSzZPjIQUyw8qtI2OJqnU=; b=wD3oKaxoMLuFemTCIYF18Ox64ukbihbkz3YT3nmMCCOmUZPu0XqSPGFwDA7IRNVAGtTvsD NH4IozsXrVMcZMqSVGHv+SWf5g6l2BbiIupMy+vMuHHnmkwf/FQ6IZ5wRXK8rSZ6gJ29cU kHE0X5SE1PhdrJ8zF+bZwNlqH7beicDdbNE+G2Mqol1i4RYgdgVOwVdtXn74yeCQLfHRFe KAQ2VO63D44twdu4ky9M4kV0lzcOsFJrhTJIWL72GyjTYkeLPC0NNICrrly6Wkw2gNC1aN XJGjjAYsQftiRQl6AXLQnUmMZqUZbH1hnyp2AK51AmUxBJvZjkMBSPPmHiiNvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685293480; a=rsa-sha256; cv=none; b=LOk4CIhhX/MHJtQ6ZVsViMZNPXjmLPiimKzSjmiRg//oA6SAu9ZrUweBLX6P8ylnHL6hM8 PtkM3vQh2RbcaDobizJgY/5+x+V+S5j0FAh8QzMnd1VYZXDChDVU/hBaS5jOLBantDpyN1 zfn7plCbrM7psTwsrlBDSe2heKo7Oxr2zb/NwoDEMyVflxm1y3u8dLW4OBgbzRm/T9GWeF EZ9S9q11kdAIcAkASyDNkIQvk3fC8fEZA7eHqRwANB0nvCN849ZZ4tcteWKvuPLeh41YGV ydBPYeRFS9/dSln7NUYHW3OHqvyYiSQaW84/R5jjkSchSAUYyVXESNru9p93+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QTlPz6RJBzdph; Sun, 28 May 2023 17:04:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34SH4dY3064226; Sun, 28 May 2023 17:04:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34SH4dwY064225; Sun, 28 May 2023 17:04:39 GMT (envelope-from git) Date: Sun, 28 May 2023 17:04:39 GMT Message-Id: <202305281704.34SH4dwY064225@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: 3b5185777050 - main - devel/gitaly: update to 16.0.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b5185777050a60a420765a1610700ac03244f83 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b5185777050a60a420765a1610700ac03244f83 commit 3b5185777050a60a420765a1610700ac03244f83 Author: Matthias Fechner AuthorDate: 2023-05-21 08:59:15 +0000 Commit: Matthias Fechner CommitDate: 2023-05-28 17:03:48 +0000 devel/gitaly: update to 16.0.0 Required for gitlab-ce 16.0.0 Changelog: https://gitlab.com/gitlab-org/gitaly/-/blob/master/CHANGELOG.md#1600-2023-05-18 --- devel/gitaly/Makefile | 34 +++++------------------------ devel/gitaly/distinfo | 10 ++++----- devel/gitaly/files/patch-ruby_Gemfile | 41 ----------------------------------- 3 files changed, 11 insertions(+), 74 deletions(-) diff --git a/devel/gitaly/Makefile b/devel/gitaly/Makefile index ad3eb2998a68..fcc2213bb47b 100644 --- a/devel/gitaly/Makefile +++ b/devel/gitaly/Makefile @@ -1,7 +1,6 @@ PORTNAME= gitaly -DISTVERSION= 15.11.3 +DISTVERSION= 16.0.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= devel MAINTAINER= mfechner@FreeBSD.org @@ -16,29 +15,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE # it fixes segfaults reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259848 # define dependencies that are required for build and run under MY_DEPENDS -MY_DEPENDS= git>=2.40.1:devel/git \ - rubygem-bundler>=2.1.4:sysutils/rubygem-bundler \ - rubygem-rugged>=1.5.1<1.6:devel/rubygem-rugged \ - rubygem-gitlab-markup>=1.9.0<1.10.0:textproc/rubygem-gitlab-markup \ - rubygem-activesupport61>=6.1.7.2<6.1.8:devel/rubygem-activesupport61 \ - rubygem-grpc>=1.42.0<2:net/rubygem-grpc \ - rubygem-sentry-raven>=3.1<4:devel/rubygem-sentry-raven \ - rubygem-rbtrace>=0.4.14:devel/rubygem-rbtrace \ - rubygem-gitaly>=15.5.0<15.10:net/rubygem-gitaly \ - rubygem-gitlab-labkit>=0.31<1:devel/rubygem-gitlab-labkit \ - rubygem-licensee>=9.15<10:devel/rubygem-licensee \ - rubygem-google-protobuf322>=3.22.3<3.23:devel/rubygem-google-protobuf322 \ - rubygem-nokogiri>=1.14.1<1.15:textproc/rubygem-nokogiri \ - rubygem-license_finder>=7.0<8:devel/rubygem-license_finder \ - rubygem-redis4>=4.8.0<5:databases/rubygem-redis4 -BUILD_DEPENDS= gem:devel/ruby-gems \ - bash>0:shells/bash \ +MY_DEPENDS= git>=2.40.1:devel/git +BUILD_DEPENDS= bash>0:shells/bash \ ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} \ gitlab-shell>=14.17.0:devel/gitlab-shell LIB_DEPENDS= libgit2.so:devel/libgit2 -USES= cpe gmake go:modules,no_targets pkgconfig ruby +USES= cpe gmake go:modules,no_targets pkgconfig CPE_VENDOR= gitlab @@ -49,7 +33,7 @@ MAKE_ENV+= ${GO_ENV} USE_GITLAB= yes GL_ACCOUNT= gitlab-org # Find this here: https://gitlab.com/gitlab-org/gitaly/-/tags -GL_COMMIT= 62b051c35c2bcccd5ad7c707ff4f1fd67f641717 +GL_COMMIT= a404f278abbfc4c7bfa2935ac5f992261e39c52c # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy @@ -74,24 +58,18 @@ post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example ${MV} ${WRKSRC}/config.toml.example ${WRKSRC}/config.toml.sample -pre-build: - (cd ${WRKSRC}/ruby && ${RM} Gemfile.lock && bundle install --local) - do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/bin ${FIND} ${WRKSRC} -name '*.orig' -delete - ${FIND} ${WRKSRC} -name "Gemfile.lock" -delete (cd ${WRKSRC}/_build/bin/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/bin && \ - cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) && \ - cd ${WRKSRC}/ruby && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ruby + cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) post-install: ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ /gitlab-shell-hook$$/ s#^#@(,,755) #; \ - s#${DATADIR_REL}/ruby/bin#@(,,555) ${DATADIR_REL}/ruby/bin#; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} .include diff --git a/devel/gitaly/distinfo b/devel/gitaly/distinfo index e4c60e166e4a..604f11cf05f9 100644 --- a/devel/gitaly/distinfo +++ b/devel/gitaly/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1683982203 -SHA256 (go/devel_gitaly/gitlab-org-gitaly-62b051c35c2bcccd5ad7c707ff4f1fd67f641717_GL0/go.mod) = 4937565cfcb003930a583d7adb41f6dce0acb6b5cc496c2c03242dbd4eb36a18 -SIZE (go/devel_gitaly/gitlab-org-gitaly-62b051c35c2bcccd5ad7c707ff4f1fd67f641717_GL0/go.mod) = 10423 -SHA256 (go/devel_gitaly/gitlab-org-gitaly-62b051c35c2bcccd5ad7c707ff4f1fd67f641717_GL0/gitlab-org-gitaly-62b051c35c2bcccd5ad7c707ff4f1fd67f641717_GL0.tar.gz) = 9730eb06bfe1add7e4a84e16c28a04ff79084bc118693835e5f41a0996e7c7d4 -SIZE (go/devel_gitaly/gitlab-org-gitaly-62b051c35c2bcccd5ad7c707ff4f1fd67f641717_GL0/gitlab-org-gitaly-62b051c35c2bcccd5ad7c707ff4f1fd67f641717_GL0.tar.gz) = 3458575 +TIMESTAMP = 1684518785 +SHA256 (go/devel_gitaly/gitlab-org-gitaly-a404f278abbfc4c7bfa2935ac5f992261e39c52c_GL0/go.mod) = a9d6d090f061cab00b5bcdbbddd08e0b02de1772b256ed3bec2f3c0d07b3c923 +SIZE (go/devel_gitaly/gitlab-org-gitaly-a404f278abbfc4c7bfa2935ac5f992261e39c52c_GL0/go.mod) = 10483 +SHA256 (go/devel_gitaly/gitlab-org-gitaly-a404f278abbfc4c7bfa2935ac5f992261e39c52c_GL0/gitlab-org-gitaly-a404f278abbfc4c7bfa2935ac5f992261e39c52c_GL0.tar.gz) = 64e40d53de346f98f9b12f02b5d0a1aaa793196664242906ce946db78017beb2 +SIZE (go/devel_gitaly/gitlab-org-gitaly-a404f278abbfc4c7bfa2935ac5f992261e39c52c_GL0/gitlab-org-gitaly-a404f278abbfc4c7bfa2935ac5f992261e39c52c_GL0.tar.gz) = 3460075 diff --git a/devel/gitaly/files/patch-ruby_Gemfile b/devel/gitaly/files/patch-ruby_Gemfile deleted file mode 100644 index 2cbf4f928b8d..000000000000 --- a/devel/gitaly/files/patch-ruby_Gemfile +++ /dev/null @@ -1,41 +0,0 @@ ---- ruby/Gemfile.orig 2023-04-05 16:07:34 UTC -+++ ruby/Gemfile -@@ -1,15 +1,15 @@ - source 'https://rubygems.org' - - gem 'rugged', '~> 1.5.1' --gem 'gitlab-markup', '~> 1.8.0' -+gem 'gitlab-markup', '~> 1.9.0' - gem 'activesupport', '~> 6.1.7.2' --gem 'grpc', '~> 1.42.0' # keep in lock-step with grpc-tools in ../tools/protogem -+gem 'grpc', '~> 1.42' # keep in lock-step with grpc-tools in ../tools/protogem - gem 'sentry-raven', '~> 3.1', require: false - gem 'rbtrace', require: false - - # The Gitaly Gem contains the Protobuf and gRPC definitions required by the - # Ruby sidecar. --gem 'gitaly', '~> 15.5.0' -+gem 'gitaly', '~> 15.5' - - # Labkit provides observability functionality - gem 'gitlab-labkit', '~> 0.31', '>= 0.31.1' -@@ -26,18 +26,10 @@ gem 'nokogiri', '~> 1.14' - # dependency and can thus be removed when the version constraint is gone. - gem 'redis', '~> 4.8.0' - --group :development, :test do -- gem 'rubocop', '~> 1.38', require: false -- gem 'rspec', '~> 3.12.0', require: false -- gem 'rspec-parameterized', require: false -- gem 'factory_bot', require: false -- gem 'pry', '~> 0.13.1', require: false --end -- - # Gems required in omnibus-gitlab pipeline - group :development, :test, :omnibus do - # Using a fork until https://github.com/pivotal/LicenseFinder/pull/816 is - # resolved. For details, check discussion in - # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74881 -- gem 'gitlab-license_finder', require: false -+ gem 'license_finder', require: false - end