From 931ff740105b5ebeeb9a53c79cb67dfd1a31dec3 Mon Sep 17 00:00:00 2001 From: Nemo Date: Fri, 2 Dec 2022 16:25:50 +0530 Subject: [PATCH] [haproxy] v2.7.0 --- releases/haproxy.json | 3 ++- src/haproxy.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/releases/haproxy.json b/releases/haproxy.json index e434c21b..38e7793d 100644 --- a/releases/haproxy.json +++ b/releases/haproxy.json @@ -255,5 +255,6 @@ "2.6.3": "2022-08-19", "2.6.2": "2022-07-22", "2.6.1": "2022-06-21", - "2.6.0": "2022-05-31" + "2.6.0": "2022-05-31", + "2.7.0": "2022-12-01" } \ No newline at end of file diff --git a/src/haproxy.py b/src/haproxy.py index d8817f33..0ea7d7b4 100644 --- a/src/haproxy.py +++ b/src/haproxy.py @@ -7,8 +7,9 @@ REGEX = r"^(\d{4})\/(\d{2})\/(\d{2})\s+:\s+(\d+\.\d+\.\d.?)$" list = {} -for i in range(17, 27): +for i in range(17, 28): url = "https://www.haproxy.org/download/%s/src/CHANGELOG" % (i / 10) + print(url) with urllib.request.urlopen(url) as response: for line in response: m = re.match(REGEX, line.decode("utf-8"))