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

View File

@@ -13,7 +13,7 @@ URLS = [
"https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html",
]
with releasedata.ProductData("eks") as product_data:
with releasedata.ProductData("amazon-eks") as product_data:
for version_list in http.fetch_urls(URLS):
version_list_soup = BeautifulSoup(version_list.text, features="html5lib")
for tr in version_list_soup.select("#main-col-body")[0].findAll("tr"):

View File

@@ -6,10 +6,10 @@ from common import dates, http, releasedata
# https://regex101.com/r/zPxBqT/1
VERSION_PATTERN = re.compile(r"\d.\d+\.\d+-gke\.\d+")
URL_BY_PRODUCT = {
"gke": "https://cloud.google.com/kubernetes-engine/docs/release-notes-nochannel",
"gke-stable": "https://cloud.google.com/kubernetes-engine/docs/release-notes-stable",
"gke-regular": "https://cloud.google.com/kubernetes-engine/docs/release-notes-regular",
"gke-rapid": "https://cloud.google.com/kubernetes-engine/docs/release-notes-rapid",
"google-kubernetes-engine": "https://cloud.google.com/kubernetes-engine/docs/release-notes-nochannel",
"google-kubernetes-engine-stable": "https://cloud.google.com/kubernetes-engine/docs/release-notes-stable",
"google-kubernetes-engine-regular": "https://cloud.google.com/kubernetes-engine/docs/release-notes-regular",
"google-kubernetes-engine-rapid": "https://cloud.google.com/kubernetes-engine/docs/release-notes-rapid",
}
for product_name, url in URL_BY_PRODUCT.items():

View File

@@ -10,7 +10,7 @@ A few of the older versions, such as 'Satellite 6.1 GA Release (Build 6.1.1)', w
# https://regex101.com/r/m8aWXG/1
VERSION_PATTERN = re.compile(r"^Satellite (?P<version>\d+\.\d+\.\d+([.-]\d+)?) ([Uu]pdate|[Rr]elease)$")
with releasedata.ProductData("redhat-satellite") as product_data:
with releasedata.ProductData("red-hat-satellite") as product_data:
response = http.fetch_url("https://access.redhat.com/articles/1365633")
soup = BeautifulSoup(response.text, features="html5lib")

View File

@@ -1,6 +1,6 @@
from common import dates, endoflife, http, releasedata
with releasedata.ProductData("rockylinux") as product_data:
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('|')

View File

@@ -2,14 +2,14 @@ from bs4 import BeautifulSoup
from common import dates, endoflife, http, releasedata
# There is no build history for versions 2015 and below.
# This is not a big deal because there was no version for those release in a very long time.
# This is not a big deal because there was no version for those releases in a very long time.
URLS = [
"https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes-history",
"https://learn.microsoft.com/en-us/visualstudio/releases/2019/history",
"https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history",
]
with releasedata.ProductData("visualstudio") as product_data:
with releasedata.ProductData("visual-studio") as product_data:
for response in http.fetch_urls(URLS):
soup = BeautifulSoup(response.text, features="html5lib")