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
Boxiang Sun
gitlab-ce
Commits
e683d054
Commit
e683d054
authored
Jan 15, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
3d3c7efa
500dab09
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
49 additions
and
64 deletions
+49
-64
app/controllers/registrations_controller.rb
app/controllers/registrations_controller.rb
+2
-2
app/helpers/tree_helper.rb
app/helpers/tree_helper.rb
+1
-1
app/models/commit.rb
app/models/commit.rb
+4
-4
app/models/key.rb
app/models/key.rb
+1
-1
app/models/project_services/campfire_service.rb
app/models/project_services/campfire_service.rb
+2
-2
app/models/project_services/hipchat_service.rb
app/models/project_services/hipchat_service.rb
+2
-2
app/models/project_services/pushover_service.rb
app/models/project_services/pushover_service.rb
+2
-2
app/models/project_services/slack_message.rb
app/models/project_services/slack_message.rb
+2
-2
app/models/user.rb
app/models/user.rb
+1
-1
app/services/git_push_service.rb
app/services/git_push_service.rb
+4
-4
app/services/notification_service.rb
app/services/notification_service.rb
+1
-1
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+1
-0
app/views/projects/_blob_editor.html.haml
app/views/projects/_blob_editor.html.haml
+15
-0
app/views/projects/edit_tree/show.html.haml
app/views/projects/edit_tree/show.html.haml
+1
-16
app/views/projects/new_tree/show.html.haml
app/views/projects/new_tree/show.html.haml
+1
-6
app/views/projects/tree/_tree.html.haml
app/views/projects/tree/_tree.html.haml
+1
-1
config/routes.rb
config/routes.rb
+2
-2
features/project/commits/comments.feature
features/project/commits/comments.feature
+0
-5
features/project/commits/diff_comments.feature
features/project/commits/diff_comments.feature
+0
-6
features/steps/shared/diff_note.rb
features/steps/shared/diff_note.rb
+2
-2
features/steps/shared/note.rb
features/steps/shared/note.rb
+1
-1
lib/api/internal.rb
lib/api/internal.rb
+2
-2
lib/tasks/gitlab/import.rake
lib/tasks/gitlab/import.rake
+1
-1
No files found.
app/controllers/registrations_controller.rb
View file @
e683d054
...
@@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController
...
@@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController
super
super
end
end
def
after_sign_up_path_for
(
resource
)
def
after_sign_up_path_for
(
_
resource
)
new_user_session_path
new_user_session_path
end
end
def
after_inactive_sign_up_path_for
(
resource
)
def
after_inactive_sign_up_path_for
(
_
resource
)
new_user_session_path
new_user_session_path
end
end
...
...
app/helpers/tree_helper.rb
View file @
e683d054
...
@@ -108,7 +108,7 @@ module TreeHelper
...
@@ -108,7 +108,7 @@ module TreeHelper
end
end
end
end
def
up_dir_path
(
tree
)
def
up_dir_path
file
=
File
.
join
(
@path
,
".."
)
file
=
File
.
join
(
@path
,
".."
)
tree_join
(
@ref
,
file
)
tree_join
(
@ref
,
file
)
end
end
...
...
app/models/commit.rb
View file @
e683d054
...
@@ -75,11 +75,11 @@ class Commit
...
@@ -75,11 +75,11 @@ class Commit
return
no_commit_message
if
title
.
blank?
return
no_commit_message
if
title
.
blank?
title_end
=
title
.
index
(
/\n/
)
title_end
=
title
.
index
(
"
\n
"
)
if
(
!
title_end
&&
title
.
length
>
100
)
||
(
title_end
&&
title_end
>
100
)
if
(
!
title_end
&&
title
.
length
>
100
)
||
(
title_end
&&
title_end
>
100
)
title
[
0
..
79
]
<<
"…"
.
html_safe
title
[
0
..
79
]
<<
"…"
.
html_safe
else
else
title
.
split
(
/\n/
,
2
).
first
title
.
split
(
"
\n
"
,
2
).
first
end
end
end
end
...
@@ -87,11 +87,11 @@ class Commit
...
@@ -87,11 +87,11 @@ class Commit
#
#
# cut off, ellipses (`&hellp;`) are prepended to the commit message.
# cut off, ellipses (`&hellp;`) are prepended to the commit message.
def
description
def
description
title_end
=
safe_message
.
index
(
/\n/
)
title_end
=
safe_message
.
index
(
"
\n
"
)
@description
||=
if
(
!
title_end
&&
safe_message
.
length
>
100
)
||
(
title_end
&&
title_end
>
100
)
@description
||=
if
(
!
title_end
&&
safe_message
.
length
>
100
)
||
(
title_end
&&
title_end
>
100
)
"…"
.
html_safe
<<
safe_message
[
80
..-
1
]
"…"
.
html_safe
<<
safe_message
[
80
..-
1
]
else
else
safe_message
.
split
(
/\n/
,
2
)[
1
].
try
(
:chomp
)
safe_message
.
split
(
"
\n
"
,
2
)[
1
].
try
(
:chomp
)
end
end
end
end
...
...
app/models/key.rb
View file @
e683d054
...
@@ -89,7 +89,7 @@ class Key < ActiveRecord::Base
...
@@ -89,7 +89,7 @@ class Key < ActiveRecord::Base
end
end
if
cmd_status
.
zero?
if
cmd_status
.
zero?
cmd_output
.
gsub
/(
[\d\h]{2}:)+[\d\h]
{2}/
do
|
match
|
cmd_output
.
gsub
/(
\h{2}:)+\h
{2}/
do
|
match
|
self
.
fingerprint
=
match
self
.
fingerprint
=
match
end
end
end
end
...
...
app/models/project_services/campfire_service.rb
View file @
e683d054
...
@@ -60,9 +60,9 @@ class CampfireService < Service
...
@@ -60,9 +60,9 @@ class CampfireService < Service
message
<<
"[
#{
project
.
name_with_namespace
}
] "
message
<<
"[
#{
project
.
name_with_namespace
}
] "
message
<<
"
#{
push
[
:user_name
]
}
"
message
<<
"
#{
push
[
:user_name
]
}
"
if
before
=~
/000000/
if
before
.
include?
(
'000000'
)
message
<<
"pushed new branch
#{
ref
}
\n
"
message
<<
"pushed new branch
#{
ref
}
\n
"
elsif
after
=~
/000000/
elsif
after
.
include?
(
'000000'
)
message
<<
"removed branch
#{
ref
}
\n
"
message
<<
"removed branch
#{
ref
}
\n
"
else
else
message
<<
"pushed
#{
push
[
:total_commits_count
]
}
commits to
#{
ref
}
. "
message
<<
"pushed
#{
push
[
:total_commits_count
]
}
commits to
#{
ref
}
. "
...
...
app/models/project_services/hipchat_service.rb
View file @
e683d054
...
@@ -58,12 +58,12 @@ class HipchatService < Service
...
@@ -58,12 +58,12 @@ class HipchatService < Service
message
=
""
message
=
""
message
<<
"
#{
push
[
:user_name
]
}
"
message
<<
"
#{
push
[
:user_name
]
}
"
if
before
=~
/000000/
if
before
.
include?
(
'000000'
)
message
<<
"pushed new branch <a href=
\"
"
\
message
<<
"pushed new branch <a href=
\"
"
\
"
#{
project
.
web_url
}
/commits/
#{
URI
.
escape
(
ref
)
}
\"
>
#{
ref
}
</a>"
\
"
#{
project
.
web_url
}
/commits/
#{
URI
.
escape
(
ref
)
}
\"
>
#{
ref
}
</a>"
\
" to <a href=
\"
#{
project
.
web_url
}
\"
>"
\
" to <a href=
\"
#{
project
.
web_url
}
\"
>"
\
"
#{
project
.
name_with_namespace
.
gsub!
(
/\s/
,
""
)
}
</a>
\n
"
"
#{
project
.
name_with_namespace
.
gsub!
(
/\s/
,
""
)
}
</a>
\n
"
elsif
after
=~
/000000/
elsif
after
.
include?
(
'000000'
)
message
<<
"removed branch
#{
ref
}
from <a href=
\"
#{
project
.
web_url
}
\"
>
#{
project
.
name_with_namespace
.
gsub!
(
/\s/
,
''
)
}
</a>
\n
"
message
<<
"removed branch
#{
ref
}
from <a href=
\"
#{
project
.
web_url
}
\"
>
#{
project
.
name_with_namespace
.
gsub!
(
/\s/
,
''
)
}
</a>
\n
"
else
else
message
<<
"pushed to branch <a href=
\"
"
\
message
<<
"pushed to branch <a href=
\"
"
\
...
...
app/models/project_services/pushover_service.rb
View file @
e683d054
...
@@ -80,9 +80,9 @@ class PushoverService < Service
...
@@ -80,9 +80,9 @@ class PushoverService < Service
before
=
push_data
[
:before
]
before
=
push_data
[
:before
]
after
=
push_data
[
:after
]
after
=
push_data
[
:after
]
if
before
=~
/000000/
if
before
.
include?
(
'000000'
)
message
=
"
#{
push_data
[
:user_name
]
}
pushed new branch
\"
#{
ref
}
\"
."
message
=
"
#{
push_data
[
:user_name
]
}
pushed new branch
\"
#{
ref
}
\"
."
elsif
after
=~
/000000/
elsif
after
.
include?
(
'000000'
)
message
=
"
#{
push_data
[
:user_name
]
}
deleted branch
\"
#{
ref
}
\"
."
message
=
"
#{
push_data
[
:user_name
]
}
deleted branch
\"
#{
ref
}
\"
."
else
else
message
=
"
#{
push_data
[
:user_name
]
}
push to branch
\"
#{
ref
}
\"
."
message
=
"
#{
push_data
[
:user_name
]
}
push to branch
\"
#{
ref
}
\"
."
...
...
app/models/project_services/slack_message.rb
View file @
e683d054
...
@@ -77,11 +77,11 @@ class SlackMessage
...
@@ -77,11 +77,11 @@ class SlackMessage
end
end
def
new_branch?
def
new_branch?
before
=~
/000000/
before
.
include?
(
'000000'
)
end
end
def
removed_branch?
def
removed_branch?
after
=~
/000000/
after
.
include?
(
'000000'
)
end
end
def
branch_url
def
branch_url
...
...
app/models/user.rb
View file @
e683d054
...
@@ -488,7 +488,7 @@ class User < ActiveRecord::Base
...
@@ -488,7 +488,7 @@ class User < ActiveRecord::Base
end
end
def
temp_oauth_email?
def
temp_oauth_email?
email
=~
/\Atemp-email-for-oauth/
email
.
start_with?
(
'temp-email-for-oauth'
)
end
end
def
public_profile?
def
public_profile?
...
...
app/services/git_push_service.rb
View file @
e683d054
...
@@ -111,23 +111,23 @@ class GitPushService
...
@@ -111,23 +111,23 @@ class GitPushService
ref_parts
=
ref
.
split
(
'/'
)
ref_parts
=
ref
.
split
(
'/'
)
# Return if this is not a push to a branch (e.g. new commits)
# Return if this is not a push to a branch (e.g. new commits)
ref_parts
[
1
]
=~
/heads/
&&
oldrev
!=
Gitlab
::
Git
::
BLANK_SHA
ref_parts
[
1
]
.
include?
(
'heads'
)
&&
oldrev
!=
Gitlab
::
Git
::
BLANK_SHA
end
end
def
push_to_new_branch?
(
ref
,
oldrev
)
def
push_to_new_branch?
(
ref
,
oldrev
)
ref_parts
=
ref
.
split
(
'/'
)
ref_parts
=
ref
.
split
(
'/'
)
ref_parts
[
1
]
=~
/heads/
&&
oldrev
==
Gitlab
::
Git
::
BLANK_SHA
ref_parts
[
1
]
.
include?
(
'heads'
)
&&
oldrev
==
Gitlab
::
Git
::
BLANK_SHA
end
end
def
push_remove_branch?
(
ref
,
newrev
)
def
push_remove_branch?
(
ref
,
newrev
)
ref_parts
=
ref
.
split
(
'/'
)
ref_parts
=
ref
.
split
(
'/'
)
ref_parts
[
1
]
=~
/heads/
&&
newrev
==
Gitlab
::
Git
::
BLANK_SHA
ref_parts
[
1
]
.
include?
(
'heads'
)
&&
newrev
==
Gitlab
::
Git
::
BLANK_SHA
end
end
def
push_to_branch?
(
ref
)
def
push_to_branch?
(
ref
)
ref
=~
/refs\/heads/
ref
.
include?
(
'refs/heads'
)
end
end
def
is_default_branch?
(
ref
)
def
is_default_branch?
(
ref
)
...
...
app/services/notification_service.rb
View file @
e683d054
...
@@ -118,7 +118,7 @@ class NotificationService
...
@@ -118,7 +118,7 @@ class NotificationService
return
true
unless
note
.
noteable_type
.
present?
return
true
unless
note
.
noteable_type
.
present?
# ignore gitlab service messages
# ignore gitlab service messages
return
true
if
note
.
note
=~
/\A_Status changed to closed_/
return
true
if
note
.
note
.
start_with?
(
'_Status changed to closed_'
)
return
true
if
note
.
cross_reference?
&&
note
.
system
==
true
return
true
if
note
.
cross_reference?
&&
note
.
system
==
true
opts
=
{
noteable_type:
note
.
noteable_type
,
project_id:
note
.
project_id
}
opts
=
{
noteable_type:
note
.
noteable_type
,
project_id:
note
.
project_id
}
...
...
app/views/layouts/_head.html.haml
View file @
e683d054
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
=
csrf_meta_tags
=
csrf_meta_tags
=
include_gon
=
include_gon
%meta
{
name:
'viewport'
,
content:
'width=device-width, initial-scale=1.0'
}
%meta
{
name:
'viewport'
,
content:
'width=device-width, initial-scale=1.0'
}
%meta
{
name:
'theme-color'
,
content:
'#474D57'
}
=
render
'layouts/google_analytics'
if
extra_config
.
has_key?
(
'google_analytics_id'
)
=
render
'layouts/google_analytics'
if
extra_config
.
has_key?
(
'google_analytics_id'
)
=
render
'layouts/piwik'
if
extra_config
.
has_key?
(
'piwik_url'
)
&&
extra_config
.
has_key?
(
'piwik_site_id'
)
=
render
'layouts/piwik'
if
extra_config
.
has_key?
(
'piwik_url'
)
&&
extra_config
.
has_key?
(
'piwik_site_id'
)
...
...
app/views/projects/_blob_editor.html.haml
0 → 100644
View file @
e683d054
.file-holder.file
.file-title
%i
.icon-file
%span
.file_name
%span
.monospace.light
#{
ref
}
-
if
local_assigns
[
:path
]
=
': '
+
local_assigns
[
:path
]
.file-content.code
%pre
.js-edit-mode-pane
#editor
=
params
[
:content
]
||
local_assigns
[
:blob_data
]
-
if
local_assigns
[
:path
]
.js-edit-mode-pane
#preview
.hide
.center
%h2
%i
.icon-spinner.icon-spin
app/views/projects/edit_tree/show.html.haml
View file @
e683d054
...
@@ -6,21 +6,7 @@
...
@@ -6,21 +6,7 @@
=
link_to
editing_preview_title
(
@blob
.
name
),
'#preview'
,
'data-preview-url'
=>
preview_project_edit_tree_path
(
@project
,
@id
)
=
link_to
editing_preview_title
(
@blob
.
name
),
'#preview'
,
'data-preview-url'
=>
preview_project_edit_tree_path
(
@project
,
@id
)
=
form_tag
(
project_edit_tree_path
(
@project
,
@id
),
method: :put
,
class:
"form-horizontal"
)
do
=
form_tag
(
project_edit_tree_path
(
@project
,
@id
),
method: :put
,
class:
"form-horizontal"
)
do
.file-holder.file
=
render
'projects/blob_editor'
,
ref:
@ref
,
path:
@path
,
blob_data:
@blob
.
data
.file-title
%i
.fa.fa-file
%span
.file_name
%span
.monospace.light
#{
@ref
}
:
=
@path
%span
.options
.btn-group.tree-btn-group
=
link_to
"Cancel"
,
@after_edit_path
,
class:
"btn btn-tiny btn-cancel"
,
data:
{
confirm:
leave_edit_message
}
.file-content.code
%pre
.js-edit-mode-pane
#editor
.js-edit-mode-pane
#preview
.hide
.center
%h2
%i
.fa.fa-spinner.fa-spin
=
render
'shared/commit_message_container'
,
params:
params
,
=
render
'shared/commit_message_container'
,
params:
params
,
placeholder:
"Update
#{
@blob
.
name
}
"
placeholder:
"Update
#{
@blob
.
name
}
"
=
hidden_field_tag
'last_commit'
,
@last_commit
=
hidden_field_tag
'last_commit'
,
@last_commit
...
@@ -34,7 +20,6 @@
...
@@ -34,7 +20,6 @@
ace
.
config
.
loadModule
(
"
ace/ext/searchbox
"
);
ace
.
config
.
loadModule
(
"
ace/ext/searchbox
"
);
var
ace_mode
=
"
#{
@blob
.
language
.
try
(
:ace_mode
)
}
"
;
var
ace_mode
=
"
#{
@blob
.
language
.
try
(
:ace_mode
)
}
"
;
var
editor
=
ace
.
edit
(
"
editor
"
);
var
editor
=
ace
.
edit
(
"
editor
"
);
editor
.
setValue
(
"
#{
escape_javascript
(
@blob
.
data
)
}
"
);
if
(
ace_mode
)
{
if
(
ace_mode
)
{
editor
.
getSession
().
setMode
(
'
ace/mode/
'
+
ace_mode
);
editor
.
getSession
().
setMode
(
'
ace/mode/
'
+
ace_mode
);
}
}
...
...
app/views/projects/new_tree/show.html.haml
View file @
e683d054
...
@@ -19,12 +19,7 @@
...
@@ -19,12 +19,7 @@
Encoding
Encoding
.col-sm-10
.col-sm-10
=
select_tag
:encoding
,
options_for_select
([
"base64"
,
"text"
],
"text"
),
class:
'form-control'
=
select_tag
:encoding
,
options_for_select
([
"base64"
,
"text"
],
"text"
),
class:
'form-control'
.file-holder
=
render
'projects/blob_editor'
,
ref:
@ref
.file-title
%i
.fa.fa-file
.file-content.code
%pre
#editor
=
params
[
:content
]
=
render
'shared/commit_message_container'
,
params:
params
,
=
render
'shared/commit_message_container'
,
params:
params
,
placeholder:
'Add new file'
placeholder:
'Add new file'
=
hidden_field_tag
'content'
,
''
,
id:
'file-content'
=
hidden_field_tag
'content'
,
''
,
id:
'file-content'
...
...
app/views/projects/tree/_tree.html.haml
View file @
e683d054
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
-
if
@path
.
present?
-
if
@path
.
present?
%tr
.tree-item
%tr
.tree-item
%td
.tree-item-file-name
%td
.tree-item-file-name
=
link_to
".."
,
project_tree_path
(
@project
,
up_dir_path
(
tree
)
),
class:
'prepend-left-10'
=
link_to
".."
,
project_tree_path
(
@project
,
up_dir_path
),
class:
'prepend-left-10'
%td
%td
%td
.hidden-xs
%td
.hidden-xs
...
...
config/routes.rb
View file @
e683d054
...
@@ -154,8 +154,8 @@ Gitlab::Application.routes.draw do
...
@@ -154,8 +154,8 @@ Gitlab::Application.routes.draw do
end
end
end
end
match
"/u/:username"
=>
"users#show"
,
as: :user
,
get
'/u/:username'
=>
'users#show'
,
as: :user
,
constraints:
{
username:
/(?:[^.]|\.(?!atom$))+/
,
format:
/atom/
},
via: :get
constraints:
{
username:
/(?:[^.]|\.(?!atom$))+/
,
format:
/atom/
}
#
#
# Dashboard Area
# Dashboard Area
...
...
features/project/commits/comments.feature
View file @
e683d054
...
@@ -13,11 +13,6 @@ Feature: Project Commits Comments
...
@@ -13,11 +13,6 @@ Feature: Project Commits Comments
Scenario
:
I
can't cancel the main form
Scenario
:
I
can't cancel the main form
Then
I should not see the cancel comment button
Then
I should not see the cancel comment button
@javascript
Scenario
:
I
can't preview without text
Given
I haven't written any comment text
Then
The comment preview tab should say there is nothing to do
@javascript
@javascript
Scenario
:
I
can preview with text
Scenario
:
I
can preview with text
Given I write a comment like "
:
+1
:
Nice"
Given I write a comment like "
:
+1
:
Nice"
...
...
features/project/commits/diff_comments.feature
View file @
e683d054
...
@@ -54,12 +54,6 @@ Feature: Project Commits Diff Comments
...
@@ -54,12 +54,6 @@ Feature: Project Commits Diff Comments
Given
I leave a diff comment like
"Typo, please fix"
Given
I leave a diff comment like
"Typo, please fix"
Then
I should see a discussion reply button
Then
I should see a discussion reply button
@javascript
Scenario
:
I
can't preview without text
Given
I open a diff comment form
And
I haven't written any diff comment text
Then
The diff comment preview tab should say there is nothing to do
@javascript
@javascript
Scenario
:
I
can preview with text
Scenario
:
I
can preview with text
Given
I open a diff comment form
Given
I open a diff comment form
...
...
features/steps/shared/diff_note.rb
View file @
e683d054
...
@@ -80,7 +80,7 @@ module SharedDiffNote
...
@@ -80,7 +80,7 @@ module SharedDiffNote
step
'I should not see the diff comment text field'
do
step
'I should not see the diff comment text field'
do
within
(
diff_file_selector
)
do
within
(
diff_file_selector
)
do
page
.
should
have_css
(
".js-note-text"
,
visible:
false
)
expect
(
find
(
'.js-note-text'
)).
not_to
be_visible
end
end
end
end
...
@@ -115,7 +115,7 @@ module SharedDiffNote
...
@@ -115,7 +115,7 @@ module SharedDiffNote
end
end
step
'I should see add a diff comment button'
do
step
'I should see add a diff comment button'
do
page
.
should
have_css
(
".js-add-diff-note-button"
,
visible:
fals
e
)
page
.
should
have_css
(
'.js-add-diff-note-button'
,
visible:
tru
e
)
end
end
step
'I should see an empty diff comment form'
do
step
'I should see an empty diff comment form'
do
...
...
features/steps/shared/note.rb
View file @
e683d054
...
@@ -64,7 +64,7 @@ module SharedNote
...
@@ -64,7 +64,7 @@ module SharedNote
step
'I should not see the comment text field'
do
step
'I should not see the comment text field'
do
within
(
".js-main-target-form"
)
do
within
(
".js-main-target-form"
)
do
page
.
should
have_css
(
".js-note-text"
,
visible:
false
)
expect
(
find
(
'.js-note-text'
)).
not_to
be_visible
end
end
end
end
...
...
lib/api/internal.rb
View file @
e683d054
...
@@ -25,8 +25,8 @@ module API
...
@@ -25,8 +25,8 @@ module API
# project. This applies the correct project permissions to
# project. This applies the correct project permissions to
# the wiki repository as well.
# the wiki repository as well.
access
=
access
=
if
project_path
=~
/\.wiki\Z/
if
project_path
.
end_with?
(
'.wiki'
)
project_path
.
sub!
(
/\.wiki\Z/
,
'
'
)
project_path
.
chomp!
(
'.wiki
'
)
Gitlab
::
GitAccessWiki
.
new
Gitlab
::
GitAccessWiki
.
new
else
else
Gitlab
::
GitAccess
.
new
Gitlab
::
GitAccess
.
new
...
...
lib/tasks/gitlab/import.rake
View file @
e683d054
...
@@ -25,7 +25,7 @@ namespace :gitlab do
...
@@ -25,7 +25,7 @@ namespace :gitlab do
puts
"Processing
#{
repo_path
}
"
.
yellow
puts
"Processing
#{
repo_path
}
"
.
yellow
if
path
=~
/\.wiki\Z/
if
path
.
end_with?
(
'.wiki'
)
puts
" * Skipping wiki repo"
puts
" * Skipping wiki repo"
next
next
end
end
...
...
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