git: f9196813a15a - main - www/gitlab-ce: Major update to 16.1

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Thu, 06 Jul 2023 11:33:03 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9196813a15a0cc7733d11ddf9627e12586089e6

commit f9196813a15a0cc7733d11ddf9627e12586089e6
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-07-02 17:48:57 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-07-06 11:32:19 +0000

    www/gitlab-ce: Major update to 16.1
    
    Changelog:
    https://about.gitlab.com/releases/2023/06/22/gitlab-16-1-released/
---
 www/gitlab-ce/Makefile                             | 61 ++++++++++++----------
 www/gitlab-ce/distinfo                             |  6 +--
 www/gitlab-ce/files/patch-Gemfile                  | 34 +++++-------
 www/gitlab-ce/files/patch-config_puma.rb.example   | 10 ++--
 .../files/patch-lib_gitlab_patch_redis__cluster.rb | 11 ++++
 www/gitlab-ce/pkg-message                          |  4 +-
 6 files changed, 66 insertions(+), 60 deletions(-)

diff --git a/www/gitlab-ce/Makefile b/www/gitlab-ce/Makefile
index 4a3fc6a01132..4919b40c4958 100644
--- a/www/gitlab-ce/Makefile
+++ b/www/gitlab-ce/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gitlab-ce
-PORTVERSION=	16.0.7
+PORTVERSION=	16.1.0
 CATEGORIES=	www devel
 
 MAINTAINER=	mfechner@FreeBSD.org
@@ -18,11 +18,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 # mail/rubygem-net-pop is required as ruby 3.1 removed it
 MY_DEPENDS=	git>=2.39.2:devel/git \
 	gitaly>=${PORTVERSION}:devel/gitaly \
-	gitlab-elasticsearch-indexer>=4.3.4:textproc/gitlab-elasticsearch-indexer \
-	gitlab-agent>=16.0.1:net/gitlab-agent \
+	gitlab-elasticsearch-indexer>=4.3.5:textproc/gitlab-elasticsearch-indexer \
+	gitlab-agent>=16.1.3:net/gitlab-agent \
 	gitlab-metrics-exporter>0:devel/gitlab-metrics-exporter \
 	gitlab-pages>=${PORTVERSION}:www/gitlab-pages \
-	gitlab-shell>=14.20.0:devel/gitlab-shell \
+	gitlab-shell>=14.23.0:devel/gitlab-shell \
 	gitlab-workhorse>=${PORTVERSION}:www/gitlab-workhorse \
 	redis>=6.2.11:databases/redis \
 	yarn${NODEJS_SUFFIX}>=1.10.0:www/yarn${NODEJS_SUFFIX} \
@@ -37,7 +37,7 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-ipaddr>=1.2.5<1.3:net/rubygem-ipaddr \
 	rubygem-responders-rails61>=3.0<4.0:www/rubygem-responders-rails61 \
 	rubygem-sprockets3>=3.7<3.8:devel/rubygem-sprockets3 \
-	rubygem-view_component-rails61>=2.82.0<2.83:devel/rubygem-view_component-rails61 \
+	rubygem-view_component-rails61>=3.2.0<3.3:devel/rubygem-view_component-rails61 \
 	rubygem-pg>=1.5.3<1.6:databases/rubygem-pg \
 	rubygem-neighbor>=0.2.3<0.3:databases/rubygem-neighbor \
 	rubygem-rugged>=1.5<2:devel/rubygem-rugged \
@@ -48,9 +48,9 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-devise-rails61>=4.8.1<4.9:devel/rubygem-devise-rails61 \
 	rubygem-bcrypt>=3.1.14<3.2:security/rubygem-bcrypt \
 	rubygem-doorkeeper>=5.6.6<6:security/rubygem-doorkeeper \
-	rubygem-doorkeeper-openid_connect>=1.8.6<2:security/rubygem-doorkeeper-openid_connect \
+	rubygem-doorkeeper-openid_connect>=1.8.7<2:security/rubygem-doorkeeper-openid_connect \
 	rubygem-rexml>=3.2.5<3.3:textproc/rubygem-rexml \
