debian-mirror-gitlab/app/views/projects/_export.html.haml

42 lines
1.8 KiB
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- return unless Gitlab::CurrentSettings.project_export_enabled?
- project = local_assigns.fetch(:project)
- expanded = Rails.env.test?
2018-11-08 19:23:39 +05:30
%section.settings.no-animate#js-export-project{ class: ('expanded' if expanded) }
2018-03-17 18:26:18 +05:30
.settings-header
%h4
Export project
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2018-03-17 18:26:18 +05:30
= expanded ? 'Collapse' : 'Expand'
%p
Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.
.settings-content
.bs-callout.bs-callout-info
%p.append-bottom-0
%p
The following items will be exported:
%ul
%li Project and wiki repositories
%li Project uploads
%li Project configuration including web hooks and services
%li Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities
2018-05-09 12:01:36 +05:30
%li LFS objects
2018-03-17 18:26:18 +05:30
%p
The following items will NOT be exported:
%ul
%li Job traces and artifacts
%li Container registry images
%li CI variables
%li Any encrypted tokens
%p
Once the exported file is ready, you will receive a notification email with a download link, or you can download it from this page.
2018-11-08 19:23:39 +05:30
- if project.export_status == :finished
2018-03-17 18:26:18 +05:30
= link_to 'Download export', download_export_project_path(project),
rel: 'nofollow', download: '', method: :get, class: "btn btn-default"
= link_to 'Generate new export', generate_new_export_project_path(project),
method: :post, class: "btn btn-default"
- else
= link_to 'Export project', export_project_path(project),
method: :post, class: "btn btn-default"