1# frozen_string_literal: true
2
3source 'https://rubygems.org'
4
5if ENV.fetch('BUNDLER_CHECKSUM_VERIFICATION_OPT_IN', 'false') != 'false' # this verification is still experimental
6 $LOAD_PATH.unshift(File.expand_path("vendor/gems/bundler-checksum/lib", __dir__))
7 require 'bundler-checksum'
8 BundlerChecksum.patch!
9end
10
11# Please see https://docs.gitlab.com/ee/development/feature_categorization/#gemfile
12ignore_feature_category = Module.new do
13 def gem(*arguments, feature_category: nil, **keyword_arguments) # rubocop:disable Lint/UnusedMethodArgument
14 super(*arguments, **keyword_arguments)
15 end
16end
17
18extend ignore_feature_category
19
20gem 'bundler-checksum', '~> 0.1.0', path: 'vendor/gems/bundler-checksum', require: false # rubocop:todo Gemfile/MissingFeatureCategory
21
22# NOTE: When incrementing the major or minor version here, also increment activerecord_version
23# in vendor/gems/attr_encrypted/attr_encrypted.gemspec until we resolve
24# https://gitlab.com/gitlab-org/gitlab/-/issues/375713
25#
26# See https://docs.gitlab.com/ee/development/gemfile.html#upgrade-rails for guidelines when upgrading Rails
27gem 'rails', '~> 7.0.8.1' # rubocop:todo Gemfile/MissingFeatureCategory
28
29gem 'activerecord-gitlab', path: 'gems/activerecord-gitlab' # rubocop:todo Gemfile/MissingFeatureCategory
30
31gem 'bootsnap', '~> 1.18.3', require: false # rubocop:todo Gemfile/MissingFeatureCategory
32
33gem 'openssl', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory
34gem 'ipaddr', '~> 1.2.5' # rubocop:todo Gemfile/MissingFeatureCategory
35
36gem 'gitlab-safe_request_store', path: 'gems/gitlab-safe_request_store' # rubocop:todo Gemfile/MissingFeatureCategory
37
38# GitLab Monorepo Gems
39group :monorepo do
40 gem 'gitlab-utils', path: 'gems/gitlab-utils' # rubocop:todo Gemfile/MissingFeatureCategory
41end
42
43gem 'gitlab-backup-cli', path: 'gems/gitlab-backup-cli', require: 'gitlab/backup/cli', feature_category: :backup_restore
44
45gem 'gitlab-secret_detection', path: 'gems/gitlab-secret_detection', feature_category: :secret_detection
46
47# Responders respond_to and respond_with
48gem 'responders', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory
49
50gem 'sprockets', '~> 3.7.0' # rubocop:todo Gemfile/MissingFeatureCategory
51
52gem 'view_component', '~> 3.11.0' # rubocop:todo Gemfile/MissingFeatureCategory
53
54# Supported DBs
55gem 'pg', '~> 1.5.6' # rubocop:todo Gemfile/MissingFeatureCategory
56
57gem 'neighbor', '~> 0.2.3' # rubocop:todo Gemfile/MissingFeatureCategory
58
59gem 'rugged', '~> 1.6' # rubocop:todo Gemfile/MissingFeatureCategory
60
61gem 'faraday', '~> 1.0' # rubocop:todo Gemfile/MissingFeatureCategory
62gem 'marginalia', '~> 1.11.1' # rubocop:todo Gemfile/MissingFeatureCategory
63
64# Authorization
65gem 'declarative_policy', '~> 1.1.0' # rubocop:todo Gemfile/MissingFeatureCategory
66
67# Authentication libraries
68gem 'devise', '~> 4.9.3', feature_category: :system_access
69gem 'devise-pbkdf2-encryptable', '~> 0.0.0', path: 'vendor/gems/devise-pbkdf2-encryptable' # rubocop:todo Gemfile/MissingFeatureCategory
70gem 'bcrypt', '~> 3.1', '>= 3.1.14' # rubocop:todo Gemfile/MissingFeatureCategory
71gem 'doorkeeper', '~> 5.6', '>= 5.6.6' # rubocop:todo Gemfile/MissingFeatureCategory
72gem 'doorkeeper-openid_connect', '~> 1.8', '>= 1.8.7' # rubocop:todo Gemfile/MissingFeatureCategory
73gem 'rexml', '~> 3.2.6' # rubocop:todo Gemfile/MissingFeatureCategory
74gem 'ruby-saml', '~> 1.15.0' # rubocop:todo Gemfile/MissingFeatureCategory
75gem 'omniauth', '~> 2.1.0' # rubocop:todo Gemfile/MissingFeatureCategory
76gem 'omniauth-auth0', '~> 3.1' # rubocop:todo Gemfile/MissingFeatureCategory
77gem 'omniauth-azure-activedirectory-v2', '~> 2.0' # rubocop:todo Gemfile/MissingFeatureCategory
78gem 'omniauth-azure-oauth2', '~> 0.0.9', path: 'vendor/gems/omniauth-azure-oauth2' # See gem README.md # rubocop:todo Gemfile/MissingFeatureCategory
79gem 'omniauth-dingtalk-oauth2', '~> 1.0' # rubocop:todo Gemfile/MissingFeatureCategory
80gem 'omniauth-alicloud', '~> 3.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
81gem 'omniauth-facebook', '~> 4.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
82gem 'omniauth-github', '2.0.1' # rubocop:todo Gemfile/MissingFeatureCategory
83gem 'omniauth-gitlab', '~> 4.0.0', path: 'vendor/gems/omniauth-gitlab' # See vendor/gems/omniauth-gitlab/README.md # rubocop:todo Gemfile/MissingFeatureCategory
84gem 'omniauth-google-oauth2', '~> 1.1' # rubocop:todo Gemfile/MissingFeatureCategory
85gem 'omniauth-oauth2-generic', '~> 0.2.2' # rubocop:todo Gemfile/MissingFeatureCategory
86gem 'omniauth-saml', '~> 2.1.0' # rubocop:todo Gemfile/MissingFeatureCategory
87gem 'omniauth-shibboleth-redux', '~> 2.0', require: 'omniauth-shibboleth' # rubocop:todo Gemfile/MissingFeatureCategory
88gem 'omniauth-twitter', '~> 1.4' # rubocop:todo Gemfile/MissingFeatureCategory
89gem 'omniauth_crowd', '~> 2.4.0', path: 'vendor/gems/omniauth_crowd' # See vendor/gems/omniauth_crowd/README.md # rubocop:todo Gemfile/MissingFeatureCategory
90gem 'omniauth_openid_connect', '~> 0.6.1' # rubocop:todo Gemfile/MissingFeatureCategory
91# Locked until Ruby 3.0 upgrade since upgrading will pull in an updated net-smtp gem.
92# See https://docs.gitlab.com/ee/development/emails.html#rationale.
93gem 'openid_connect', '= 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
94gem 'omniauth-salesforce', '~> 1.0.5', path: 'vendor/gems/omniauth-salesforce' # See gem README.md # rubocop:todo Gemfile/MissingFeatureCategory
95gem 'omniauth-atlassian-oauth2', '~> 0.2.0' # rubocop:todo Gemfile/MissingFeatureCategory
96gem 'rack-oauth2', '~> 1.21.3' # rubocop:todo Gemfile/MissingFeatureCategory
97gem 'jwt', '~> 2.5' # rubocop:todo Gemfile/MissingFeatureCategory
98
99# Kerberos authentication. EE-only
100gem 'gssapi', '~> 1.3.1', group: :kerberos # rubocop:todo Gemfile/MissingFeatureCategory
101gem 'timfel-krb5-auth', '~> 0.8', group: :kerberos # rubocop:todo Gemfile/MissingFeatureCategory
102
103# Spam and anti-bot protection
104gem 'recaptcha', '~> 5.12', require: 'recaptcha/rails' # rubocop:todo Gemfile/MissingFeatureCategory
105gem 'akismet', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory
106gem 'invisible_captcha', '~> 2.1.0' # rubocop:todo Gemfile/MissingFeatureCategory
107
108# Two-factor authentication
109gem 'devise-two-factor', '~> 4.1.1' # rubocop:todo Gemfile/MissingFeatureCategory
110gem 'rqrcode', '~> 2.0', feature_category: :system_access
111
112gem 'attr_encrypted', '~> 3.2.4', path: 'vendor/gems/attr_encrypted' # rubocop:todo Gemfile/MissingFeatureCategory
113
114# GitLab Pages
115gem 'validates_hostname', '~> 1.0.13' # rubocop:todo Gemfile/MissingFeatureCategory
116gem 'rubyzip', '~> 2.3.2', require: 'zip' # rubocop:todo Gemfile/MissingFeatureCategory
117# GitLab Pages letsencrypt support
118gem 'acme-client', '~> 2.0' # rubocop:todo Gemfile/MissingFeatureCategory
119
120# Browser detection
121gem 'browser', '~> 5.3.1' # rubocop:todo Gemfile/MissingFeatureCategory
122
123# OS detection for usage ping
124gem 'ohai', '~> 18.1' # rubocop:todo Gemfile/MissingFeatureCategory
125
126# GPG
127gem 'gpgme', '~> 2.0.23' # rubocop:todo Gemfile/MissingFeatureCategory
128
129# LDAP Auth
130# GitLab fork with several improvements to original library. For full list of changes
131# see https://github.com/intridea/omniauth-ldap/compare/master...gitlabhq:master
132gem 'gitlab_omniauth-ldap', '~> 2.2.0', require: 'omniauth-ldap' # rubocop:todo Gemfile/MissingFeatureCategory
133gem 'net-ldap', '~> 0.17.1' # rubocop:todo Gemfile/MissingFeatureCategory
134
135# API
136gem 'grape', '~> 2.0.0', feature_category: :api
137gem 'grape-entity', '~> 0.10.2', feature_category: :api
138gem 'grape-swagger', '~> 2.0.1', group: [:development, :test], feature_category: :api
139gem 'grape-swagger-entity', '~> 0.5.1', group: [:development, :test], feature_category: :api
140gem 'grape-path-helpers', '~> 2.0.1', feature_category: :api
141gem 'rack-cors', '~> 2.0.1', require: 'rack/cors' # rubocop:todo Gemfile/MissingFeatureCategory
142
143# GraphQL API
144gem 'graphql', '~> 2.2.5', feature_category: :api
145gem 'graphql-docs', '~> 4.0.0', group: [:development, :test], feature_category: :api
146gem 'graphiql-rails', '~> 1.8.0', feature_category: :api
147gem 'apollo_upload_server', '~> 2.1.5', feature_category: :api
148gem 'graphlient', '~> 0.6.0', feature_category: :importers # Used by BulkImport feature (group::import)
149
150# Generate Fake data
151gem 'ffaker', '~> 2.23' # rubocop:todo Gemfile/MissingFeatureCategory
152
153gem 'hashie', '~> 5.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
154
155# Pagination
156gem 'kaminari', '~> 1.2.2' # rubocop:todo Gemfile/MissingFeatureCategory
157
158# HAML
159gem 'hamlit', '~> 2.15.0' # rubocop:todo Gemfile/MissingFeatureCategory
160
161# Files attachments
162gem 'carrierwave', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory
163gem 'mini_magick', '~> 4.10.1' # rubocop:todo Gemfile/MissingFeatureCategory
164
165# for backups
166gem 'fog-aws', '~> 3.18' # rubocop:todo Gemfile/MissingFeatureCategory
167# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
168# Also see config/initializers/fog_core_patch.rb.
169gem 'fog-core', '= 2.1.0' # rubocop:todo Gemfile/MissingFeatureCategory
170gem 'fog-google', '~> 1.19', require: 'fog/google' # rubocop:todo Gemfile/MissingFeatureCategory
171gem 'fog-local', '~> 0.8' # rubocop:todo Gemfile/MissingFeatureCategory
172# NOTE:
173# the fog-aliyun gem since v0.4 pulls in aliyun-sdk transitively, which monkey-patches
174# the rest-client gem to drop the Content-Length header field for chunked transfers,
175# which may have knock-on effects on other features using `RestClient`.
176# We may want to update this dependency if this is ever addressed upstream, e.g. via
177# https://github.com/aliyun/aliyun-oss-ruby-sdk/pull/93
178gem 'fog-aliyun', '~> 0.4' # rubocop:todo Gemfile/MissingFeatureCategory
179gem 'gitlab-fog-azure-rm', '~> 1.8.0', require: 'fog/azurerm' # rubocop:todo Gemfile/MissingFeatureCategory
180
181# for Google storage
182
183# Need this specific version of google-apis-storage_v1 so that fog-google will utilize the updated list_objects with
184# match_glob support in google-apis-core 0.11.1. Because of this we also have to bump google-cloud-storage to 1.45.0.
185gem 'google-apis-storage_v1', '~> 0.29' # rubocop:todo Gemfile/MissingFeatureCategory
186gem 'google-cloud-storage', '~> 1.45.0' # rubocop:todo Gemfile/MissingFeatureCategory
187# We need >= 0.11.1 because that's when match_glob support is added to list_objects
188gem 'google-apis-core', '~> 0.11.0', '>= 0.11.1' # rubocop:todo Gemfile/MissingFeatureCategory
189gem 'google-apis-compute_v1', '~> 0.57.0' # rubocop:todo Gemfile/MissingFeatureCategory
190gem 'google-apis-container_v1', '~> 0.43.0' # rubocop:todo Gemfile/MissingFeatureCategory
191gem 'google-apis-container_v1beta1', '~> 0.43.0' # rubocop:todo Gemfile/MissingFeatureCategory
192gem 'google-apis-cloudbilling_v1', '~> 0.21.0' # rubocop:todo Gemfile/MissingFeatureCategory
193gem 'google-apis-cloudresourcemanager_v1', '~> 0.31.0' # rubocop:todo Gemfile/MissingFeatureCategory
194gem 'google-apis-iam_v1', '~> 0.36.0' # rubocop:todo Gemfile/MissingFeatureCategory
195gem 'google-apis-serviceusage_v1', '~> 0.28.0' # rubocop:todo Gemfile/MissingFeatureCategory
196gem 'google-apis-sqladmin_v1beta4', '~> 0.41.0' # rubocop:todo Gemfile/MissingFeatureCategory
197gem 'google-apis-androidpublisher_v3', '~> 0.34.0' # rubocop:todo Gemfile/MissingFeatureCategory
198
199gem 'googleauth', '~> 1.8.1', feature_category: :shared
200gem 'google-cloud-artifact_registry-v1', '~> 0.11.0', feature_category: :shared
201gem 'google-cloud-compute-v1', '~> 2.6.0', feature_category: :shared
202
203# Seed data
204gem 'seed-fu', '~> 2.3.7' # rubocop:todo Gemfile/MissingFeatureCategory
205
206# Search
207gem 'elasticsearch-model', '~> 7.2' # rubocop:todo Gemfile/MissingFeatureCategory
208gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation' # rubocop:todo Gemfile/MissingFeatureCategory
209gem 'elasticsearch-api', '7.13.3' # rubocop:todo Gemfile/MissingFeatureCategory
210gem 'aws-sdk-core', '~> 3.191.3' # rubocop:todo Gemfile/MissingFeatureCategory
211gem 'aws-sdk-cloudformation', '~> 1' # rubocop:todo Gemfile/MissingFeatureCategory
212gem 'aws-sdk-s3', '~> 1.144.0' # rubocop:todo Gemfile/MissingFeatureCategory
213gem 'faraday_middleware-aws-sigv4', '~>0.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
214gem 'typhoeus', '~> 1.4.0' # Used with Elasticsearch to support http keep-alive connections # rubocop:todo Gemfile/MissingFeatureCategory
215
216# Markdown and HTML processing
217gem 'html-pipeline', '~> 2.14.3', feature_category: :team_planning
218gem 'deckar01-task_list', '2.3.4', feature_category: :team_planning
219gem 'gitlab-markup', '~> 1.9.0', require: 'github/markup' # rubocop:todo Gemfile/MissingFeatureCategory
220gem 'commonmarker', '~> 0.23.10', feature_category: :team_planning
221gem 'kramdown', '~> 2.3.1' # rubocop:todo Gemfile/MissingFeatureCategory
222gem 'RedCloth', '~> 4.3.3' # rubocop:todo Gemfile/MissingFeatureCategory
223gem 'org-ruby', '~> 0.9.12' # rubocop:todo Gemfile/MissingFeatureCategory
224gem 'creole', '~> 0.5.0' # rubocop:todo Gemfile/MissingFeatureCategory
225gem 'wikicloth', '0.8.1' # rubocop:todo Gemfile/MissingFeatureCategory
226gem 'asciidoctor', '~> 2.0.18' # rubocop:todo Gemfile/MissingFeatureCategory
227gem 'asciidoctor-include-ext', '~> 0.4.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
228gem 'asciidoctor-plantuml', '~> 0.0.16' # rubocop:todo Gemfile/MissingFeatureCategory
229gem 'asciidoctor-kroki', '~> 0.8.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
230gem 'rouge', '~> 4.2.0' # rubocop:todo Gemfile/MissingFeatureCategory
231gem 'truncato', '~> 0.7.12' # rubocop:todo Gemfile/MissingFeatureCategory
232gem 'nokogiri', '~> 1.16' # rubocop:todo Gemfile/MissingFeatureCategory
233gem 'gitlab-glfm-markdown', '~> 0.0.13', feature_category: :team_planning
234
235# Calendar rendering
236gem 'icalendar' # rubocop:todo Gemfile/MissingFeatureCategory
237
238# Diffs
239gem 'diffy', '~> 3.4' # rubocop:todo Gemfile/MissingFeatureCategory
240gem 'diff_match_patch', '~> 0.1.0', path: 'vendor/gems/diff_match_patch', feature_category: :team_planning
241
242# Application server
243gem 'rack', '~> 2.2.8.1' # rubocop:todo Gemfile/MissingFeatureCategory
244# https://github.com/zombocom/rack-timeout/blob/master/README.md#rails-apps-manually
245gem 'rack-timeout', '~> 0.6.3', require: 'rack/timeout/base' # rubocop:todo Gemfile/MissingFeatureCategory
246
247group :puma do
248 gem 'puma', '= 6.4.0', require: false, feature_category: :shared
249 gem 'sd_notify', '~> 0.1.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
250end
251
252# State machine
253gem 'state_machines-activerecord', '~> 0.8.0' # rubocop:todo Gemfile/MissingFeatureCategory
254
255# CI domain tags
256gem 'acts-as-taggable-on', '~> 10.0' # rubocop:todo Gemfile/MissingFeatureCategory
257
258# Background jobs
259gem 'sidekiq', path: 'vendor/gems/sidekiq-7.1.6', require: 'sidekiq' # rubocop:todo Gemfile/MissingFeatureCategory
260gem 'sidekiq-cron', '~> 1.12.0', feature_category: :shared
261gem 'gitlab-sidekiq-fetcher', path: 'vendor/gems/sidekiq-reliable-fetch', require: 'sidekiq-reliable-fetch' # rubocop:todo Gemfile/MissingFeatureCategory
262
263# Cron Parser
264gem 'fugit', '~> 1.8.1' # rubocop:todo Gemfile/MissingFeatureCategory
265
266# HTTP requests
267gem 'httparty', '~> 0.21.0' # rubocop:todo Gemfile/MissingFeatureCategory
268
269# Colored output to console
270gem 'rainbow', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory
271
272# Progress bar
273gem 'ruby-progressbar', '~> 1.10' # rubocop:todo Gemfile/MissingFeatureCategory
274
275# Linear-time regex library for untrusted regular expressions
276gem 're2', '2.7.0' # rubocop:todo Gemfile/MissingFeatureCategory
277
278# Misc
279
280gem 'semver_dialects', '~> 2.0', feature_category: :static_application_security_testing
281gem 'version_sorter', '~> 2.3' # rubocop:todo Gemfile/MissingFeatureCategory
282gem 'csv_builder', path: 'gems/csv_builder' # rubocop:todo Gemfile/MissingFeatureCategory
283
284# Export Ruby Regex to Javascript
285gem 'js_regex', '~> 3.8' # rubocop:todo Gemfile/MissingFeatureCategory
286
287# User agent parsing
288gem 'device_detector' # rubocop:todo Gemfile/MissingFeatureCategory
289
290# Redis
291gem 'redis-namespace', '~> 1.10.0', feature_category: :redis
292gem 'redis', '~> 5.0.0', feature_category: :redis
293gem 'redis-clustering', '~> 5.0.0', feature_category: :redis
294gem 'connection_pool', '~> 2.4' # rubocop:todo Gemfile/MissingFeatureCategory
295
296# Redis session store
297gem 'redis-actionpack', '~> 5.4.0' # rubocop:todo Gemfile/MissingFeatureCategory
298
299# Discord integration
300gem 'discordrb-webhooks', '~> 3.5', require: false, feature_category: :integrations
301
302# Jira integration
303gem 'jira-ruby', '~> 2.3.0', feature_category: :integrations
304gem 'atlassian-jwt', '~> 0.2.1', feature_category: :integrations
305
306# Slack integration
307gem 'slack-messenger', '~> 2.3.4', feature_category: :integrations
308
309# FogBugz integration
310gem 'ruby-fogbugz', '~> 0.3.0', feature_category: :importers
311
312# Kubernetes integration
313gem 'kubeclient', '~> 4.11.0' # rubocop:todo Gemfile/MissingFeatureCategory
314
315# AI
316gem 'ruby-openai', '~> 3.7' # rubocop:todo Gemfile/MissingFeatureCategory
317gem 'circuitbox', '2.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
318
319# Sanitize user input
320gem 'sanitize', '~> 6.0.2' # rubocop:todo Gemfile/MissingFeatureCategory
321gem 'babosa', '~> 2.0' # rubocop:todo Gemfile/MissingFeatureCategory
322
323# Sanitizes SVG input
324gem 'loofah', '~> 2.22.0' # rubocop:todo Gemfile/MissingFeatureCategory
325
326# Used to provide license templates
327gem 'licensee', '~> 9.16' # rubocop:todo Gemfile/MissingFeatureCategory
328
329# Detect and convert string character encoding
330gem 'charlock_holmes', '~> 0.7.7' # rubocop:todo Gemfile/MissingFeatureCategory
331
332# Detect mime content type from content
333gem 'ruby-magic', '~> 0.6' # rubocop:todo Gemfile/MissingFeatureCategory
334
335# Faster blank
336gem 'fast_blank', '~> 1.0.1' # rubocop:todo Gemfile/MissingFeatureCategory
337
338# Parse time & duration
339gem 'gitlab-chronic', '~> 0.10.5' # rubocop:todo Gemfile/MissingFeatureCategory
340gem 'gitlab_chronic_duration', '~> 0.12' # rubocop:todo Gemfile/MissingFeatureCategory
341
342gem 'rack-proxy', '~> 0.7.7' # rubocop:todo Gemfile/MissingFeatureCategory
343
344gem 'cssbundling-rails', '1.4.0', feature_category: :shared
345gem 'terser', '1.0.2' # rubocop:todo Gemfile/MissingFeatureCategory
346
347gem 'click_house-client', path: 'gems/click_house-client', require: 'click_house/client' # rubocop:todo Gemfile/MissingFeatureCategory
348gem 'addressable', '~> 2.8' # rubocop:todo Gemfile/MissingFeatureCategory
349gem 'tanuki_emoji', '~> 0.9' # rubocop:todo Gemfile/MissingFeatureCategory
350gem 'gon', '~> 6.4.0' # rubocop:todo Gemfile/MissingFeatureCategory
351gem 'request_store', '~> 1.5.1' # rubocop:todo Gemfile/MissingFeatureCategory
352gem 'base32', '~> 0.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
353
354gem 'gitlab-license', '~> 2.4', feature_category: :shared
355
356# Protect against bruteforcing
357gem 'rack-attack', '~> 6.7.0' # rubocop:todo Gemfile/MissingFeatureCategory
358
359# Sentry integration
360gem 'sentry-raven', '~> 3.1', feature_category: :error_tracking
361gem 'sentry-ruby', '~> 5.10.0', feature_category: :error_tracking
362gem 'sentry-rails', '~> 5.10.0', feature_category: :error_tracking
363gem 'sentry-sidekiq', '~> 5.10.0', feature_category: :error_tracking
364
365# PostgreSQL query parsing
366#
367gem 'pg_query', '~> 5.1.0', feature_category: :database
368
369gem 'gitlab-schema-validation', path: 'gems/gitlab-schema-validation' # rubocop:todo Gemfile/MissingFeatureCategory
370gem 'gitlab-http', path: 'gems/gitlab-http' # rubocop:todo Gemfile/MissingFeatureCategory
371
372gem 'premailer-rails', '~> 1.10.3' # rubocop:todo Gemfile/MissingFeatureCategory
373
374gem 'gitlab-labkit', '~> 0.35.1' # rubocop:todo Gemfile/MissingFeatureCategory
375gem 'thrift', '>= 0.16.0' # rubocop:todo Gemfile/MissingFeatureCategory
376
377# I18n
378gem 'rails-i18n', '~> 7.0', feature_category: :internationalization
379gem 'gettext_i18n_rails', '~> 1.11.0', feature_category: :internationalization
380gem 'gettext', '~> 3.4', '>= 3.4.9',
381 require: false,
382 group: [:development, :test],
383 feature_category: :internationalization
384
385gem 'batch-loader', '~> 2.0.1' # rubocop:todo Gemfile/MissingFeatureCategory
386
387# Perf bar
388gem 'peek', '~> 1.1' # rubocop:todo Gemfile/MissingFeatureCategory
389
390# Google Cloud Profiler support
391gem 'cloud_profiler_agent', '~> 0.0.0', path: 'vendor/gems/cloud_profiler_agent', require: false # rubocop:todo Gemfile/MissingFeatureCategory
392
393# Snowplow events tracking
394gem 'snowplow-tracker', '~> 0.8.0' # rubocop:todo Gemfile/MissingFeatureCategory
395
396# Metrics
397gem 'webrick', '~> 1.8.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory
398gem 'prometheus-client-mmap', '~> 1.1', '>= 1.1.1', require: 'prometheus/client' # rubocop:todo Gemfile/MissingFeatureCategory
399
400gem 'warning', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
401
402group :development do
403 gem 'lefthook', '~> 1.5.6', require: false, feature_category: :tooling
404 gem 'rubocop', feature_category: :tooling
405 gem 'solargraph', '~> 0.47.2', require: false # rubocop:todo Gemfile/MissingFeatureCategory
406
407 gem 'letter_opener_web', '~> 2.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
408 gem 'lookbook', '~> 2.2' # rubocop:todo Gemfile/MissingFeatureCategory
409
410 # Better errors handler
411 gem 'better_errors', '~> 2.10.1' # rubocop:todo Gemfile/MissingFeatureCategory
412
413 gem 'sprite-factory', '~> 1.7' # rubocop:todo Gemfile/MissingFeatureCategory
414
415 gem 'listen', '~> 3.7' # rubocop:todo Gemfile/MissingFeatureCategory
416
417 gem 'ruby-lsp', "~> 0.14.4", require: false, feature_category: :tooling
418
419 gem 'ruby-lsp-rails', "~> 0.3.0", feature_category: :tooling
420
421 gem 'ruby-lsp-rspec', "~> 0.1.10", require: false, feature_category: :tooling
422end
423
424group :development, :test do
425 gem 'deprecation_toolkit', '~> 1.5.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory
426 gem 'bullet', '~> 7.1.2' # rubocop:todo Gemfile/MissingFeatureCategory
427 gem 'parser', '~> 3.3', '>= 3.3.0.2' # rubocop:todo Gemfile/MissingFeatureCategory
428 gem 'pry-byebug' # rubocop:todo Gemfile/MissingFeatureCategory
429 gem 'pry-rails', '~> 0.3.9' # rubocop:todo Gemfile/MissingFeatureCategory
430 gem 'pry-shell', '~> 0.6.4' # rubocop:todo Gemfile/MissingFeatureCategory
431
432 gem 'awesome_print', require: false # rubocop:todo Gemfile/MissingFeatureCategory
433
434 gem 'database_cleaner-active_record', '~> 2.1.0', feature_category: :database
435 gem 'factory_bot_rails', '~> 6.4.3' # rubocop:todo Gemfile/MissingFeatureCategory
436 gem 'rspec-rails', '~> 6.1.1', feature_category: :shared
437
438 # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
439 gem 'minitest', '~> 5.11.0' # rubocop:todo Gemfile/MissingFeatureCategory
440
441 gem 'spring', '~> 4.1.0' # rubocop:todo Gemfile/MissingFeatureCategory
442 gem 'spring-commands-rspec', '~> 1.0.4' # rubocop:todo Gemfile/MissingFeatureCategory
443
444 gem 'gitlab-styles', '~> 11.0.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
445
446 gem 'haml_lint', '~> 0.53', require: false # rubocop:todo Gemfile/MissingFeatureCategory
447 gem 'bundler-audit', '~> 0.9.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory
448
449 # Benchmarking & profiling
450 gem 'benchmark-ips', '~> 2.11.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
451 gem 'benchmark-memory', '~> 0.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory
452
453 # Profiling data from CI/CD pipelines
454 gem 'influxdb-client', '~> 2.9', require: false # rubocop:todo Gemfile/MissingFeatureCategory
455
456 gem 'knapsack', '~> 1.22.0', feature_category: :tooling
457 gem 'crystalball', '~> 0.7.0', require: false, feature_category: :tooling
458 gem 'test_file_finder', '~> 0.2.1', feature_category: :tooling
459
460 gem 'simple_po_parser', '~> 1.1.6', require: false # rubocop:todo Gemfile/MissingFeatureCategory
461
462 gem 'png_quantizator', '~> 0.2.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory
463
464 gem 'parallel', '~> 1.19', require: false # rubocop:todo Gemfile/MissingFeatureCategory
465
466 gem 'sigdump', '~> 0.2.4', require: 'sigdump/setup' # rubocop:todo Gemfile/MissingFeatureCategory
467
468 gem 'pact', '~> 1.64' # rubocop:todo Gemfile/MissingFeatureCategory
469
470 # For now we only use vite in development / test, and not for production builds
471 # See: https://gitlab.com/gitlab-org/frontend/rfcs/-/issues/106
472 gem 'vite_rails', '~> 3.0.17', feature_category: :shared
473 gem 'vite_ruby', '~> 3.5.0', feature_category: :shared
474
475 gem 'gitlab-housekeeper', path: 'gems/gitlab-housekeeper', feature_category: :tooling
476end
477
478group :development, :test, :danger do
479 gem 'gitlab-dangerfiles', '~> 4.7.0', require: false, feature_category: :tooling
480end
481
482group :development, :test, :coverage do
483 gem 'simplecov', '~> 0.22', require: false, feature_category: :tooling
484 gem 'simplecov-lcov', '~> 0.8.0', require: false, feature_category: :tooling
485 gem 'simplecov-cobertura', '~> 2.1.0', require: false, feature_category: :tooling
486 gem 'undercover', '~> 0.4.4', require: false, feature_category: :tooling
487end
488
489# Gems required in omnibus-gitlab pipeline
490group :development, :test, :omnibus do
491 gem 'license_finder', '~> 7.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
492end
493
494# Gems required in various pipelines
495group :development, :test, :monorepo do
496 gem 'gitlab-rspec', path: 'gems/gitlab-rspec' # rubocop:todo Gemfile/MissingFeatureCategory
497 gem 'gitlab-rspec_flaky', path: 'gems/gitlab-rspec_flaky', feature_category: :tooling
498end
499
500group :test do
501 gem 'fuubar', '~> 2.2.0' # rubocop:todo Gemfile/MissingFeatureCategory
502 gem 'rspec-retry', '~> 0.6.2', feature_category: :tooling
503 gem 'rspec_profiling', '~> 0.0.8', feature_category: :tooling
504 gem 'rspec-benchmark', '~> 0.6.0', feature_category: :tooling
505 gem 'rspec-parameterized', '~> 1.0', require: false, feature_category: :tooling
506 gem 'os', '~> 1.1', '>= 1.1.4', feature_category: :tooling
507
508 gem 'capybara', '~> 3.40' # rubocop:todo Gemfile/MissingFeatureCategory
509 gem 'capybara-screenshot', '~> 1.0.26' # rubocop:todo Gemfile/MissingFeatureCategory
510 gem 'selenium-webdriver', '~> 4.18', '>= 4.18.1' # rubocop:todo Gemfile/MissingFeatureCategory
511
512 gem 'graphlyte', '~> 1.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
513
514 gem 'shoulda-matchers', '~> 5.1.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
515 gem 'email_spec', '~> 2.2.0' # rubocop:todo Gemfile/MissingFeatureCategory
516 gem 'webmock', '~> 3.22.0' # rubocop:todo Gemfile/MissingFeatureCategory
517 gem 'rails-controller-testing' # rubocop:todo Gemfile/MissingFeatureCategory
518 gem 'concurrent-ruby', '~> 1.1' # rubocop:todo Gemfile/MissingFeatureCategory
519 gem 'test-prof', '~> 1.3.1' # rubocop:todo Gemfile/MissingFeatureCategory
520 gem 'rspec_junit_formatter' # rubocop:todo Gemfile/MissingFeatureCategory
521 gem 'guard-rspec' # rubocop:todo Gemfile/MissingFeatureCategory
522 gem 'axe-core-rspec', '~> 4.8.2', feature_category: :tooling
523
524 # Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527
525 gem 'derailed_benchmarks', require: false # rubocop:todo Gemfile/MissingFeatureCategory
526
527 gem 'gitlab_quality-test_tooling', '~> 1.17.0', require: false, feature_category: :tooling
528end
529
530gem 'octokit', '~> 8.0', feature_category: :importers
531
532gem 'gitlab-mail_room', '~> 0.0.24', require: 'mail_room', feature_category: :shared
533
534gem 'email_reply_trimmer', '~> 0.1' # rubocop:todo Gemfile/MissingFeatureCategory
535gem 'html2text' # rubocop:todo Gemfile/MissingFeatureCategory
536
537gem 'stackprof', '~> 0.2.25', require: false # rubocop:todo Gemfile/MissingFeatureCategory
538gem 'rbtrace', '~> 0.4', require: false # rubocop:todo Gemfile/MissingFeatureCategory
539gem 'memory_profiler', '~> 1.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory
540gem 'activerecord-explain-analyze', '~> 0.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory
541
542# OAuth
543gem 'oauth2', '~> 2.0' # rubocop:todo Gemfile/MissingFeatureCategory
544
545# Health check
546gem 'health_check', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory
547
548# System information
549gem 'vmstat', '~> 2.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
550gem 'sys-filesystem', '~> 1.4.3' # rubocop:todo Gemfile/MissingFeatureCategory
551
552# NTP client
553gem 'net-ntp' # rubocop:todo Gemfile/MissingFeatureCategory
554
555# SSH keys support
556gem 'ssh_data', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory
557
558# Spamcheck GRPC protocol definitions
559gem 'spamcheck', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
560
561# Gitaly GRPC protocol definitions
562gem 'gitaly', '~> 16.10.0-rc1', feature_category: :gitaly
563
564# KAS GRPC protocol definitions
565gem 'kas-grpc', '~> 0.4.0', feature_category: :deployment_management
566
567gem 'grpc', '~> 1.60.0' # rubocop:todo Gemfile/MissingFeatureCategory
568
569gem 'google-protobuf', '~> 3.25', '>= 3.25.3' # rubocop:todo Gemfile/MissingFeatureCategory
570
571gem 'toml-rb', '~> 2.2.0' # rubocop:todo Gemfile/MissingFeatureCategory
572
573# Feature toggles
574gem 'flipper', '~> 0.26.2' # rubocop:todo Gemfile/MissingFeatureCategory
575gem 'flipper-active_record', '~> 0.26.2' # rubocop:todo Gemfile/MissingFeatureCategory
576gem 'flipper-active_support_cache_store', '~> 0.26.2' # rubocop:todo Gemfile/MissingFeatureCategory
577gem 'unleash', '~> 3.2.2' # rubocop:todo Gemfile/MissingFeatureCategory
578gem 'gitlab-experiment', '~> 0.9.1', feature_category: :shared
579
580# Structured logging
581gem 'lograge', '~> 0.5' # rubocop:todo Gemfile/MissingFeatureCategory
582gem 'grape_logging', '~> 1.8', '>= 1.8.4', feature_category: :api
583
584# DNS Lookup
585gem 'gitlab-net-dns', '~> 0.9.2' # rubocop:todo Gemfile/MissingFeatureCategory
586
587# Countries list
588gem 'countries', '~> 4.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
589
590gem 'retriable', '~> 3.1.2' # rubocop:todo Gemfile/MissingFeatureCategory
591
592# LRU cache
593gem 'lru_redux' # rubocop:todo Gemfile/MissingFeatureCategory
594
595# Locked as long as quoted-printable encoding issues are not resolved
596# Monkey-patched in `config/initializers/mail_encoding_patch.rb`
597# See https://gitlab.com/gitlab-org/gitlab/issues/197386
598#
599# `config/initializers/mail_starttls_patch.rb` has also been patched to
600# fix STARTTLS handling until https://github.com/mikel/mail/pull/1536 is
601# released.
602gem 'mail', '= 2.8.1' # rubocop:todo Gemfile/MissingFeatureCategory
603gem 'mail-smtp_pool', '~> 0.1.0', path: 'vendor/gems/mail-smtp_pool', require: false # rubocop:todo Gemfile/MissingFeatureCategory
604
605gem 'microsoft_graph_mailer', '~> 0.1.0', path: 'vendor/gems/microsoft_graph_mailer' # rubocop:todo Gemfile/MissingFeatureCategory
606
607# File encryption
608gem 'lockbox', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
609
610# Email validation
611gem 'valid_email', '~> 0.1' # rubocop:todo Gemfile/MissingFeatureCategory
612
613# JSON
614gem 'jsonb_accessor', '~> 1.3.10' # rubocop:todo Gemfile/MissingFeatureCategory
615gem 'json', '~> 2.6.3' # rubocop:todo Gemfile/MissingFeatureCategory
616gem 'json_schemer', '~> 0.2.18' # rubocop:todo Gemfile/MissingFeatureCategory
617gem 'oj', '~> 3.13.21' # rubocop:todo Gemfile/MissingFeatureCategory
618gem 'oj-introspect', '~> 0.7' # rubocop:todo Gemfile/MissingFeatureCategory
619gem 'multi_json', '~> 1.14.1' # rubocop:todo Gemfile/MissingFeatureCategory
620gem 'yajl-ruby', '~> 1.4.3', require: 'yajl' # rubocop:todo Gemfile/MissingFeatureCategory
621
622gem 'webauthn', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory
623
624# IPAddress utilities
625gem 'ipaddress', '~> 0.8.3' # rubocop:todo Gemfile/MissingFeatureCategory
626
627gem 'parslet', '~> 1.8' # rubocop:todo Gemfile/MissingFeatureCategory
628
629gem 'ipynbdiff', path: 'gems/ipynbdiff', require: 'ipynb_diff' # rubocop:todo Gemfile/MissingFeatureCategory
630
631gem 'ed25519', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory
632
633# Error Tracking OpenAPI client
634# See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/development/rake_tasks.md#update-openapi-client-for-error-tracking-feature
635gem 'error_tracking_open_api', path: 'gems/error_tracking_open_api' # rubocop:todo Gemfile/MissingFeatureCategory
636
637# Vulnerability advisories
638gem 'cvss-suite', '~> 3.0.1', require: 'cvss_suite' # rubocop:todo Gemfile/MissingFeatureCategory
639
640# Work with RPM packages
641gem 'arr-pm', '~> 0.0.12' # rubocop:todo Gemfile/MissingFeatureCategory
642
643# Remote Development
644gem 'devfile', '~> 0.0.25.pre.alpha1', feature_category: :remote_development
645
646# Apple plist parsing
647gem 'CFPropertyList', '~> 3.0.0' # rubocop:todo Gemfile/MissingFeatureCategory
648gem 'app_store_connect' # rubocop:todo Gemfile/MissingFeatureCategory
649
650# For phone verification
651gem 'telesignenterprise', '~> 2.2' # rubocop:todo Gemfile/MissingFeatureCategory
652
653# BufferedIO patch
654# Updating this version will require updating scripts/allowed_warnings.txt
655gem 'net-protocol', '~> 0.1.3' # rubocop:todo Gemfile/MissingFeatureCategory
656# Lock this until we make DNS rebinding work with the updated net-http:
657# https://gitlab.com/gitlab-org/gitlab/-/issues/413528
658gem 'net-http', '= 0.1.1' # rubocop:todo Gemfile/MissingFeatureCategory
659
660gem 'duo_api', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory
661
662gem 'gitlab-sdk', '~> 0.3.0', feature_category: :application_instrumentation