-	rubygem-ruby-saml>=1.13.0<1.14:security/rubygem-ruby-saml \
+	rubygem-ruby-saml>=1.15.0<1.16:security/rubygem-ruby-saml \
 	rubygem-omniauth>=2.1.0<3:security/rubygem-omniauth \
 	rubygem-omniauth-auth0>=3.1.0<3.2.0:net/rubygem-omniauth-auth0 \
 	rubygem-omniauth-azure-activedirectory-v2>=2.0<3:net/rubygem-omniauth-azure-activedirectory-v2 \
@@ -61,6 +61,7 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-omniauth-google-oauth2>=1.1<2:net/rubygem-omniauth-google-oauth2 \
 	rubygem-omniauth-oauth2-generic>=0.2.2<0.3.0:security/rubygem-omniauth-oauth2-generic \
 	rubygem-omniauth-saml>=2.1.0<3:security/rubygem-omniauth-saml \
+	rubygem-omniauth-shibboleth-redux>=2.0<3:security/rubygem-omniauth-shibboleth-redux \
 	rubygem-omniauth-twitter>=1.4<2.0:net/rubygem-omniauth-twitter \
 	rubygem-omniauth_openid_connect>=0.6.1<0.7.0:net/rubygem-omniauth_openid_connect \
 	rubygem-openid_connect>=1.3.1<1.3.2:net/rubygem-openid_connect \
@@ -80,11 +81,11 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-ohai17>=17.9<18:sysutils/rubygem-ohai17 \
 	rubygem-gpgme>=2.0.22<2.1.0:security/rubygem-gpgme \
 	rubygem-gitlab_omniauth-ldap>=2.2.0<2.3.0:net/rubygem-gitlab_omniauth-ldap \
-	rubygem-net-ldap017>=0.17.1<0.18:net/rubygem-net-ldap017 \
-	rubygem-grape15>=1.5.2<1.6:devel/rubygem-grape15 \
+	rubygem-net-ldap>=0.18.0<0.19:net/rubygem-net-ldap \
+	rubygem-grape>=1.7.0<1.8:devel/rubygem-grape \
 	rubygem-grape-entity>=0.10.0<0.11.0,1:devel/rubygem-grape-entity \
 	rubygem-rack-cors>=1.1.1<1.2.0:www/rubygem-rack-cors \
-	rubygem-grape-swagger>=1.5.0<1.6:devel/rubygem-grape-swagger \
+	rubygem-grape-swagger>=1.6.1<1.7:devel/rubygem-grape-swagger \
 	rubygem-grape-swagger-entity>=0.5.1<0.6:devel/rubygem-grape-swagger-entity \
 	rubygem-graphql>=1.13.12<1.14:devel/rubygem-graphql \
 	rubygem-graphiql-rails>=1.8<2:devel/rubygem-graphiql-rails \
@@ -118,15 +119,15 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-elasticsearch-model713>=7.2<8:textproc/rubygem-elasticsearch-model713 \
 	rubygem-elasticsearch-rails>=7.2<8:textproc/rubygem-elasticsearch-rails \
 	rubygem-elasticsearch-api713>=7.13.3<7.13.4:textproc/rubygem-elasticsearch-api713 \
-	rubygem-aws-sdk-core3172>=3.172.0<3.173:devel/rubygem-aws-sdk-core3172 \
+	rubygem-aws-sdk-core3175>=3.175.0<3.176:devel/rubygem-aws-sdk-core3175 \
 	rubygem-aws-sdk-cloudformation>=1<2:devel/rubygem-aws-sdk-cloudformation \
