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

32 lines
659 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
{
'GitHub' => 'github',
'Bitbucket' => 'bitbucket',
'GitLab.com' => 'gitlab',
'Gitorious.org' => 'gitorious',
'Google Code' => 'google_code',
2015-08-04 18:21:12 -04:00
'FogBugz' => 'fogbugz',
'Any repo by URL' => 'git',
'GitLab project' => 'gitlab_project'
}
end
end
end
end