Align markdown filenames with their respective permalinks

This update JSON / Python file names following https://github.com/endoflife-date/endoflife.date/pull/7369.
This commit is contained in:
Marc Wrobel
2025-05-04 11:25:41 +02:00
parent 13cfeec7c3
commit e97ee6ded1
22 changed files with 9 additions and 9 deletions

10
src/rocky-linux.py Normal file
View File

@@ -0,0 +1,10 @@
from common import dates, endoflife, http, releasedata
with releasedata.ProductData("rocky-linux") as product_data:
response = http.fetch_url("https://raw.githubusercontent.com/rocky-linux/wiki.rockylinux.org/development/docs/include/releng/version_table.md")
for line in response.text.strip().split('\n'):
items = line.split('|')
if len(items) >= 5 and endoflife.DEFAULT_VERSION_PATTERN.match(items[1].strip()):
version = items[1].strip()
date = dates.parse_date(items[3])
product_data.declare_version(version, date)