-	rubygem-aws-sdk-s31122>=1.122.0<1.123:devel/rubygem-aws-sdk-s31122 \
+	rubygem-aws-sdk-s31126>=1.126.0<1.127:devel/rubygem-aws-sdk-s31126 \
 	rubygem-faraday_middleware-aws-sigv403>=0.3.0<0.4:devel/rubygem-faraday_middleware-aws-sigv403 \
 	rubygem-typhoeus>=1.4.0<1.5:www/rubygem-typhoeus \
 	rubygem-html-pipeline>=2.14.3<2.15:textproc/rubygem-html-pipeline \
 	rubygem-deckar01-task_list>=2.3.2<2.4:www/rubygem-deckar01-task_list \
 	rubygem-gitlab-markup>=1.9.0<1.10.0:textproc/rubygem-gitlab-markup \
-	rubygem-commonmarker>=0.23.6<0.24:textproc/rubygem-commonmarker \
+	rubygem-commonmarker>=0.23.9<0.24:textproc/rubygem-commonmarker \
 	rubygem-kramdown23>=2.3.1<2.4:textproc/rubygem-kramdown23 \
 	rubygem-redcloth>=4.3.2<4.4.0:www/rubygem-redcloth \
 	rubygem-rdoc63>=6.3.2<7:devel/rubygem-rdoc63 \
@@ -137,16 +138,15 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-asciidoctor-include-ext>=0.4.0<0.5.0:textproc/rubygem-asciidoctor-include-ext \
 	rubygem-asciidoctor-plantuml00>=0.0.16<0.1:textproc/rubygem-asciidoctor-plantuml00 \
 	rubygem-asciidoctor-kroki>=0.8.0<0.9:textproc/rubygem-asciidoctor-kroki \
-	rubygem-rouge>=4.1.0<4.2:textproc/rubygem-rouge \
+	rubygem-rouge>=4.1.2<4.2:textproc/rubygem-rouge \
 	rubygem-truncato>=0.7.11<0.8.0:textproc/rubygem-truncato \
-	rubygem-nokogiri114>=1.14.3<1.15:textproc/rubygem-nokogiri114 \
+	rubygem-nokogiri>=1.15.2<2:textproc/rubygem-nokogiri \
 	rubygem-icalendar>=0:devel/rubygem-icalendar \
 	rubygem-diffy>=3.4<4:textproc/rubygem-diffy \
 	rubygem-diff_match_patch>=0.1.0<0.2.0:textproc/rubygem-diff_match_patch \
 	rubygem-rack22>=2.2.7,3<2.3,3:www/rubygem-rack22 \
 	rubygem-rack-timeout>=0.6.3<0.7:www/rubygem-rack-timeout \
-	rubygem-puma>=5.6.5<5.7:www/rubygem-puma \
-	rubygem-puma_worker_killer>=0.3.1:www/rubygem-puma_worker_killer \
+	rubygem-puma>=6.3<7:www/rubygem-puma \
 	rubygem-sd_notify>=0.1.1<0.2:devel/rubygem-sd_notify \
 	rubygem-state_machines-activerecord>=0.8.0<0.9.0:databases/rubygem-state_machines-activerecord \
 	rubygem-acts-as-taggable-on>=9.0<10:www/rubygem-acts-as-taggable-on \
@@ -162,7 +162,7 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-version_sorter>=2.3<3:textproc/rubygem-version_sorter \
 	rubygem-js_regex>=3.8<4.0:textproc/rubygem-js_regex \
 	rubygem-device_detector>=0:devel/rubygem-device_detector \
-	rubygem-redis4>=4.8.0<5:databases/rubygem-redis4 \
+	rubygem-redis4>=4.8.0<4.8.2:databases/rubygem-redis4 \
 	rubygem-connection_pool>=2.2.5<3.0:net/rubygem-connection_pool \
 	rubygem-redis-actionpack-rails61>=5.3.0<5.4:databases/rubygem-redis-actionpack-rails61 \
 	rubygem-discordrb-webhooks>=3.4<4.0:net-im/rubygem-discordrb-webhooks \
@@ -176,8 +176,8 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-ruby-openai37>=3.7<4:www/rubygem-ruby-openai37 \
 	rubygem-circuitbox>=2.0.0<2.1:www/rubygem-circuitbox \
 	rubygem-sanitize>=6.0<7:textproc/rubygem-sanitize \
