gitlab-org--gitlab-foss/spec
Sean McGivern 4c0864fd9e Speed up all_commit_shas for new merge requests
For merge requests created after 9.4, we have a `merge_request_diff_commits`
table we can get all the SHAs from very quickly. We just need to exclude these
when we load from the legacy format, by ignoring diffs with no serialised
commits.

Once these have been migrated in the background, every MR will see this
improvement.
2017-07-07 13:59:23 +01:00
..
bin
config
controllers Re-enable polling for environments 2017-07-06 14:31:24 +01:00
db/production Handle case where GITLAB_PROMETHEUS_METRICS_ENABLED is non boolean value by defaulting to false 2017-06-06 13:16:55 +02:00
factories Update CI runner factories to not use invalid IDs 2017-07-06 12:01:36 +02:00
features Merge branch '18000-remember-me-for-oauth-login' into 'master' 2017-07-06 12:59:21 +00:00
finders Hide archived project labels from group issue tracker 2017-06-30 16:22:00 -03:00
fixtures Encode certificate-authority-data in base64 2017-07-06 19:38:41 +08:00
helpers Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
initializers Instrument Unicorn with Ruby exporter 2017-07-04 15:28:34 +00:00
javascripts Merge branch '34655-label-field-for-setting-a-chart-s-legend-text-is-not-working' into 'master' 2017-07-06 16:38:10 +00:00
lib Add table for merge request commits 2017-07-06 17:36:10 +01:00
mailers Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
migrations Rename the migration test to match the migration path 2017-06-27 18:29:23 +08:00
models Speed up all_commit_shas for new merge requests 2017-07-07 13:59:23 +01:00
policies Implement review comments for !12445 from @jneen. 2017-07-03 05:14:00 +00:00
presenters Add many foreign keys to the projects table 2017-07-06 12:01:36 +02:00
requests Fix some N+1 queries in the GET /projects API 2017-07-07 02:38:18 +02:00
routing Split up MergeRequestsController 2017-06-28 18:17:44 -05:00
rubocop/cop Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
serializers Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
services Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
sidekiq/cron
support Merge branch '18000-remember-me-for-oauth-login' into 'master' 2017-07-06 12:59:21 +00:00
tasks Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
unicorn Increase unicorn test boot timeout to 5 minutes 2017-06-08 18:35:55 +02:00
uploaders Fix filename method of GitlabUploader to return always real filename 2017-06-13 00:37:12 +02:00
validators Rebuild the dynamic path before validating it 2017-06-21 16:09:35 +02:00
views Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
workers Add many foreign keys to the projects table 2017-07-06 12:01:36 +02:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00