Skip to content

Commit 3072cd4

Browse files
committed
fix(endoflifedate): key Apache httpd and Rocket.Chat offline data under their current endoflife.date URLs
endoflife.date renamed the apache and rocketchat slugs to apache-http-server and rocket-chat (the old URLs now 301-redirect). The version checks pass the new URLs, but the bundled offline fallback was still keyed under the old ones, so an offline lookup raised 'product unknown'. Update the generator's PRODUCTS list and regenerate endoflifedate.py.
1 parent 9d22b64 commit 3072cd4

3 files changed

Lines changed: 18 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased]
1010

11-
tbd
11+
### Fixed
12+
13+
* endoflifedate.py: the Apache httpd and Rocket.Chat offline data is keyed under their current endoflife.date URLs (`apache-http-server`, `rocket-chat`), so version checks still work when the endoflife.date API is unreachable
1214

1315

1416
## [v4.4.0] - 2026-06-09

endoflifedate.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
# pylint: disable=C0302
1616

1717
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
18-
__version__ = '2026060201' # adapt this if something in this script changed fundamentally
18+
__version__ = '2026061001' # adapt this if something in this script changed fundamentally
1919

2020
ENDOFLIFE_DATE = {
2121

22-
'https://endoflife.date/api/apache.json': [
22+
'https://endoflife.date/api/apache-http-server.json': [
2323
{ 'cycle': '2.4',
2424
'eol': False,
2525
'latest': '2.4.67',
@@ -956,7 +956,7 @@
956956
{ 'cycle': '12.4',
957957
'eol': '2027-05-24',
958958
'latest': '12.4.4',
959-
'latestReleaseDate': '2026-06-04',
959+
'latestReleaseDate': '2026-06-09',
960960
'lts': False,
961961
'releaseDate': '2026-02-24',
962962
'support': '2026-04-17'},
@@ -2297,6 +2297,12 @@
22972297

22982298

22992299
'https://endoflife.date/api/nextcloud.json': [
2300+
{ 'cycle': '34',
2301+
'eol': '2027-06-30',
2302+
'latest': '34.0.0',
2303+
'latestReleaseDate': '2026-06-08',
2304+
'lts': False,
2305+
'releaseDate': '2026-06-09'},
23002306
{ 'cycle': '33',
23012307
'eol': '2027-02-28',
23022308
'latest': '33.0.5',
@@ -3273,7 +3279,7 @@
32733279
],
32743280

32753281

3276-
'https://endoflife.date/api/rocketchat.json': [
3282+
'https://endoflife.date/api/rocket-chat.json': [
32773283
{ 'cycle': '8.4',
32783284
'eol': '2026-10-31',
32793285
'latest': '8.4.3',

tools/update-endoflifedate

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ import lib.globals # pylint: disable=C0413
1919
import lib.url # pylint: disable=C0413
2020

2121
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
22-
__version__ = '2026060201' # adapt this if something in this script changed fundamentally
22+
__version__ = '2026061001' # adapt this if something in this script changed fundamentally
2323

2424
DESCRIPTION = """Simply creates the file "endoflifedate.py" for a given list of products."""
2525

2626
DEFAULT_FILE = 'lib/endoflifedate.py'
2727

28-
VERSION = '2025061901' # adapt this if one of PRODUCTS was added/deleted
28+
VERSION = '2026061001' # adapt this if one of PRODUCTS was added/deleted
2929
PRODUCTS = [
30-
'https://endoflife.date/api/apache.json',
30+
'https://endoflife.date/api/apache-http-server.json',
3131
'https://endoflife.date/api/composer.json',
3232
'https://endoflife.date/api/fedora.json',
3333
'https://endoflife.date/api/fortios.json',
@@ -51,7 +51,7 @@ PRODUCTS = [
5151
'https://endoflife.date/api/redhat-build-of-openjdk.json',
5252
'https://endoflife.date/api/redis.json',
5353
'https://endoflife.date/api/rhel.json',
54-
'https://endoflife.date/api/rocketchat.json',
54+
'https://endoflife.date/api/rocket-chat.json',
5555
'https://endoflife.date/api/solr.json',
5656
'https://endoflife.date/api/valkey.json',
5757
'https://endoflife.date/api/wordpress.json',
@@ -106,7 +106,7 @@ Internet."""
106106
# pylint: disable=C0302
107107
108108
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
109-
__version__ = '2026060201' # adapt this if something in this script changed fundamentally
109+
__version__ = '2026061001' # adapt this if something in this script changed fundamentally
110110
111111
ENDOFLIFE_DATE = {
112112

0 commit comments

Comments
 (0)