-	rubygem-babosa>=1.0.4<1.1.0:textproc/rubygem-babosa \
-	rubygem-loofah>=2.21.0<2.22:textproc/rubygem-loofah \
+	rubygem-babosa>=2.0<3:textproc/rubygem-babosa \
+	rubygem-loofah>=2.21.3<2.22:textproc/rubygem-loofah \
 	rubygem-licensee>=9.15<10:devel/rubygem-licensee \
 	rubygem-charlock_holmes>=0.7.7<0.8.0:textproc/rubygem-charlock_holmes \
 	rubygem-ruby-magic>=0.6<1:devel/rubygem-ruby-magic \
@@ -193,15 +193,15 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-gon-rails61>=6.4.0<6.5:www/rubygem-gon-rails61 \
 	rubygem-request_store>=1.5.1<2.0:devel/rubygem-request_store \
 	rubygem-base32>=0.3.0<0.4.0:converters/rubygem-base32 \
-	rubygem-gitlab-license>=2.2.1<2.3:devel/rubygem-gitlab-license \
+	rubygem-gitlab-license>=2.3<3:devel/rubygem-gitlab-license \
 	rubygem-rack-attack>=6.6.1<6.7:www/rubygem-rack-attack \
 	rubygem-sentry-raven>=3.1<4.0:devel/rubygem-sentry-raven \
 	rubygem-sentry-ruby>=5.8.0<5.9:devel/rubygem-sentry-ruby \
 	rubygem-sentry-rails>=5.8.0<5.9:devel/rubygem-sentry-rails \
 	rubygem-sentry-sidekiq>=5.8.0<5.9:devel/rubygem-sentry-sidekiq \
-	rubygem-pg_query>=2.2.1<3:databases/rubygem-pg_query \
+	rubygem-pg_query>=4.2.1<4.3:databases/rubygem-pg_query \
 	rubygem-premailer-rails-rails61>=1.10.3<1.11:mail/rubygem-premailer-rails-rails61 \
-	rubygem-gitlab-labkit>=0.32.0<0.33:devel/rubygem-gitlab-labkit \
+	rubygem-gitlab-labkit>=0.33.0<0.34:devel/rubygem-gitlab-labkit \
 	rubygem-thrift>=0.16.0:devel/rubygem-thrift \
 	rubygem-ruby_parser>=3.20<4.0:devel/rubygem-ruby_parser \
 	rubygem-rails-i18n-rails61>=7.0<8:devel/rubygem-rails-i18n-rails61 \
@@ -212,7 +212,7 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-peek-rails61>=1.1.0<2.0:devel/rubygem-peek-rails61 \
 	rubygem-snowplow-tracker>=0.8.0<1:devel/rubygem-snowplow-tracker \
 	rubygem-webrick>=1.8.1<1.9:www/rubygem-webrick \
-	rubygem-prometheus-client-mmap>=0.23<1:devel/rubygem-prometheus-client-mmap \
+	rubygem-prometheus-client-mmap>=0.25<0.26:devel/rubygem-prometheus-client-mmap \
 	rubygem-warning>=1.3.0<1.4:devel/rubygem-warning \
 	rubygem-license_finder>=7.0.0<8:devel/rubygem-license_finder \
 	rubygem-gitlab-dangerfiles>=3.10.0<3.11:devel/rubygem-gitlab-dangerfiles \
@@ -232,10 +232,10 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-net-ntp>0:net/rubygem-net-ntp \
 	rubygem-ssh_data>=1.3<2:security/rubygem-ssh_data \
 	rubygem-spamcheck>=1.3.0<1.4:net/rubygem-spamcheck \
-	rubygem-gitaly>=15.9.0.pre.rc3<15.10.0:net/rubygem-gitaly \
+	rubygem-gitaly>=16.1.0.pre.rc2<16.2.0:net/rubygem-gitaly \
 	rubygem-kas-grpc>=0.1.0,1<0.2.0,1:net/rubygem-kas-grpc \
 	rubygem-grpc>=1.42.0<2:net/rubygem-grpc \
