Module: Gitlab::PhabricatorImport

Defined in:
lib/gitlab/phabricator_import.rb,
lib/gitlab/phabricator_import/conduit.rb,
lib/gitlab/phabricator_import/importer.rb,
lib/gitlab/phabricator_import/cache/map.rb,
lib/gitlab/phabricator_import/user_finder.rb,
lib/gitlab/phabricator_import/conduit/user.rb,
lib/gitlab/phabricator_import/worker_state.rb,
lib/gitlab/phabricator_import/conduit/client.rb,
lib/gitlab/phabricator_import/issues/importer.rb,
lib/gitlab/phabricator_import/project_creator.rb,
lib/gitlab/phabricator_import/conduit/response.rb,
lib/gitlab/phabricator_import/conduit/maniphest.rb,
lib/gitlab/phabricator_import/conduit/pagination.rb,
app/workers/gitlab/phabricator_import/base_worker.rb,
lib/gitlab/phabricator_import/representation/task.rb,
lib/gitlab/phabricator_import/representation/user.rb,
lib/gitlab/phabricator_import/issues/task_importer.rb,
lib/gitlab/phabricator_import/conduit/tasks_response.rb,
lib/gitlab/phabricator_import/conduit/users_response.rb,
app/workers/gitlab/phabricator_import/import_tasks_worker.rb

Defined Under Namespace

Modules: Cache, Conduit, Issues, Representation Classes: BaseWorker, ImportTasksWorker, Importer, ProjectCreator, UserFinder, WorkerState

Constant Summary collapse

BaseError =
Class.new(StandardError)

Class Method Summary collapse

Class Method Details

.available?Boolean

Returns:

  • (Boolean)

7
8
9
10
# File 'lib/gitlab/phabricator_import.rb', line 7

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