Commit a6e57749dccb2373dc13089006eba770bc376a67
1 parent
13b281c2
Exists in
master
and in
4 other branches
Use native repo path for import task. Skip wiki repos
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
lib/tasks/gitlab/import.rake
... | ... | @@ -31,6 +31,11 @@ namespace :gitlab do |
31 | 31 | |
32 | 32 | puts "Processing #{repo_path}".yellow |
33 | 33 | |
34 | + if path =~ /.wiki\Z/ | |
35 | + puts " * Skipping wiki repo" | |
36 | + next | |
37 | + end | |
38 | + | |
34 | 39 | project = Project.find_with_namespace(path) |
35 | 40 | |
36 | 41 | if project |
... | ... | @@ -40,6 +45,7 @@ namespace :gitlab do |
40 | 45 | |
41 | 46 | project_params = { |
42 | 47 | name: name, |
48 | + path: name | |
43 | 49 | } |
44 | 50 | |
45 | 51 | # find group namespace | ... | ... |