-	rubygem-google-protobuf322>=3.22.3<4:devel/rubygem-google-protobuf322 \
+	rubygem-google-protobuf323>=3.23.3<4:devel/rubygem-google-protobuf323 \
 	rubygem-toml-rb>=2.2.0<3:www/rubygem-toml-rb \
 	rubygem-flipper025>=0.25.0<0.26:devel/rubygem-flipper025 \
 	rubygem-flipper-active_record-rails61>=0.25.0<0.26:databases/rubygem-flipper-active_record-rails61 \
@@ -264,14 +264,16 @@ MY_DEPENDS=	git>=2.39.2:devel/git \
 	rubygem-parser>=0:devel/rubygem-parser \
 	rubygem-cvss-suite>=3.0.1<3.1:security/rubygem-cvss-suite \
 	rubygem-arr-pm>=0.0.12<0.1:devel/rubygem-arr-pm \
-	rubygem-devfile>=0.0.17.p.a1<0.0.18:net/rubygem-devfile \
+	rubygem-devfile>=0.0.19.p.a1<0.0.20:net/rubygem-devfile \
 	rubygem-CFPropertyList>=3.0.0<3.1:devel/rubygem-CFPropertyList \
 	rubygem-app_store_connect>=0:net/rubygem-app_store_connect \
 	rubygem-telesignenterprise>=2.2<3:devel/rubygem-telesignenterprise \
 	rubygem-net-protocol01>=0.1.3<0.2:net/rubygem-net-protocol01 \
+	rubygem-net-http011>=0.1.1<0.1.2:www/rubygem-net-http011 \
 	rubygem-duo_api>=1.3<2:security/rubygem-duo_api \
 	rubygem-google-cloud-profiler-v2>=0.3<1:textproc/rubygem-google-cloud-profiler-v2
 
+
 BUILD_DEPENDS=	gem:devel/ruby-gems \
 	${MY_DEPENDS}
 
@@ -290,7 +292,7 @@ USE_GITLAB=	yes
 GL_ACCOUNT=	gitlab-org
 GL_PROJECT=	gitlab-foss
 # Find the here: https://gitlab.com/gitlab-org/gitlab-foss/-/tags
-GL_COMMIT=	98759ff89dc2ae0b2fea97b26c80220f96f23b41
+GL_COMMIT=	7b848eda5589ff5fa1bc3c6f782fc907c59a4417
 
 USERS=	git
 GROUPS=	git
@@ -307,6 +309,7 @@ KERBEROS_RUN_DEPENDS=		rubygem-timfel-krb5-auth>=0.8<1:security/rubygem-timfel-k
 KERBEROS_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-patch-Gemfile-kerberos-off
 
 SHEBANG_FILES=	scripts/build_qa_image \
+		scripts/build_gdk_image \
 		scripts/db_tasks \
 		scripts/rails-update-bisect \
 		scripts/generate-e2e-pipeline \
@@ -314,7 +317,7 @@ SHEBANG_FILES=	scripts/build_qa_image \
 		scripts/frontend/start_storybook.sh \
 		scripts/partitioning/generate-fk \
 		.lefthook/pre-push/merge_conflicts \
-		qa/gdk/launch \
+		qa/gdk/entrypoint \
 		qa/bin/test
 
 post-patch:
