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

phabricator_import.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3885a9934d51f22fda9b31db1b2029026f9f5641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Gitlab
  module PhabricatorImport
    BaseError = Class.new(StandardError)

    def self.available?
      Feature.enabled?(:phabricator_import) &&
        Gitlab::CurrentSettings.import_sources.include?('phabricator')
    end
  end
end