[haproxy] v2.7.0

This commit is contained in:
Nemo
2022-12-02 16:25:50 +05:30
parent ee9757a195
commit 931ff74010
2 changed files with 4 additions and 2 deletions

View File

@@ -255,5 +255,6 @@
"2.6.3": "2022-08-19", "2.6.3": "2022-08-19",
"2.6.2": "2022-07-22", "2.6.2": "2022-07-22",
"2.6.1": "2022-06-21", "2.6.1": "2022-06-21",
"2.6.0": "2022-05-31" "2.6.0": "2022-05-31",
"2.7.0": "2022-12-01"
} }

View File

@@ -7,8 +7,9 @@ REGEX = r"^(\d{4})\/(\d{2})\/(\d{2})\s+:\s+(\d+\.\d+\.\d.?)$"
list = {} list = {}
for i in range(17, 27): for i in range(17, 28):
url = "https://www.haproxy.org/download/%s/src/CHANGELOG" % (i / 10) url = "https://www.haproxy.org/download/%s/src/CHANGELOG" % (i / 10)
print(url)
with urllib.request.urlopen(url) as response: with urllib.request.urlopen(url) as response:
for line in response: for line in response:
m = re.match(REGEX, line.decode("utf-8")) m = re.match(REGEX, line.decode("utf-8"))