diff --git a/www/gitlab-ce/distinfo b/www/gitlab-ce/distinfo
index 00e85840d188..c96484cd075a 100644
--- a/www/gitlab-ce/distinfo
+++ b/www/gitlab-ce/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688583868
-SHA256 (gitlab-org-gitlab-foss-98759ff89dc2ae0b2fea97b26c80220f96f23b41_GL0.tar.gz) = d1a21f2a2e477d0cf3099d0dbac91d04e312f065a3cf67b7bcbfcfdbb6409c21
-SIZE (gitlab-org-gitlab-foss-98759ff89dc2ae0b2fea97b26c80220f96f23b41_GL0.tar.gz) = 101255948
+TIMESTAMP = 1687444868
+SHA256 (gitlab-org-gitlab-foss-7b848eda5589ff5fa1bc3c6f782fc907c59a4417_GL0.tar.gz) = 8bb6ee294aa6830df4b10c3bcba3d86171a64e89baa1e1aa36ae1f42db3c9e3e
+SIZE (gitlab-org-gitlab-foss-7b848eda5589ff5fa1bc3c6f782fc907c59a4417_GL0.tar.gz) = 101872648
diff --git a/www/gitlab-ce/files/patch-Gemfile b/www/gitlab-ce/files/patch-Gemfile
index cf6bd0bf11c5..da8b1cea2069 100644
--- a/www/gitlab-ce/files/patch-Gemfile
+++ b/www/gitlab-ce/files/patch-Gemfile
@@ -1,4 +1,4 @@
---- Gemfile.orig	2023-05-22 18:44:12 UTC
+--- Gemfile.orig	2023-06-21 08:07:20 UTC
 +++ Gemfile
 @@ -35,7 +35,7 @@ gem 'neighbor', '~> 0.2.3'
  gem 'rugged', '~> 1.5'
@@ -20,7 +20,7 @@
  gem 'omniauth-gitlab', '~> 4.0.0', path: 'vendor/gems/omniauth-gitlab' # See vendor/gems/omniauth-gitlab/README.md
  gem 'omniauth-google-oauth2', '~> 1.1'
  gem 'omniauth-oauth2-generic', '~> 0.2.2'
-@@ -66,7 +66,7 @@ gem 'omniauth_crowd', '~> 2.4.0', path: 'vendor/gems/o
+@@ -67,7 +67,7 @@ gem 'omniauth_crowd', '~> 2.4.0', path: 'vendor/gems/o
  gem 'omniauth_openid_connect', '~> 0.6.1'
  # Locked until Ruby 3.0 upgrade since upgrading will pull in an updated net-smtp gem.
  # See https://docs.gitlab.com/ee/development/emails.html#rationale.
@@ -29,7 +29,7 @@
  gem 'omniauth-salesforce', '~> 1.0.5', path: 'vendor/gems/omniauth-salesforce' # See gem README.md
  gem 'omniauth-atlassian-oauth2', '~> 0.2.0'
  gem 'rack-oauth2', '~> 1.21.3'
-@@ -151,7 +151,7 @@ gem 'gitlab-fog-azure-rm', '~> 1.7.0', require: 'fog/a
+@@ -152,7 +152,7 @@ gem 'gitlab-fog-azure-rm', '~> 1.7.0', require: 'fog/a
  
  # for Google storage
  gem 'google-cloud-storage', '~> 1.44.0'
@@ -38,15 +38,6 @@
  gem 'google-apis-compute_v1', '~> 0.57.0'
  gem 'google-apis-container_v1', '~> 0.43.0'
  gem 'google-apis-container_v1beta1', '~> 0.43.0'
-@@ -172,7 +172,7 @@ gem 'seed-fu', '~> 2.3.7'
- gem 'elasticsearch-model', '~> 7.2'
- gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation'
- gem 'elasticsearch-api',   '7.13.3'
--gem 'aws-sdk-core', '~> 3.172.0'
-+gem 'aws-sdk-core', '~> 3.172'
- gem 'aws-sdk-cloudformation', '~> 1'
- gem 'aws-sdk-s3', '~> 1.122.0'
- gem 'faraday_middleware-aws-sigv4', '~>0.3.0'
 @@ -274,7 +274,7 @@ gem 'slack-messenger', '~> 2.3.4'
  gem 'hangouts-chat', '~> 0.0.5', require: 'hangouts_chat'
  
@@ -56,12 +47,12 @@
  
  # FogBugz integration
  gem 'ruby-fogbugz', '~> 0.3.0'
-@@ -367,115 +367,17 @@ gem 'prometheus-client-mmap', '~> 0.23', require: 'pro
+@@ -367,118 +367,17 @@ gem 'prometheus-client-mmap', '~> 0.25', require: 'pro
  
  gem 'warning', '~> 1.3.0'
  
 -group :development do
