2015-08-12 02:13:20 -04:00
|
|
|
# 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 09:00:20 -04:00
|
|
|
'GitHub' => 'github',
|
|
|
|
'Bitbucket' => 'bitbucket',
|
|
|
|
'GitLab.com' => 'gitlab',
|
|
|
|
'Google Code' => 'google_code',
|
|
|
|
'FogBugz' => 'fogbugz',
|
|
|
|
'Repo by URL' => 'git',
|
2016-06-16 03:01:09 -04:00
|
|
|
'GitLab export' => 'gitlab_project'
|
2015-08-12 02:13:20 -04:00
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|