BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
b057e58b
Commit
b057e58b
authored
Jan 23, 2014
by
dosire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reword upgrade -y comment, improve layout and allow just y.
parent
68590fdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
upgrader.md
doc/update/upgrader.md
+1
-3
upgrader.rb
lib/gitlab/upgrader.rb
+1
-1
No files found.
doc/update/upgrader.md
View file @
b057e58b
...
...
@@ -19,10 +19,8 @@ __GitLab Upgrader is available only for version 6.4.2 or higher__
cd /home/git/gitlab
sudo -u git -H ruby script/upgrade.rb
# it also supports -y option to avouid user input
# to perform a non-interactive install (no user input required) you can add -y
# sudo -u git -H ruby script/upgrade.rb -y
### 3. Start application
...
...
lib/gitlab/upgrader.rb
View file @
b057e58b
...
...
@@ -17,7 +17,7 @@ module Gitlab
prompt
(
"Do you want to upgrade (yes/no)? "
,
%w{yes no}
)
end
if
answer
==
"yes"
if
answer
==
"yes"
||
answer
==
"y"
upgrade
else
exit
0
...
...
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