gitlab-org--gitlab-foss/lib/gitlab/import_sources.rb

29 lines
599 B
Ruby
Raw Normal View History

# Gitlab::ImportSources module
#
# Define import sources that can be used
# during the creation of new project
#
module Gitlab
module ImportSources
extend CurrentSettings
class << self
def values
options.values
end
def options
{
2016-08-18 13:00:20 +00:00
'GitHub' => 'github',
'Bitbucket' => 'bitbucket',
'GitLab.com' => 'gitlab',
'Google Code' => 'google_code',
'FogBugz' => 'fogbugz',
'Repo by URL' => 'git',
2016-06-16 07:01:09 +00:00
'GitLab export' => 'gitlab_project'
}
end
end
end
end