Remove patches already applied upstream

This commit is contained in:
Sruthi Chandran 2021-09-04 02:49:33 +05:30
parent 3bbd721fc3
commit ed44479d24
4 changed files with 0 additions and 95 deletions

View file

@ -1,17 +0,0 @@
puma is default from gitlab 12.9 and unicorn will be removed from 14.0
gitlab-puma changes is included in puma package.
--- a/Gemfile
+++ b/Gemfile
@@ -181,11 +181,6 @@
# https://github.com/sharpstone/rack-timeout/blob/master/README.md#rails-apps-manually
gem 'rack-timeout', '~> 0.5.1', require: 'rack/timeout/base'
-group :unicorn do
- gem 'unicorn', '~> 5.5'
- gem 'unicorn-worker-killer', '~> 0.4.4'
-end
-
group :puma do
gem 'puma', '~> 5.1', '>= 5.1.1', require: false
gem 'puma_worker_killer', '~> 0.3.1', require: false

View file

@ -1,17 +0,0 @@
--- a/Gemfile
+++ b/Gemfile
@@ -297,12 +297,12 @@
gem 'sentry-raven', '~> 3.0'
# PostgreSQL query parsing
-gem 'pg_query', '~> 1.3'
+gem 'pg_query', '~> 2.0'
gem 'premailer-rails', '~> 1.10', '>= 1.10.3'
# LabKit: Tracing and Correlation
-gem 'gitlab-labkit', '~> 0.16.2'
+gem 'gitlab-labkit', '~> 0.17.1'
# Thrift is a dependency of gitlab-labkit, we want a version higher than 0.14.0
# because of https://gitlab.com/gitlab-org/gitlab/-/issues/321900
gem 'thrift', '>= 0.14.0'

View file

@ -1,58 +0,0 @@
Bug: https://gitlab.com/gitlab-org/gitlab-ce/issues/13415
--- a/bin/mail_room
+++ b/bin/mail_room
@@ -7,6 +7,11 @@
mail_room_logfile="$app_root/log/mail_room.log"
mail_room_config="$app_root/config/mail_room.yml"
+# Read configuration variable file if it is present
+test -f /etc/default/gitlab && . /etc/default/gitlab
+
+mail_room_logfile=${mail_room_pid_path}
+
get_mail_room_pid()
{
local pid
--- a/bin/web_unicorn
+++ b/bin/web_unicorn
@@ -7,6 +7,11 @@
unicorn_config="$app_root/config/unicorn.rb"
unicorn_cmd="bundle exec unicorn_rails -c $unicorn_config -E $RAILS_ENV"
+# Read configuration variable file if it is present
+test -f /etc/default/gitlab && . /etc/default/gitlab
+
+unicorn_pidfile=${web_server_pid_path}
+
get_unicorn_pid()
{
local pid
--- a/bin/background_jobs_sk
+++ b/bin/background_jobs_sk
@@ -7,6 +7,11 @@
sidekiq_config="$app_root/config/sidekiq_queues.yml"
gitlab_user=$(ls -l config.ru | awk '{print $3}')
+# Read configuration variable file if it is present
+test -f /etc/default/gitlab && . /etc/default/gitlab
+
+sidekiq_pidfile=${sidekiq_pid_path}
+
warn()
{
echo "$@" 1>&2
--- a/bin/background_jobs_sk_cluster
+++ b/bin/background_jobs_sk_cluster
@@ -6,6 +6,11 @@
sidekiq_logfile="$app_root/log/sidekiq.log"
gitlab_user=$(ls -l config.ru | awk '{print $3}')
+# Read configuration variable file if it is present
+test -f /etc/default/gitlab && . /etc/default/gitlab
+
+sidekiq_pidfile=${sidekiq_pid_path}
+
warn()
{
echo "$@" 1>&2

View file

@ -4,7 +4,6 @@
0340-relax-httparty.patch 0340-relax-httparty.patch
0350-relax-rdoc.patch 0350-relax-rdoc.patch
0430-remove-gitlab-markup.patch 0430-remove-gitlab-markup.patch
0440-remove-unicorn.patch
0480-embed-elasticsearch-model.patch 0480-embed-elasticsearch-model.patch
0480-embed-elasticsearch-rails.patch 0480-embed-elasticsearch-rails.patch
0482-remove-ee-only-gems.patch 0482-remove-ee-only-gems.patch
@ -18,11 +17,9 @@
0499-90-relax-webrick.patch 0499-90-relax-webrick.patch
0499-91-relax-omniauth-azure-activedirectory-v2.patch 0499-91-relax-omniauth-azure-activedirectory-v2.patch
0499-92-relax-rexml.patch 0499-92-relax-rexml.patch
0499-93-relax-labkit.patch
0500-set-webpack-root.patch 0500-set-webpack-root.patch
0510-remove-dev-dependencies.patch 0510-remove-dev-dependencies.patch
0610-source-init-functions.patch 0610-source-init-functions.patch
0620-pid-log-paths.patch
0630-fix-mail-room-path.patch 0630-fix-mail-room-path.patch
0660-fix-gitlab-yml-path.patch 0660-fix-gitlab-yml-path.patch
0690-debian-usage-ping.patch 0690-debian-usage-ping.patch