--  gem 'lefthook', '~> 1.3.13', require: false
+-  gem 'lefthook', '~> 1.4.2', require: false
 -  gem 'rubocop'
 -  gem 'solargraph', '~> 0.47.2', require: false
 -
@@ -69,7 +60,7 @@
 -  gem 'lookbook', '~> 2.0', '>= 2.0.1'
 -
 -  # Better errors handler
--  gem 'better_errors', '~> 2.10.0'
+-  gem 'better_errors', '~> 2.10.1'
 -
 -  gem 'sprite-factory', '~> 1.7'
 -
@@ -79,6 +70,7 @@
 -group :development, :test do
 -  gem 'deprecation_toolkit', '~> 1.5.1', require: false
 -  gem 'bullet', '~> 7.0.2'
+-  gem 'parser', '~> 3.2', '>= 3.2.2.3'
 -  gem 'pry-byebug'
 -  gem 'pry-rails', '~> 0.3.9'
 -  gem 'pry-shell', '~> 0.6.1'
@@ -147,7 +139,7 @@
 -  gem 'rspec-parameterized', '~> 1.0', require: false
 +gem 'octokit', '>= 4.15'
  
--  gem 'capybara', '~> 3.39'
+-  gem 'capybara', '~> 3.39', '>= 3.39.1'
 -  gem 'capybara-screenshot', '~> 1.0.26'
 -  # 4.9.1 drops Ruby 2.7 support. We can upgrade further after we drop Ruby 2.7 support.
 -  gem 'selenium-webdriver', '= 4.9.0'
@@ -166,6 +158,8 @@
 -
 -  # Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527
 -  gem 'derailed_benchmarks', require: false
+-
+-  gem 'gitlab_quality-test_tooling', '~> 0.8.1', require: false
 -end
 -
 -gem 'octokit', '~> 4.15'
@@ -173,14 +167,14 @@
  gem 'gitlab-mail_room', '~> 0.0.23', require: 'mail_room'
  
  gem 'email_reply_trimmer', '~> 0.1'
-@@ -511,14 +413,14 @@ gem 'gitaly', '~> 15.9.0-rc3'
+@@ -514,14 +413,14 @@ gem 'gitaly', '~> 16.1.0-rc2'
  # KAS GRPC protocol definitions
  gem 'kas-grpc', '~> 0.1.0'
  
 -gem 'grpc', '~> 1.42.0'
 +gem 'grpc', '~> 1.42'
  
- gem 'google-protobuf', '~> 3.22', '>= 3.22.3'
+ gem 'google-protobuf', '~> 3.23', '>= 3.23.3'
  
  gem 'toml-rb', '~> 2.2.0'
  
@@ -190,7 +184,7 @@
  gem 'flipper-active_record', '~> 0.25.0'
  gem 'flipper-active_support_cache_store', '~> 0.25.0'
  gem 'unleash', '~> 3.2.2'
-@@ -532,7 +434,7 @@ gem 'grape_logging', '~> 1.8'
+@@ -535,7 +434,7 @@ gem 'grape_logging', '~> 1.8'
  gem 'gitlab-net-dns', '~> 0.9.2'
  
  # Countries list
@@ -199,7 +193,7 @@
  
  gem 'retriable', '~> 3.1.2'
  
-@@ -579,6 +481,11 @@ gem 'ed25519', '~> 1.3.0'
+@@ -582,6 +481,11 @@ gem 'ed25519', '~> 1.3.0'
  # Error Tracking OpenAPI client
  # See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/development/rake_tasks.md#update-openapi-client-for-error-tracking-feature
  gem 'error_tracking_open_api', path: 'vendor/gems/error_tracking_open_api'
diff --git a/www/gitlab-ce/files/patch-config_puma.rb.example b/www/gitlab-ce/files/patch-config_puma.rb.example
index f96f8dd8abae..fd303f352d69 100644
--- a/www/gitlab-ce/files/patch-config_puma.rb.example
+++ b/www/gitlab-ce/files/patch-config_puma.rb.example
@@ -1,4 +1,4 @@
---- config/puma.rb.example.orig	2023-05-18 16:48:55 UTC
+--- config/puma.rb.example.orig	2023-06-21 08:07:20 UTC
 +++ config/puma.rb.example
 @@ -5,11 +5,11 @@
  # The default is "config.ru".
