Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
11d0083e
Commit
11d0083e
authored
Jan 02, 2018
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing create services call
parent
3faa988e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
app/services/projects/create_service.rb
app/services/projects/create_service.rb
+1
-1
lib/gitlab/bare_repository_import/importer.rb
lib/gitlab/bare_repository_import/importer.rb
+0
-2
No files found.
app/services/projects/create_service.rb
View file @
11d0083e
...
@@ -88,7 +88,7 @@ module Projects
...
@@ -88,7 +88,7 @@ module Projects
def
after_create_actions
def
after_create_actions
log_info
(
"
#{
@project
.
owner
.
name
}
created a new project
\"
#{
@project
.
name_with_namespace
}
\"
"
)
log_info
(
"
#{
@project
.
owner
.
name
}
created a new project
\"
#{
@project
.
name_with_namespace
}
\"
"
)
unless
@project
.
gitlab_project_import?
if
!
@project
.
gitlab_project_import?
||
@skip_import
@project
.
create_wiki
unless
skip_wiki?
@project
.
create_wiki
unless
skip_wiki?
create_services_from_active_templates
(
@project
)
create_services_from_active_templates
(
@project
)
...
...
lib/gitlab/bare_repository_import/importer.rb
View file @
11d0083e
...
@@ -77,8 +77,6 @@ module Gitlab
...
@@ -77,8 +77,6 @@ module Gitlab
if
bare_repo
.
wiki_exists?
if
bare_repo
.
wiki_exists?
FileUtils
.
mv
(
wiki_path
,
File
.
join
(
project
.
repository_storage_path
,
project
.
disk_path
+
'.wiki.git'
))
FileUtils
.
mv
(
wiki_path
,
File
.
join
(
project
.
repository_storage_path
,
project
.
disk_path
+
'.wiki.git'
))
else
project
.
create_wiki
end
end
true
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment