mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
Export project functionality This is a MR for the export functionality of https://gitlab.com/gitlab-org/gitlab-ce/issues/3050, which adds the ability to export single projects. - [x] members - DB data - [x] issues - [x] issue comments - [x] merge requests - [x] merge request diff - [x] merge request comments - [x] labels - [x] milestones - [x] snippets - [x] releases - [x] events - [x] commit statuses - [x] CI builds - File system data - [x] Git repository - [x] wiki - [x] uploads - [ ] ~~CI build traces~~ - [ ] ~~CI build artifacts~~ - [ ] ~~LFS objects~~ - DB configuration - [x] services - [x] web hooks - [x] protected branches - [x] deploy keys - [x] CI variables - [x] CI triggers See merge request !3114
32 lines
657 B
Ruby
32 lines
657 B
Ruby
# 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',
|
|
'Repo by URL' => 'git',
|
|
'GitLab export' => 'gitlab_project'
|
|
}
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|