debian-mirror-gitlab/app/views/shared/_import_form.html.haml

18 lines
924 B
Text
Raw Normal View History

2015-11-26 14:37:03 +05:30
.form-group.import-url-data
2017-09-10 17:25:29 +05:30
= f.label :import_url, class: 'label-light' do
2015-11-26 14:37:03 +05:30
%span Git repository URL
2017-09-10 17:25:29 +05:30
= f.text_field :import_url, autocomplete: 'off', class: 'form-control', placeholder: 'https://username:password@gitlab.company.com/group/project.git'
.well.prepend-top-20
%ul
%li
The repository must be accessible over <code>http://</code>, <code>https://</code> or <code>git://</code>.
%li
If your HTTP repository is not publicly accessible, add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>.
%li
2018-03-17 18:26:18 +05:30
The import will time out after #{time_interval_in_words(Gitlab.config.gitlab_shell.git_timeout)}.
For repositories that take longer, use a clone/push combination.
2017-09-10 17:25:29 +05:30
%li
2018-03-17 18:26:18 +05:30
To migrate an SVN repository, check out #{link_to "this document", help_page_path('user/project/import/svn')}.