Welcome to mirror list, hosted at ThFree Co, Russian Federation.

import_sources.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2b5658a8b64fdc00601acb88f3cef724ae15eb1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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',
          'FogBugz'         => 'fogbugz',
          'Any repo by URL' => 'git',
          'GitLab project'  => 'gitlab_project'
        }
      end

    end

  end
end