Pull Mirror disabled after project import
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
-
Create a project via New project > Import Project > Repository by URL
-
Git repository URL field, allows entering the repository with the format
https://gitlab.com/group/project.git
-
Also, selecting Mirror repository is available.
When completing further steps and creating a new project, Mirroring options will disappear.
The documentation Configure pull mirroring mentions that USERNAME
is required in the Git repository URL, like https://MYUSERNAME@github.com/GROUPNAME/PROJECTNAME.git
What is the expected correct behavior?
Grey out Mirror repository option if the URL doesn't contain USERNAME
and add an alert stating that Mirroring requires that part
Relevant logs and/or screenshots
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)