Skip to content

Conversation

@ttaylorr
Copy link
Contributor

@ttaylorr ttaylorr commented Mar 2, 2018

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

@ttaylorr ttaylorr merged commit fedaccd into master Mar 2, 2018
@ttaylorr ttaylorr deleted the centos-latest-git branch March 2, 2018 01:47
@andyneff
Copy link
Collaborator

andyneff commented Mar 5, 2018

@ttaylorr Will the new git-lfs will still function the default OS version of git?

@ttaylorr
Copy link
Contributor Author

ttaylorr commented Mar 5, 2018

@ttaylorr Will the new git-lfs will still function the default OS version of git?

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).

chrisd8088 added a commit to chrisd8088/build-dockers that referenced this pull request Dec 27, 2022
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.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Dec 27, 2022
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.
chrisd8088 added a commit to chrisd8088/build-dockers that referenced this pull request Dec 27, 2022
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.
chrisd8088 added a commit to chrisd8088/build-dockers that referenced this pull request Dec 27, 2022
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.
chrisd8088 added a commit to chrisd8088/build-dockers that referenced this pull request Dec 27, 2022
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.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Dec 27, 2022
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.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Dec 28, 2022
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.
chrisd8088 added a commit to chrisd8088/build-dockers that referenced this pull request Dec 28, 2022
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants