-
Notifications
You must be signed in to change notification settings - Fork 27
centos: install latest version of Git #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@ttaylorr Will the new git-lfs will still function the default OS version of |
Good question; yes. This was merely to satisfy some test failures that occurred only when running on system Git on Centos 6/7. I will look into this further before the next release in the hopes of uncovering a bug if one exists, but Git LFS will work on system Git (as is indicated by the Travis CI builds that we run on each pull request). |
Since commit 7af5552 in PR git-lfs#19 in 2018 our CentOS 7 Dockerfile has installed Git 2.16.0. As that version is now somewhat old, we update to a recent version instead, i.e., 2.39.0.
In commit cd3e92e of PR git-lfs#480 we introduced support for CentOS 6 into our rpm/build_rpms.bsh script by building an early version of Git from a local git.spec file. Then in commit d2d90a8 of PR git-lfs#891 this was replaced with installation from the setup.ius.io service. In commit git-lfs/build-dockers@7af5552 of PR git-lfs/build-dockers#19, however, the download and installation of Git 2.16 from github.com was added to the CentOS 6 Dockerfile; later this was adjusted to download from kernel.org. In commit git-lfs/build-dockers@f1f573f of PR git-lfs/build-dockers#29 we added support for CentOS 8, which supports a direct installation of Git using yum. And in commit git-lfs/build-dockers@898d9b0 of PR git-lfs/build-dockers#33 we dropped support for CentOS 6 entirely. Therefore we no longer have any need for our rpm/build_rpms.bsh script to install Git at all, especially not very old versions, so we simply remove that logic from our script.
Since commit 7af5552 in PR git-lfs#19 in 2018 our CentOS 7 Dockerfile has installed Git 2.16.0. As that version is now somewhat old, we update to a recent version instead, i.e., 2.34.5. We avoid using a newer version higher then 2.34.x because those include a "test balloon" check for C99 compiler support, as introduced in git/git@7bc341e, which fails without further changes to our CentOS 7 build.
Since commit 7af5552 in PR git-lfs#19 in 2018 our CentOS 7 Dockerfile has installed Git 2.16.0. As that version is now somewhat old, we update to a recent version instead, i.e., 2.34.5. We avoid using a newer version higher then 2.34.x because those include a "test balloon" check for C99 compiler support, as introduced in git/git@7bc341e, which fails without further changes to our CentOS 7 build.
Since commit 7af5552 in PR git-lfs#19 in 2018 our CentOS 7 Dockerfile has installed Git 2.16.0. As that version is now somewhat old, we update to a recent version instead, i.e., 2.34.5. We avoid using a newer version higher then 2.34.x because those include a "test balloon" check for C99 compiler support, as introduced in git/git@7bc341e, which fails without further changes to our CentOS 7 build.
In commit cd3e92e of PR git-lfs#480 we introduced support for CentOS 6 into our rpm/build_rpms.bsh script by building an early version of Git from a local git.spec file. Then in commit d2d90a8 of PR git-lfs#891 this was replaced with installation from the setup.ius.io service. In commit git-lfs/build-dockers@7af5552 of PR git-lfs/build-dockers#19, however, the download and installation of Git 2.16 from github.com was added to the CentOS 6 Dockerfile; later this was adjusted to download from kernel.org. In commit git-lfs/build-dockers@f1f573f of PR git-lfs/build-dockers#29 we added support for CentOS 8, which supports a direct installation of Git using yum. And in commit git-lfs/build-dockers@898d9b0 of PR git-lfs/build-dockers#33 we dropped support for CentOS 6 entirely. Therefore we no longer have any need for our rpm/build_rpms.bsh script to install Git at all, especially not very old versions, so we simply remove that logic from our script.
In commit cd3e92e of PR git-lfs#480 we introduced support for CentOS 6 into our rpm/build_rpms.bsh script by building an early version of Git from a local git.spec file. Then in commit d2d90a8 of PR git-lfs#891 this was replaced with installation from the setup.ius.io service. In commit git-lfs/build-dockers@7af5552 of PR git-lfs/build-dockers#19, however, the download and installation of Git 2.16 from github.com was added to the CentOS 6 Dockerfile; later this was adjusted to download from kernel.org. In commit git-lfs/build-dockers@f1f573f of PR git-lfs/build-dockers#29 we added support for CentOS 8, which supports a direct installation of Git using yum. And in commit git-lfs/build-dockers@898d9b0 of PR git-lfs/build-dockers#33 we dropped support for CentOS 6 entirely. Therefore we no longer have any need for our rpm/build_rpms.bsh script to install Git at all, especially not very old versions, so we simply remove that logic from our script.
Since commit 7af5552 in PR git-lfs#19 in 2018 our CentOS 7 Dockerfile has installed Git 2.16.0. As that version is now somewhat old, we update to a recent version instead, i.e., 2.34.5. We avoid using a newer version higher then 2.34.x because those include a "test balloon" check for C99 compiler support, as introduced in git/git@7bc341e, which fails without further changes to our CentOS 7 build.
This pull request builds Git LFS on Centos 6, and Centos 7 using the latest MINOR version of Git, v2.16.0. This is necessary in order to support additional functionality added in Git LFS v2.4.0
/cc @git-lfs/core