nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.25k stars 320 forks source link

Packages: cleanups & new distros #1287

Open thresheek opened 1 month ago

thresheek commented 1 month ago

This adds Ubuntu 24.04.

While at it, remove some older EOLed distributions from both rpm and deb worlds.

callahad commented 1 week ago

@thresheek While we're at it, could you please drop CentOS 7 and 8 (both effectively EOL), as well as Amazon Linux 2?

thresheek commented 1 week ago

I agree about CentOS 7 - it will EOL in a couple of weeks.

However CentOS 8 here designates RHEL 8 as well, so we need to keep it. Amazon Linux 2 EOL is end of June 2025, is there another reason to drop it?

callahad commented 1 week ago

Unit can drop RHEL 8, too - its Full Support Phase ended last month. 😉

callahad commented 1 week ago

Less flippantly, dropping CentOS / RHEL 8 and AL 2 moves our baseline GCC from 7 to 9.

Then to GCC 10 when we drop Ubuntu 20.04, and to GCC 11 when we drop Debian 11. Both of which I'd advocate for doing sooner rather than later, but not necessarily in this PR.

thresheek commented 1 week ago

One can argue that "Maintenance support" for RHEL 8 is pretty much the usual way of supporting any other Linux distros through their lifetime; see https://access.redhat.com/support/policy/updates/errata#Full_Support_Phase (and further paragraphs) for more details on that.

In general, we'd consider any official non-gated (GA, not additionally paid) support that includes security fixes and errata as something we can also build packages for. For RHEL, that includes Full Support and Maintenance Support.

Of course this is not my call to make, I'm just adding context on why it's the way it is - and it's your call to make to end the distribution of binary packages for those targets.

callahad commented 1 week ago

Appreciate that :)

For purposes of keeping this PR on track, let's drop CentOS 7 and leave the rest.

I'll start a separate discussion to define our baseline binary support targets, which we can address in a subsequent PR. (The tl;dr of my position is that we're a tiny team that needs to skew more towards innovation than maintenance; we're currently losing more by imposing these limits than we gain.)

thresheek commented 1 week ago

I've removed CentOS 7 / RHEL 7 in the new patches. Looks like we had some more leftovers from Fedora cleanups, and ahem CentOS 6 days, so I've removed those as well.

callahad commented 1 week ago

Here's the separate discussion on packaging targets: https://github.com/nginx/unit/discussions/1333