Commit d74673fd authored by Fotis Gimian's avatar Fotis Gimian Committed by Jeroen van Baarsen

Ensure that the first added admin performs repository imports

parent be969bb4
...@@ -66,6 +66,7 @@ v 7.11.0 (unreleased) ...@@ -66,6 +66,7 @@ v 7.11.0 (unreleased)
- Add style for <kbd> element in markdown - Add style for <kbd> element in markdown
- Spin spinner icon next to "Checking for CI status..." on MR page. - Spin spinner icon next to "Checking for CI status..." on MR page.
- Fix reference links in dashboard activity and ATOM feeds. - Fix reference links in dashboard activity and ATOM feeds.
- Ensure that the first added admin performs repository imports
v 7.10.2 v 7.10.2
- Fix CI links on MR page - Fix CI links on MR page
......
...@@ -35,7 +35,7 @@ namespace :gitlab do ...@@ -35,7 +35,7 @@ namespace :gitlab do
if project if project
puts " * #{project.name} (#{repo_path}) exists" puts " * #{project.name} (#{repo_path}) exists"
else else
user = User.admins.first user = User.admins.reorder("id").first
project_params = { project_params = {
name: name, name: name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment