mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +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
26 lines
816 B
Plaintext
26 lines
816 B
Plaintext
- page_title "GitLab Import"
|
|
- header_title "Projects", root_path
|
|
%h3.page-title
|
|
= icon('gitlab')
|
|
Import an exported GitLab project
|
|
%hr
|
|
|
|
= form_tag import_gitlab_project_path, class: 'form-horizontal', multipart: true do
|
|
%p
|
|
Project will be imported as
|
|
%strong
|
|
#{@namespace_name}/#{@path}
|
|
|
|
%p
|
|
To move or copy an entire GitLab project from another GitLab installation to this one, navigate to the original project's settings page, generate an export file, and upload it here.
|
|
.form-group
|
|
= hidden_field_tag :namespace_id, @namespace_id
|
|
= hidden_field_tag :path, @path
|
|
= label_tag :file, class: 'control-label' do
|
|
%span GitLab project export
|
|
.col-sm-10
|
|
= file_field_tag :file, class: ''
|
|
|
|
.form-actions
|
|
= submit_tag 'Import project', class: 'btn btn-create'
|