Skip to content

Drop obsolete OS support#4328

Merged
bk2204 merged 4 commits intogit-lfs:masterfrom
bk2204:drop-obsolete-os-support
Dec 1, 2020
Merged

Drop obsolete OS support#4328
bk2204 merged 4 commits intogit-lfs:masterfrom
bk2204:drop-obsolete-os-support

Conversation

@bk2204
Copy link
Member

@bk2204 bk2204 commented Dec 1, 2020

This PR drops support for CentOS 6 and Debian 8, which are no longer publicly supported upstream. While various versions do have extended security support available, we can't access it, and it doesn't seem like a good idea (or responsible to the rest of the Internet) for us to continue to build packages on versions that are known to be insecure.

This also makes our CI runs significantly faster, since we currently build many packages for CentOS 6 that we can now avoid building. We've shaved 15 minutes off of our build time for Linux packages.

We also add some additional distros that are not in the file. Note that we don't support Fedora 33 because packagecloud.io does not list it as a supported version at this time.

Print the CentOS 8 package link just like we do with the others.  This
is not used by any automation, but we might as well fix it for
consistency.
CentOS 6 went out of support on November 30, 2020.  Moreover, building
packages for it requires that we build Ruby in addition to all the
gems, plus a version of Git, meaning we spend significant CI resources
and time on this platform.

Since there's no longer any free security support and we cannot
reasonably be expected to run insecure code in CI, since that's
dangerous to others on the Internet, let's drop support for CentOS 6.
Debian 8 went out of support on June 30, 2020.  Ubuntu 14.04, which uses
the same packages, went out of support in 2019.

Since there's no longer any free security support and we cannot
reasonably be expected to run insecure code in CI, since that's
dangerous to others on the Internet, let's drop support for Debian 8.
There have been some additional SLES and Fedora releases since our last
major release, so let's add them in so we can upload packages for them.
@bk2204 bk2204 marked this pull request as ready for review December 1, 2020 16:32
@bk2204 bk2204 requested a review from a team December 1, 2020 16:32
Copy link
Member

@chrisd8088 chrisd8088 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@bk2204 bk2204 merged commit 520f418 into git-lfs:master Dec 1, 2020
@bk2204 bk2204 deleted the drop-obsolete-os-support branch December 1, 2020 19:27
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Feb 4, 2023
We removed support for CentOS 5 in commit
369c712 of PR git-lfs#4080 and for
CentOS 6 in commit d69e28d in
PR git-lfs#4328; we also removed support for Debian 8 in commit
ff36182 of that same PR git-lfs#4328,
and for Debian 9 in commit e642e53
of PR git-lfs#5169.

We can therefore also remove these distribution names from the
set of patterns we match our package filenames against in our
upload script for Packagecloud when it prints Markdown output
(although this feature of the script may no longer be useful).
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Jun 19, 2025
As announced with the v3.6.0 release of the Git LFS client, and as
noted in commit 23fbfe8 of PR git-lfs#5911,
since all the distribution versions based on Red Hat Enterprise Linux
(RHEL) 7, CentOS 7, and SUSE Linux Enterprise Server (SLES) 12 for which
we previously built RPM packages have now reached the end of their
standard LTS (Long-Term Support) periods, future releases of Git LFS
will no longer provide support for these platforms or build packages
for them.

Because we anticipate making a v3.7.0 release of the Git LFS client in
the near future, we removed the Dockerfile we used to build packages
for the RHEL/CentOS 7 and SLES 12 platforms in commit
git-lfs/build-dockers@cfde130 of
PR git-lfs/build-dockers#71.  We then also removed the entries for
these platforms from the list of our supported Linux distribution
versions in the DistroMap Ruby class source file, which is utilized
by several scripts run by our GitHub Actions release workflow jobs
when building and naming the Linux packages we publish on Packagecloud.

Previously, we removed support for the RHEL/CentOS 6 platform in
commit d69e28d in PR git-lfs#4328.

However, our "docker/run_dockers.bsh" shell script still references
these platforms in its comments, so we update that script now to
provide more up-to-date usage examples.

As well, we update the test data in the Ruby RSpec script we use to
validate the DistroMap Ruby class source file, so that the test data
now aligns more closely with our current list of supported Linux
distribution versions.  Note, though, that this change does not affect
the behaviour of either the test script or the DistroMap source file.
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Jun 20, 2025
As announced with the v3.6.0 release of the Git LFS client, and as
noted in commit 23fbfe8 of PR git-lfs#5911,
since all the distribution versions based on Red Hat Enterprise Linux
(RHEL) 7, CentOS 7, and SUSE Linux Enterprise Server (SLES) 12 for which
we previously built RPM packages have now reached the end of their
standard LTS (Long-Term Support) periods, future releases of Git LFS
will no longer provide support for these platforms or build packages
for them.

Because we anticipate making a v3.7.0 release of the Git LFS client in
the near future, we removed the Dockerfile we used to build packages
for the RHEL/CentOS 7 and SLES 12 platforms in commit
git-lfs/build-dockers@cfde130 of
PR git-lfs/build-dockers#71.  We then also removed the entries for
these platforms from the list of our supported Linux distribution
versions in the DistroMap Ruby class source file, which is utilized
by several scripts run by our GitHub Actions release workflow jobs
when building and naming the Linux packages we publish on Packagecloud.

Previously, in commit ff36182 of
PR git-lfs#4328, we removed support for distribution versions based on the
Debian 8 ("jessie") platform, including Ubuntu 14.04 ("Trusty Tahr")
and Linux Mint 17.1 ("Rebecca").

However, some of the installation examples in our "INSTALLING.md"
page still reference these platforms, so we update these exmaples
now with more contemporary Linux distribution versions.
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.

2 participants