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
a0942103
Commit
a0942103
authored
Aug 05, 2020
by
Markus Koller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pks-git-v2.28.0' into 'master'
Upgrade to Git v2.28.0 See merge request gitlab-org/gitlab!38152
parents
92aef881
34bef34f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
30 additions
and
21 deletions
+30
-21
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+1
-1
.gitlab/ci/global.gitlab-ci.yml
.gitlab/ci/global.gitlab-ci.yml
+4
-4
changelogs/unreleased/pks-git-v2-28-0.yml
changelogs/unreleased/pks-git-v2-28-0.yml
+5
-0
doc/install/installation.md
doc/install/installation.md
+4
-4
doc/install/requirements.md
doc/install/requirements.md
+1
-2
doc/update/README.md
doc/update/README.md
+5
-0
doc/update/upgrading_from_source.md
doc/update/upgrading_from_source.md
+5
-5
lib/system_check/app/git_version_check.rb
lib/system_check/app/git_version_check.rb
+1
-1
spec/features/projects/show/user_manages_notifications_spec.rb
...features/projects/show/user_manages_notifications_spec.rb
+2
-2
spec/frontend/jobs/components/log/mock_data.js
spec/frontend/jobs/components/log/mock_data.js
+1
-1
No files found.
.gitlab-ci.yml
View file @
a0942103
...
@@ -15,7 +15,7 @@ stages:
...
@@ -15,7 +15,7 @@ stages:
# in cases where jobs require Docker-in-Docker, the job
# in cases where jobs require Docker-in-Docker, the job
# definition must be extended with `.use-docker-in-docker`
# definition must be extended with `.use-docker-in-docker`
default
:
default
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
7-lfs-2.9-chrome-83
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
8-lfs-2.9-chrome-84
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
tags
:
tags
:
-
gitlab-org
-
gitlab-org
# All jobs are interruptible by default
# All jobs are interruptible by default
...
...
.gitlab/ci/frontend.gitlab-ci.yml
View file @
a0942103
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
extends
:
extends
:
-
.frontend-base
-
.frontend-base
-
.assets-compile-cache
-
.assets-compile-cache
image
:
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-git-2.2
7
-lfs-2.9-node-12.x-yarn-1.21-graphicsmagick-1.3.34
image
:
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-git-2.2
8
-lfs-2.9-node-12.x-yarn-1.21-graphicsmagick-1.3.34
variables
:
variables
:
WEBPACK_VENDOR_DLL
:
"
true"
WEBPACK_VENDOR_DLL
:
"
true"
stage
:
prepare
stage
:
prepare
...
...
.gitlab/ci/global.gitlab-ci.yml
View file @
a0942103
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
policy
:
pull
policy
:
pull
.use-pg11
:
.use-pg11
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
7-lfs-2.9-chrome-83
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
8-lfs-2.9-chrome-84
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
services
:
services
:
-
name
:
postgres:11.6
-
name
:
postgres:11.6
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg12
:
.use-pg12
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
7-lfs-2.9-chrome-83
-node-12.x-yarn-1.21-postgresql-12-graphicsmagick-1.3.34"
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
8-lfs-2.9-chrome-84
-node-12.x-yarn-1.21-postgresql-12-graphicsmagick-1.3.34"
services
:
services
:
-
name
:
postgres:12
-
name
:
postgres:12
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg11-ee
:
.use-pg11-ee
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
7-lfs-2.9-chrome-83
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
8-lfs-2.9-chrome-84
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
services
:
services
:
-
name
:
postgres:11.6
-
name
:
postgres:11.6
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg12-ee
:
.use-pg12-ee
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
7-lfs-2.9-chrome-83
-node-12.x-yarn-1.21-postgresql-12-graphicsmagick-1.3.34"
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
8-lfs-2.9-chrome-84
-node-12.x-yarn-1.21-postgresql-12-graphicsmagick-1.3.34"
services
:
services
:
-
name
:
postgres:12
-
name
:
postgres:12
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
changelogs/unreleased/pks-git-v2-28-0.yml
0 → 100644
View file @
a0942103
---
title
:
Upgrade CI to Git v2.28.0
merge_request
:
38152
author
:
type
:
added
doc/install/installation.md
View file @
a0942103
...
@@ -134,7 +134,7 @@ Make sure you have the right version of Git installed:
...
@@ -134,7 +134,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.2
7.0 or higher (minimal supported version is 2.25.0)
# Make sure Git is version 2.2
8.0 or higher
git
--version
git
--version
```
```
...
@@ -181,9 +181,9 @@ sudo make install
...
@@ -181,9 +181,9 @@ sudo make install
# Download and compile from source
# Download and compile from source
cd
/tmp
cd
/tmp
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.2
7
.0.tar.gz
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.2
8
.0.tar.gz
echo
'
77ded85cbe42b1ffdc2578b460a1ef5d23bcbc6683eabcafbb0d394dffe2e787 git-2.27.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.27
.0.tar.gz
echo
'
f914c60a874d466c1e18467c864a910dd4ea22281ba6d4d58077cb0c3f115170 git-2.28.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.28
.0.tar.gz
cd
git-2.2
7
.0/
cd
git-2.2
8
.0/
./configure
--with-libpcre
./configure
--with-libpcre
make
prefix
=
/usr/local all
make
prefix
=
/usr/local all
...
...
doc/install/requirements.md
View file @
a0942103
...
@@ -56,8 +56,7 @@ The minimum required Go version is 1.13.
...
@@ -56,8 +56,7 @@ The minimum required Go version is 1.13.
From GitLab 13.1:
From GitLab 13.1:
-
Git 2.25.x and later is required.
-
Git 2.28.x and later
[
is required
](
https://gitlab.com/gitlab-org/gitaly/-/issues/2959
)
.
-
Git 2.27.x and later
[
is recommended
](
https://gitlab.com/gitlab-org/gitaly/-/issues/2829
)
.
### Node.js versions
### Node.js versions
...
...
doc/update/README.md
View file @
a0942103
...
@@ -222,6 +222,11 @@ possible.
...
@@ -222,6 +222,11 @@ possible.
## Version specific upgrading instructions
## Version specific upgrading instructions
### 13.3.0
In 13.3.0, you must upgrade to at least Git v2.28. Previously, the minimum
required version was Git v2.24.
### 13.2.0
### 13.2.0
GitLab installations that have multiple web nodes will need to be
GitLab installations that have multiple web nodes will need to be
...
...
doc/update/upgrading_from_source.md
View file @
a0942103
...
@@ -124,7 +124,7 @@ rm go1.13.5.linux-amd64.tar.gz
...
@@ -124,7 +124,7 @@ rm go1.13.5.linux-amd64.tar.gz
CAUTION:
**Caution:**
CAUTION:
**Caution:**
From GitLab 13.1, you must use at least Git v2.24 (previous minimum version was v2.22).
From GitLab 13.1, you must use at least Git v2.24 (previous minimum version was v2.22).
Git v2.26 is recommended
.
From GitLab 13.3, you must use at least Git v2.28
.
To check you are running the minimum required Git version, see
To check you are running the minimum required Git version, see
[
Git versions
](
../install/requirements.md#git-versions
)
.
[
Git versions
](
../install/requirements.md#git-versions
)
.
...
@@ -132,7 +132,7 @@ To check you are running the minimum required Git version, see
...
@@ -132,7 +132,7 @@ To check you are running the minimum required Git version, see
In Debian or Ubuntu:
In Debian or Ubuntu:
```
shell
```
shell
# Make sure Git is version 2.2
4
.0 or higher
# Make sure Git is version 2.2
8
.0 or higher
git
--version
git
--version
# Remove packaged Git
# Remove packaged Git
...
@@ -152,9 +152,9 @@ make install
...
@@ -152,9 +152,9 @@ make install
# Download and compile from source
# Download and compile from source
cd
/tmp
cd
/tmp
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.2
6
.0.tar.gz
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.2
8
.0.tar.gz
echo
'
aa168c2318e7187cd295a645f7370cc6d71a324aafc932f80f00c780b6a26bed git-2.26.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.26
.0.tar.gz
echo
'
f914c60a874d466c1e18467c864a910dd4ea22281ba6d4d58077cb0c3f115170 git-2.28.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.28
.0.tar.gz
cd
git-2.2
6
.0/
cd
git-2.2
8
.0/
./configure
--with-libpcre
./configure
--with-libpcre
make
prefix
=
/usr/local all
make
prefix
=
/usr/local all
...
...
lib/system_check/app/git_version_check.rb
View file @
a0942103
...
@@ -7,7 +7,7 @@ module SystemCheck
...
@@ -7,7 +7,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
.
parse
(
'2.2
2
.0'
)
@required_version
||=
Gitlab
::
VersionInfo
.
parse
(
'2.2
8
.0'
)
end
end
def
self
.
current_version
def
self
.
current_version
...
...
spec/features/projects/show/user_manages_notifications_spec.rb
View file @
a0942103
...
@@ -22,7 +22,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
...
@@ -22,7 +22,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
click_notifications_button
click_notifications_button
expect
(
find
(
'.update-notification.is-active'
)).
to
have_content
(
'On mention'
)
expect
(
find
(
'.update-notification.is-active'
)).
to
have_content
(
'On mention'
)
expect
(
find
(
'.notifications-icon use'
)[
:'xlink:href'
]).
to
end_with
(
'#notifications
'
)
expect
(
page
).
to
have_css
(
'.notifications-icon[data-testid="notifications-icon"]
'
)
end
end
it
'changes the notification setting to disabled'
do
it
'changes the notification setting to disabled'
do
...
@@ -32,7 +32,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
...
@@ -32,7 +32,7 @@ RSpec.describe 'Projects > Show > User manages notifications', :js do
wait_for_requests
wait_for_requests
expect
(
find
(
'.notifications-icon use'
)[
:'xlink:href'
]).
to
end_with
(
'#notifications-off
'
)
expect
(
page
).
to
have_css
(
'.notifications-icon[data-testid="notifications-off-icon"]
'
)
end
end
context
'custom notification settings'
do
context
'custom notification settings'
do
...
...
spec/frontend/jobs/components/log/mock_data.js
View file @
a0942103
...
@@ -34,7 +34,7 @@ export const utilsMockData = [
...
@@ -34,7 +34,7 @@ export const utilsMockData = [
content
:
[
content
:
[
{
{
text
:
text
:
'
Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
7-lfs-2.9-chrome-83
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34
'
,
'
Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.2
8-lfs-2.9-chrome-84
-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34
'
,
},
},
],
],
section
:
'
prepare-executor
'
,
section
:
'
prepare-executor
'
,
...
...
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