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
c01f81fa
Commit
c01f81fa
authored
Jan 31, 2018
by
Alejandro Rodríguez
Committed by
Nick Thomas
Jan 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] Fix example commands to refer to the correct versions
parent
a4d84192
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
changelogs/unreleased/fix-install-docs.yml
changelogs/unreleased/fix-install-docs.yml
+5
-0
doc/install/installation.md
doc/install/installation.md
+4
-4
lib/system_check/app/git_version_check.rb
lib/system_check/app/git_version_check.rb
+1
-1
No files found.
changelogs/unreleased/fix-install-docs.yml
0 → 100644
View file @
c01f81fa
---
title
:
Update minimum git version to 2.9.5
merge_request
:
16683
author
:
type
:
other
doc/install/installation.md
View file @
c01f81fa
...
@@ -80,7 +80,7 @@ Make sure you have the right version of Git installed
...
@@ -80,7 +80,7 @@ Make sure you have the right version of Git installed
# Install Git
# Install Git
sudo apt-get install -y git-core
sudo apt-get install -y git-core
# Make sure Git is version 2.
14.3
or higher
# Make sure Git is version 2.
9.5
or higher
git --version
git --version
Is the system packaged Git too old? Remove it and compile from source.
Is the system packaged Git too old? Remove it and compile from source.
...
@@ -93,9 +93,9 @@ Is the system packaged Git too old? Remove it and compile from source.
...
@@ -93,9 +93,9 @@ Is the system packaged Git too old? Remove it and compile from source.
# Download and compile from source
# Download and compile from source
cd /tmp
cd /tmp
curl --remote-name --progress https://www.kernel.org/pub/software/scm/git/git-2.
8.4
.tar.gz
curl --remote-name --progress https://www.kernel.org/pub/software/scm/git/git-2.
14.3
.tar.gz
echo '
626e319f8a24fc0866167ea5f6bf3e2f38f69d6cb2e59e150f13709ca3ebf301 git-2.8.4.tar.gz' | shasum -a256 -c - && tar -xzf git-2.8.4
.tar.gz
echo '
023ffff6d3ba8a1bea779dfecc0ed0bb4ad68ab8601d14435dd8c08416f78d7f git-2.14.3.tar.gz' | shasum -a256 -c - && tar -xzf git-2.14.3
.tar.gz
cd git-2.
8.4
/
cd git-2.
14.3
/
./configure
./configure
make prefix=/usr/local all
make prefix=/usr/local all
...
...
lib/system_check/app/git_version_check.rb
View file @
c01f81fa
...
@@ -5,7 +5,7 @@ module SystemCheck
...
@@ -5,7 +5,7 @@ module SystemCheck
set_check_pass
->
{
"yes (
#{
self
.
current_version
}
)"
}
set_check_pass
->
{
"yes (
#{
self
.
current_version
}
)"
}
def
self
.
required_version
def
self
.
required_version
@required_version
||=
Gitlab
::
VersionInfo
.
new
(
2
,
7
,
3
)
@required_version
||=
Gitlab
::
VersionInfo
.
new
(
2
,
9
,
5
)
end
end
def
self
.
current_version
def
self
.
current_version
...
...
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