2016-05-03 13:09:28 +00:00
- page_title "GitLab Import"
2016-04-26 08:59:00 +00:00
- header_title "Projects", root_path
%h3.page-title
2016-06-13 18:35:57 +00:00
= icon('gitlab')
2016-06-15 15:31:00 +00:00
Import an exported GitLab project
2016-04-26 08:59:00 +00:00
%hr
2016-04-26 15:12:50 +00:00
= form_tag import_gitlab_project_path, class: 'form-horizontal', multipart: true do
2016-06-13 18:35:57 +00:00
%p
2016-06-15 15:31:00 +00:00
Project will be imported as
2016-06-15 08:37:17 +00:00
%strong
2016-10-20 14:54:55 +00:00
#{@namespace.name}/#{@path}
2016-06-13 18:35:57 +00:00
2016-04-26 08:59:00 +00:00
%p
2016-06-15 15:31:00 +00:00
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.
2016-04-26 08:59:00 +00:00
.form-group
2016-10-20 14:54:55 +00:00
= hidden_field_tag :namespace_id, @namespace.id
2016-04-27 13:01:55 +00:00
= hidden_field_tag :path, @path
2016-04-26 08:59:00 +00:00
= label_tag :file, class: 'control-label' do
2016-05-04 09:10:25 +00:00
%span GitLab project export
2016-04-26 08:59:00 +00:00
.col-sm-10
= file_field_tag :file, class: ''
2016-04-27 13:01:55 +00:00
2016-04-26 08:59:00 +00:00
.form-actions
2016-06-15 15:31:00 +00:00
= submit_tag 'Import project', class: 'btn btn-create'