Validate import url viability in projects api before creation
requested to merge 270584-createrepositoryfromurl-clone-cmd-wait-fatal-could-not-read-username-for-https-github-com into master
What does this MR do and why?
- Validates the import URL is reachable and valid when using project creation/update via API
- This does it early in the process of project creation so that we don't get into errors from Gitaly as seen in #270584 (closed)
- by doing it this way, we provide feedback early to the user as done in the UI counterpart of this MR - !70165 (merged)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #270584 (closed)
Edited by Doug Stull