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