@@ -16,7 +16,7 @@
    true
  
  # Configure "min" to be the minimum number of threads to use to answer
-@@ -31,12 +31,12 @@ queue_requests false
+@@ -31,11 +31,11 @@ queue_requests false
  
  # Bind the server to "url". "tcp://", "unix://" and "ssl://" are the only
  # accepted protocols.
@@ -26,14 +26,12 @@
  workers 3
  
 -require_relative "/home/git/gitlab/lib/gitlab/cluster/lifecycle_events"
--require_relative "/home/git/gitlab/lib/gitlab/cluster/puma_worker_killer_initializer"
 +require_relative "%%PREFIX%%/www/gitlab-ce/lib/gitlab/cluster/lifecycle_events"
-+require_relative "%%PREFIX%%/www/gitlab-ce/lib/gitlab/cluster/puma_worker_killer_initializer"
  
  on_restart do
    # Signal application hooks that we're about to restart
-@@ -85,7 +85,7 @@ if Gem::Version.new(Puma::Const::PUMA_VERSION).canonic
- end
+@@ -74,7 +74,7 @@ worker_timeout 60
+ wait_for_less_busy_worker ENV.fetch('PUMA_WAIT_FOR_LESS_BUSY_WORKER', 0.001).to_f
  
  # Use json formatter
 -require_relative "/home/git/gitlab/lib/gitlab/puma_logging/json_formatter"
diff --git a/www/gitlab-ce/files/patch-lib_gitlab_patch_redis__cluster.rb b/www/gitlab-ce/files/patch-lib_gitlab_patch_redis__cluster.rb
new file mode 100644
index 000000000000..5e28885407b6
--- /dev/null
+++ b/www/gitlab-ce/files/patch-lib_gitlab_patch_redis__cluster.rb
@@ -0,0 +1,11 @@
+--- lib/gitlab/patch/redis_cluster.rb.orig	2023-07-06 07:35:20 UTC
++++ lib/gitlab/patch/redis_cluster.rb
+@@ -4,7 +4,7 @@
+ # In redis v5.0.x, cross-slot pipelining is implemented via redis-cluster-client.
+ # This patch should be removed since there is no need for it.
+ # Gitlab::Redis::CrossSlot and its usage should be removed as well.
+-if Gem::Version.new(Redis::VERSION) != Gem::Version.new('4.8.0')
++if Gem::Version.new(Redis::VERSION) != Gem::Version.new('4.8.1')
+   raise 'New version of redis detected, please remove or update this patch'
+ end
+ 
diff --git a/www/gitlab-ce/pkg-message b/www/gitlab-ce/pkg-message
index 7b564371fe99..7ca164324ac2 100644
--- a/www/gitlab-ce/pkg-message
+++ b/www/gitlab-ce/pkg-message
@@ -6,7 +6,7 @@ Gitlab was installed successfully.
 You now need to set up the various components of Gitlab, so please
 follow the instructions in the guide at:
 
-https://gitlab.fechner.net/mfechner/Gitlab-docu/blob/master/install/16.0-freebsd.md
+https://gitlab.fechner.net/mfechner/Gitlab-docu/blob/master/install/16.1-freebsd.md
 EOM
   type: install
 }
@@ -20,7 +20,7 @@ EOM
 If you just installed an major upgrade of GitLab, for example you
 switched from 14.5.x to 14.6.x, please follow the instructions in the guide at:
 
-https://gitlab.fechner.net/mfechner/Gitlab-docu/blob/master/update/15.11-16.0-freebsd.md
+https://gitlab.fechner.net/mfechner/Gitlab-docu/blob/master/update/16.0-16.1-freebsd.md
 
 If you just installed an minor upgrade of GitLab please follow
 the instructions in the guide at: