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
1
Merge Requests
1
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
nexedi
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
doc/update/upgrader.md
doc/update/upgrader.md
+1
-3
lib/gitlab/upgrader.rb
lib/gitlab/upgrader.rb
+1
-1
No files found.
doc/update/upgrader.md
View file @
b057e58b
...
@@ -19,11 +19,9 @@ __GitLab Upgrader is available only for version 6.4.2 or higher__
...
@@ -19,11 +19,9 @@ __GitLab Upgrader is available only for version 6.4.2 or higher__
cd /home/git/gitlab
cd /home/git/gitlab
sudo -u git -H ruby script/upgrade.rb
sudo -u git -H ruby script/upgrade.rb
# to perform a non-interactive install (no user input required) you can add -y
# it also supports -y option to avouid user input
# sudo -u git -H ruby script/upgrade.rb -y
# sudo -u git -H ruby script/upgrade.rb -y
### 3. Start application
### 3. Start application
sudo service gitlab start
sudo service gitlab start
...
...
lib/gitlab/upgrader.rb
View file @
b057e58b
...
@@ -17,7 +17,7 @@ module Gitlab
...
@@ -17,7 +17,7 @@ module Gitlab
prompt
(
"Do you want to upgrade (yes/no)? "
,
%w{yes no}
)
prompt
(
"Do you want to upgrade (yes/no)? "
,
%w{yes no}
)
end
end
if
answer
==
"yes"
if
answer
==
"yes"
||
answer
==
"y"
upgrade
upgrade
else
else
exit
0
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