2019-09-04 21:01:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module PhabricatorImport
|
|
|
|
BaseError = Class.new(StandardError)
|
|
|
|
|
|
|
|
def self.available?
|
2021-04-29 21:17:54 +05:30
|
|
|
Feature.enabled?(:phabricator_import, default_enabled: :yaml) &&
|
2019-09-04 21:01:54 +05:30
|
|
|
Gitlab::CurrentSettings.import_sources.include?('phabricator')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|