BigW Consortium Gitlab

import_sources.rb 655 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# 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',
Jared Szechy committed
22
          'FogBugz'         => 'fogbugz',
James Lopez committed
23
          'Repo by URL'     => 'git',
James Lopez committed
24
          'GitLab export' => 'gitlab_project'
25 26 27 28 29
        }
      end
    end
  end
end