Commit de29a424 authored by Ben Bodenmiller's avatar Ben Bodenmiller

changed Gitlab to GitLab

parent 6cf29166
...@@ -66,7 +66,7 @@ python2 is supported version? ... yes ...@@ -66,7 +66,7 @@ python2 is supported version? ... yes
Checking Environment ... Finished Checking Environment ... Finished
Checking Gitlab Shell ... Checking GitLab Shell ...
GitLab Shell version? ... OK (1.2.0) GitLab Shell version? ... OK (1.2.0)
Repo base directory exists? ... yes Repo base directory exists? ... yes
...@@ -76,7 +76,7 @@ Repo base access is drwxrws---? ... yes ...@@ -76,7 +76,7 @@ Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... yes post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ... yes post-receive hooks in repos are links: ... yes
Checking Gitlab Shell ... Finished Checking GitLab Shell ... Finished
Checking Sidekiq ... Checking Sidekiq ...
......
...@@ -4,6 +4,6 @@ Feature: Project Search code ...@@ -4,6 +4,6 @@ Feature: Project Search code
And I own project "Shop" And I own project "Shop"
Given I visit project source page Given I visit project source page
Scenario: Search for term "Welcome to Gitlab" Scenario: Search for term "Welcome to GitLab"
When I search for term "Welcome to Gitlab" When I search for term "Welcome to GitLab"
Then I should see files from repository containing "Welcome to Gitlab" Then I should see files from repository containing "Welcome to GitLab"
...@@ -3,14 +3,14 @@ class ProjectSearchCode < Spinach::FeatureSteps ...@@ -3,14 +3,14 @@ class ProjectSearchCode < Spinach::FeatureSteps
include SharedProject include SharedProject
include SharedPaths include SharedPaths
When 'I search for term "Welcome to Gitlab"' do When 'I search for term "Welcome to GitLab"' do
fill_in "search", with: "Welcome to Gitlab" fill_in "search", with: "Welcome to GitLab"
click_button "Go" click_button "Go"
click_link 'Repository Code' click_link 'Repository Code'
end end
Then 'I should see files from repository containing "Welcome to Gitlab"' do Then 'I should see files from repository containing "Welcome to GitLab"' do
page.should have_content "Welcome to Gitlab" page.should have_content "Welcome to GitLab"
page.should have_content "GitLab is a free project and repository management application" page.should have_content "GitLab is a free project and repository management application"
end end
......
...@@ -24,7 +24,7 @@ SIDEKIQ_PID="$PID_PATH/sidekiq.pid" ...@@ -24,7 +24,7 @@ SIDEKIQ_PID="$PID_PATH/sidekiq.pid"
STOP_SIDEKIQ="RAILS_ENV=production bundle exec rake sidekiq:stop" STOP_SIDEKIQ="RAILS_ENV=production bundle exec rake sidekiq:stop"
START_SIDEKIQ="RAILS_ENV=production bundle exec rake sidekiq:start" START_SIDEKIQ="RAILS_ENV=production bundle exec rake sidekiq:start"
NAME="gitlab" NAME="gitlab"
DESC="Gitlab service" DESC="GitLab service"
check_pid(){ check_pid(){
if [ -f $WEB_SERVER_PID ]; then if [ -f $WEB_SERVER_PID ]; then
......
...@@ -362,10 +362,10 @@ namespace :gitlab do ...@@ -362,10 +362,10 @@ namespace :gitlab do
namespace :gitlab_shell do namespace :gitlab_shell do
desc "GITLAB | Check the configuration of Gitlab Shell" desc "GITLAB | Check the configuration of GitLab Shell"
task check: :environment do task check: :environment do
warn_user_is_not_gitlab warn_user_is_not_gitlab
start_checking "Gitlab Shell" start_checking "GitLab Shell"
check_gitlab_shell check_gitlab_shell
check_repo_base_exists check_repo_base_exists
...@@ -375,7 +375,7 @@ namespace :gitlab do ...@@ -375,7 +375,7 @@ namespace :gitlab do
check_post_receive_hook_is_up_to_date check_post_receive_hook_is_up_to_date
check_repos_post_receive_hooks_is_link check_repos_post_receive_hooks_is_link
finished_checking "Gitlab Shell" finished_checking "GitLab Shell"
end end
...@@ -410,12 +410,12 @@ namespace :gitlab do ...@@ -410,12 +410,12 @@ namespace :gitlab do
puts "no".red puts "no".red
puts "#{repo_base_path} is missing".red puts "#{repo_base_path} is missing".red
try_fixing_it( try_fixing_it(
"This should have been created when setting up Gitlab Shell.", "This should have been created when setting up GitLab Shell.",
"Make sure it's set correctly in config/gitlab.yml", "Make sure it's set correctly in config/gitlab.yml",
"Make sure Gitlab Shell is installed correctly." "Make sure GitLab Shell is installed correctly."
) )
for_more_information( for_more_information(
see_installation_guide_section "Gitlab Shell" see_installation_guide_section "GitLab Shell"
) )
fix_and_rerun fix_and_rerun
end end
...@@ -460,7 +460,7 @@ namespace :gitlab do ...@@ -460,7 +460,7 @@ namespace :gitlab do
"find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s" "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
) )
for_more_information( for_more_information(
see_installation_guide_section "Gitlab Shell" see_installation_guide_section "GitLab Shell"
) )
fix_and_rerun fix_and_rerun
end end
...@@ -486,7 +486,7 @@ namespace :gitlab do ...@@ -486,7 +486,7 @@ namespace :gitlab do
"sudo chown -R #{gitlab_shell_ssh_user}:#{gitlab_shell_owner_group} #{repo_base_path}" "sudo chown -R #{gitlab_shell_ssh_user}:#{gitlab_shell_owner_group} #{repo_base_path}"
) )
for_more_information( for_more_information(
see_installation_guide_section "Gitlab Shell" see_installation_guide_section "GitLab Shell"
) )
fix_and_rerun fix_and_rerun
end end
...@@ -535,7 +535,7 @@ namespace :gitlab do ...@@ -535,7 +535,7 @@ namespace :gitlab do
File.realpath(project_hook_file) == File.realpath(gitlab_shell_hook_file) File.realpath(project_hook_file) == File.realpath(gitlab_shell_hook_file)
puts "ok".green puts "ok".green
else else
puts "not a link to Gitlab Shell's hook".red puts "not a link to GitLab Shell's hook".red
try_fixing_it( try_fixing_it(
"sudo -u #{gitlab_shell_ssh_user} ln -sf #{gitlab_shell_hook_file} #{project_hook_file}" "sudo -u #{gitlab_shell_ssh_user} ln -sf #{gitlab_shell_hook_file} #{project_hook_file}"
) )
......
require 'spec_helper' require 'spec_helper'
describe "Gitlab Flavored Markdown" do describe "GitLab Flavored Markdown" do
let(:project) { create(:project_with_code) } let(:project) { create(:project_with_code) }
let(:issue) { create(:issue, project: project) } let(:issue) { create(:issue, project: project) }
let(:merge_request) { create(:merge_request, project: project) } let(:merge_request) { create(:merge_request, project: project) }
......
...@@ -370,7 +370,7 @@ describe GitlabMarkdownHelper do ...@@ -370,7 +370,7 @@ describe GitlabMarkdownHelper do
@wiki.stub(:content).and_return('wiki content') @wiki.stub(:content).and_return('wiki content')
end end
it "should use Gitlab Flavored Markdown for markdown files" do it "should use GitLab Flavored Markdown for markdown files" do
@wiki.stub(:format).and_return(:markdown) @wiki.stub(:format).and_return(:markdown)
helper.should_receive(:markdown).with('wiki content') helper.should_receive(:markdown).with('wiki content')
......
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