debian-mirror-gitlab/debian/patches/Gemfile/0010-relax-stable-libs.patch
2023-06-20 11:34:45 +05:30

198 lines
5.6 KiB
Diff

We should be able to update minor versions of stable libs without breaking
gitlab Gemfile
--- a/Gemfile
+++ b/Gemfile
@@ -13,9 +13,9 @@ gem 'bundler-checksum', '~> 0.1.0', path
# NOTE: When incrementing the major or minor version here, also increment activerecord_version
# in vendor/gems/attr_encrypted/attr_encrypted.gemspec until we resolve
# https://gitlab.com/gitlab-org/gitlab/-/issues/375713
-gem 'rails', '~> 6.1.7.2'
+gem 'rails', '~> 6.1.7', '>= 6.1.7.2'
-gem 'bootsnap', '~> 1.16.0', require: false
+gem 'bootsnap', '~> 1.16', require: false
# Pin openssl to match the version bundled with our supported Rubies.
# See https://stdgems.org/openssl/#gem-version.
@@ -30,7 +30,7 @@ gem 'sprockets', '~> 3.7.0'
gem 'view_component', '~> 2.74.1'
# Supported DBs
-gem 'pg', '~> 1.4.6'
+gem 'pg', '~> 1.4', '>= 1.4.6'
gem 'rugged', '~> 1.5'
gem 'grape-path-helpers', '~> 1.7.1'
@@ -110,30 +110,30 @@ gem 'gitlab_omniauth-ldap', '~> 2.2.0',
gem 'net-ldap', '~> 0.17.1'
# API
-gem 'grape', '~> 1.5.2'
+gem 'grape', '~> 1.5','>= 1.5.2'
gem 'grape-entity', '~> 0.10.0'
-gem 'rack-cors', '~> 1.1.1', require: 'rack/cors'
+gem 'rack-cors', '~> 1.1', '>= 1.1.1', require: 'rack/cors'
gem 'grape-swagger', '~>1.5.0', group: [:development, :test]
gem 'grape-swagger-entity', '~> 0.5.1', group: [:development, :test]
# GraphQL API
-gem 'graphql', '~> 1.13.12'
+gem 'graphql', '~> 1.13', '>= 1.13.12'
gem 'graphiql-rails', '~> 1.8'
-gem 'apollo_upload_server', '~> 2.1.0'
+gem 'apollo_upload_server', '~> 2.1'
gem 'graphql-docs', '~> 2.1.0', group: [:development, :test]
gem 'graphlient', '~> 0.5.0' # Used by BulkImport feature (group::import)
-gem 'hashie', '~> 5.0.0'
+gem 'hashie', '~> 5.0'
# Pagination
-gem 'kaminari', '~> 1.2.2'
+gem 'kaminari', '~> 1.2', '>= 1.2.2'
# HAML
-gem 'hamlit', '~> 2.15.0'
+gem 'hamlit', '~> 2.15'
# Files attachments
gem 'carrierwave', '~> 1.3'
-gem 'mini_magick', '~> 4.10.1'
+gem 'mini_magick', '~> 4.10','>= 4.10.1'
# for backups
gem 'fog-aws', '~> 3.18'
@@ -149,7 +149,7 @@ gem 'fog-local', '~> 0.8'
# We may want to update this dependency if this is ever addressed upstream, e.g. via
# https://github.com/aliyun/aliyun-oss-ruby-sdk/pull/93
gem 'fog-aliyun', '~> 0.4'
-gem 'gitlab-fog-azure-rm', '~> 1.7.0', require: 'fog/azurerm'
+gem 'gitlab-fog-azure-rm', '~> 1.7', require: 'fog/azurerm'
# for Google storage
gem 'google-cloud-storage', '~> 1.44.0'
@@ -242,10 +242,10 @@ gem 'rainbow', '~> 3.0'
gem 'ruby-progressbar', '~> 1.10'
# GitLab settings
-gem 'settingslogic', '~> 2.0.9'
+gem 'settingslogic', '~> 2.0', '>= 2.0.9'
# Linear-time regex library for untrusted regular expressions
-gem 're2', '~> 1.6.0'
+gem 're2', '~> 1.6'
# Misc
@@ -259,21 +259,21 @@ gem 'js_regex', '~> 3.8'
gem 'device_detector'
# Redis
-gem 'redis', '~> 4.8.0'
+gem 'redis', '~> 4.8'
gem 'connection_pool', '~> 2.0'
# Redis session store
-gem 'redis-actionpack', '~> 5.3.0'
+gem 'redis-actionpack', '~> 5.3'
# Discord integration
gem 'discordrb-webhooks', '~> 3.4', require: false
# Jira integration
-gem 'jira-ruby', '~> 2.1.4'
+gem 'jira-ruby', '~> 2.1', '>= 2.1.4'
gem 'atlassian-jwt', '~> 0.2.0'
# Slack integration
-gem 'slack-messenger', '~> 2.3.4'
+gem 'slack-messenger', '~> 2.3', '>= 2.3.4'
# Hangouts Chat integration
gem 'hangouts-chat', '~> 0.0.5', require: 'hangouts_chat'
@@ -350,11 +350,11 @@ gem 'thrift', '>= 0.16.0'
# I18n
gem 'ruby_parser', '~> 3.20', require: false
gem 'rails-i18n', '~> 7.0'
-gem 'gettext_i18n_rails', '~> 1.8.0'
+gem 'gettext_i18n_rails', '~> 1.8'
gem 'gettext_i18n_rails_js', '~> 1.3'
gem 'gettext', '~> 3.3', require: false, group: :development
-gem 'batch-loader', '~> 2.0.1'
+gem 'batch-loader', '~> 2.0', '>= 2.0.1'
# Perf bar
gem 'peek', '~> 1.1'
@@ -496,8 +496,8 @@ gem 'oauth2', '~> 2.0'
gem 'health_check', '~> 3.0'
# System information
-gem 'vmstat', '~> 2.3.0'
-gem 'sys-filesystem', '~> 1.4.3'
+gem 'vmstat', '~> 2.3'
+gem 'sys-filesystem', '~> 1.4', '>= 1.4.3'
# NTP client
gem 'net-ntp'
@@ -535,9 +535,9 @@ gem 'grape_logging', '~> 1.8'
gem 'gitlab-net-dns', '~> 0.9.2'
# Countries list
-gem 'countries', '~> 4.0.0'
+gem 'countries', '~> 4.0'
-gem 'retriable', '~> 3.1.2'
+gem 'retriable', '~> 3.1', '>= 3.1.2'
# LRU cache
gem 'lru_redux'
@@ -555,18 +555,18 @@ gem 'mail-smtp_pool', '~> 0.1.0', path:
gem 'microsoft_graph_mailer', '~> 0.1.0', path: 'vendor/gems/microsoft_graph_mailer'
# File encryption
-gem 'lockbox', '~> 1.1.1'
+gem 'lockbox', '~> 1.1', '>= 1.1.1'
# Email validation
gem 'valid_email', '~> 0.1'
# JSON
-gem 'json', '~> 2.6.3'
+gem 'json', '~> 2.6', '>= 2.6.3'
gem 'json_schemer', '~> 0.2.18'
-gem 'oj', '~> 3.13.21'
+gem 'oj', '~> 3.13', '>= 3.13.21'
gem 'oj-introspect', '~> 0.7'
-gem 'multi_json', '~> 1.14.1'
-gem 'yajl-ruby', '~> 1.4.3', require: 'yajl'
+gem 'multi_json', '~> 1.14', '>= 1.14.1'
+gem 'yajl-ruby', '~> 1.4','>= 1.4.3', require: 'yajl'
gem 'webauthn', '~> 3.0'
@@ -577,20 +577,20 @@ gem 'parslet', '~> 1.8'
gem 'ipynbdiff', path: 'vendor/gems/ipynbdiff'
-gem 'ed25519', '~> 1.3.0'
+gem 'ed25519', '~> 1.3'
# 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'
# Vulnerability advisories
-gem 'cvss-suite', '~> 3.0.1', require: 'cvss_suite'
+gem 'cvss-suite', '~> 3.0','>= 3.0.1', require: 'cvss_suite'
# Work with RPM packages
gem 'arr-pm', '~> 0.0.12'
# Apple plist parsing
-gem 'CFPropertyList', '~> 3.0.0'
+gem 'CFPropertyList', '~> 3.0'
gem 'app_store_connect'
# For phone verification