gitlab-org--gitlab-foss/app/views/shared/_import_form.html.haml
Rune Philosof 045e4edc1a Enable the import_url field.
Closes #28531
The field should be enabled on `project/import/new`.
It shouldn't hurt to have the field enabled on `projects/new` as well.
2017-02-22 09:22:54 +00:00

16 lines
911 B
Text

.form-group.import-url-data
= f.label :import_url, class: 'control-label' do
%span Git repository URL
.col-sm-10
= 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
The import will time out after 15 minutes. For repositories that take longer, use a clone/push combination.
%li
To migrate an SVN repository, check out #{link_to "this document", help_page_path('workflow/importing/migrating_from_svn')}.