2015-08-12 06:13:20 +00: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
|
|
|
|
{
|
|
|
|
'GitHub' => 'github',
|
|
|
|
'Bitbucket' => 'bitbucket',
|
|
|
|
'GitLab.com' => 'gitlab',
|
|
|
|
'Gitorious.org' => 'gitorious',
|
|
|
|
'Google Code' => 'google_code',
|
2015-08-04 22:21:12 +00:00
|
|
|
'FogBugz' => 'fogbugz',
|
2016-05-05 09:02:22 +00:00
|
|
|
'Repo by URL' => 'git',
|
2016-06-15 15:31:00 +00:00
|
|
|
'GitLab export' => 'gitlab_export'
|
2015-08-12 06:13:20 +00:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|