Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fix_merge_request_diff_commit_users.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4df55a7b02a23fc869456a92fde905251e1b8495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    # Background migration for fixing merge_request_diff_commit rows that don't
    # have committer/author details due to
    # https://gitlab.com/gitlab-org/gitlab/-/issues/344080.
    class FixMergeRequestDiffCommitUsers
      BATCH_SIZE = 100

      def initialize
        @commits = {}
        @users = {}
      end

      def perform(project_id)
        # No-op, see https://gitlab.com/gitlab-org/gitlab/-/issues/344540
      end
    end
  end
end