Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
edc2e0a6
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
edc2e0a6
编写于
5月 19, 2013
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3990 from bbodenmiller/patch-gitlab-cap
changed Gitlab to GitLab in user facing locations
上级
6cf29166
de29a424
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
21 addition
and
21 deletion
+21
-21
doc/raketasks/maintenance.md
doc/raketasks/maintenance.md
+2
-2
features/project/source/search_code.feature
features/project/source/search_code.feature
+3
-3
features/steps/project/project_search_code.rb
features/steps/project/project_search_code.rb
+4
-4
lib/support/init.d/gitlab
lib/support/init.d/gitlab
+1
-1
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+9
-9
spec/features/gitlab_flavored_markdown_spec.rb
spec/features/gitlab_flavored_markdown_spec.rb
+1
-1
spec/helpers/gitlab_markdown_helper_spec.rb
spec/helpers/gitlab_markdown_helper_spec.rb
+1
-1
未找到文件。
doc/raketasks/maintenance.md
浏览文件 @
edc2e0a6
...
...
@@ -66,7 +66,7 @@ python2 is supported version? ... yes
Checking Environment ... Finished
Checking Git
l
ab Shell ...
Checking Git
L
ab Shell ...
GitLab Shell version? ... OK (1.2.0)
Repo base directory exists? ... yes
...
...
@@ -76,7 +76,7 @@ Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ... yes
Checking Git
l
ab Shell ... Finished
Checking Git
L
ab Shell ... Finished
Checking Sidekiq ...
...
...
features/project/source/search_code.feature
浏览文件 @
edc2e0a6
...
...
@@ -4,6 +4,6 @@ Feature: Project Search code
And
I own project
"Shop"
Given
I visit project source page
Scenario
:
Search for term "Welcome to Git
l
ab"
When
I search for term
"Welcome to Git
l
ab"
Then
I should see files from repository containing
"Welcome to Git
l
ab"
Scenario
:
Search for term "Welcome to Git
L
ab"
When
I search for term
"Welcome to Git
L
ab"
Then
I should see files from repository containing
"Welcome to Git
L
ab"
features/steps/project/project_search_code.rb
浏览文件 @
edc2e0a6
...
...
@@ -3,14 +3,14 @@ class ProjectSearchCode < Spinach::FeatureSteps
include
SharedProject
include
SharedPaths
When
'I search for term "Welcome to Git
l
ab"'
do
fill_in
"search"
,
with:
"Welcome to Git
l
ab"
When
'I search for term "Welcome to Git
L
ab"'
do
fill_in
"search"
,
with:
"Welcome to Git
L
ab"
click_button
"Go"
click_link
'Repository Code'
end
Then
'I should see files from repository containing "Welcome to Git
l
ab"'
do
page
.
should
have_content
"Welcome to Git
l
ab"
Then
'I should see files from repository containing "Welcome to Git
L
ab"'
do
page
.
should
have_content
"Welcome to Git
L
ab"
page
.
should
have_content
"GitLab is a free project and repository management application"
end
...
...
lib/support/init.d/gitlab
浏览文件 @
edc2e0a6
...
...
@@ -24,7 +24,7 @@ SIDEKIQ_PID="$PID_PATH/sidekiq.pid"
STOP_SIDEKIQ
=
"RAILS_ENV=production bundle exec rake sidekiq:stop"
START_SIDEKIQ
=
"RAILS_ENV=production bundle exec rake sidekiq:start"
NAME
=
"gitlab"
DESC
=
"Git
l
ab service"
DESC
=
"Git
L
ab service"
check_pid
(){
if
[
-f
$WEB_SERVER_PID
]
;
then
...
...
lib/tasks/gitlab/check.rake
浏览文件 @
edc2e0a6
...
...
@@ -362,10 +362,10 @@ namespace :gitlab do
namespace
:gitlab_shell
do
desc
"GITLAB | Check the configuration of Git
l
ab Shell"
desc
"GITLAB | Check the configuration of Git
L
ab Shell"
task
check: :environment
do
warn_user_is_not_gitlab
start_checking
"Git
l
ab Shell"
start_checking
"Git
L
ab Shell"
check_gitlab_shell
check_repo_base_exists
...
...
@@ -375,7 +375,7 @@ namespace :gitlab do
check_post_receive_hook_is_up_to_date
check_repos_post_receive_hooks_is_link
finished_checking
"Git
l
ab Shell"
finished_checking
"Git
L
ab Shell"
end
...
...
@@ -410,12 +410,12 @@ namespace :gitlab do
puts
"no"
.
red
puts
"
#{
repo_base_path
}
is missing"
.
red
try_fixing_it
(
"This should have been created when setting up Git
l
ab Shell."
,
"This should have been created when setting up Git
L
ab Shell."
,
"Make sure it's set correctly in config/gitlab.yml"
,
"Make sure Git
l
ab Shell is installed correctly."
"Make sure Git
L
ab Shell is installed correctly."
)
for_more_information
(
see_installation_guide_section
"Git
l
ab Shell"
see_installation_guide_section
"Git
L
ab Shell"
)
fix_and_rerun
end
...
...
@@ -460,7 +460,7 @@ namespace :gitlab do
"find
#{
repo_base_path
}
-type d -print0 | sudo xargs -0 chmod g+s"
)
for_more_information
(
see_installation_guide_section
"Git
l
ab Shell"
see_installation_guide_section
"Git
L
ab Shell"
)
fix_and_rerun
end
...
...
@@ -486,7 +486,7 @@ namespace :gitlab do
"sudo chown -R
#{
gitlab_shell_ssh_user
}
:
#{
gitlab_shell_owner_group
}
#{
repo_base_path
}
"
)
for_more_information
(
see_installation_guide_section
"Git
l
ab Shell"
see_installation_guide_section
"Git
L
ab Shell"
)
fix_and_rerun
end
...
...
@@ -535,7 +535,7 @@ namespace :gitlab do
File
.
realpath
(
project_hook_file
)
==
File
.
realpath
(
gitlab_shell_hook_file
)
puts
"ok"
.
green
else
puts
"not a link to Git
l
ab Shell's hook"
.
red
puts
"not a link to Git
L
ab Shell's hook"
.
red
try_fixing_it
(
"sudo -u
#{
gitlab_shell_ssh_user
}
ln -sf
#{
gitlab_shell_hook_file
}
#{
project_hook_file
}
"
)
...
...
spec/features/gitlab_flavored_markdown_spec.rb
浏览文件 @
edc2e0a6
require
'spec_helper'
describe
"Git
l
ab Flavored Markdown"
do
describe
"Git
L
ab Flavored Markdown"
do
let
(
:project
)
{
create
(
:project_with_code
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let
(
:merge_request
)
{
create
(
:merge_request
,
project:
project
)
}
...
...
spec/helpers/gitlab_markdown_helper_spec.rb
浏览文件 @
edc2e0a6
...
...
@@ -370,7 +370,7 @@ describe GitlabMarkdownHelper do
@wiki
.
stub
(
:content
).
and_return
(
'wiki content'
)
end
it
"should use Git
l
ab Flavored Markdown for markdown files"
do
it
"should use Git
L
ab Flavored Markdown for markdown files"
do
@wiki
.
stub
(
:format
).
and_return
(
:markdown
)
helper
.
should_receive
(
:markdown
).
with
(
'wiki content'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录