Skip to content

Add repository URL, username, password fields to Import by URL form

What does this MR do and why?

This change is behind the feature flag new_project_creation_form.

  • Add repository URL, username, and password fields.
  • Add logic to check the repository connection by sending API request to backend endpoint.

References

Related to #526304 (closed)

Screenshots or screen recordings

Screenshot Video
Screenshot_2025-04-23_at_15.36.17 Screen_Recording_2025-04-23_at_15.40.10

How to set up and validate locally

  1. Enable the feature flag:
Feature.enable :new_project_creation_form
  1. In the sidebar, select + (Create new...) and click New project/repository. For example, https://gdk.test:3443/projects/new.
  2. Select Import project and click Next step.
  3. Select Project URL and click Next step.
  4. Fill in URL with a valid git repo (for example, https://gitlab.com/gitlab-org/gitlab.git) and click Check connection.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading