[Gruppo-web] [Git][ubuntu-it-web/www][develop] 2 commits: update releases

Mattia Rizzolo gitlab a code.ubuntu-it.org
Dom 17 Ott 2021 10:29:38 BST



Mattia Rizzolo pushed to branch develop at Gruppo Web / Nuovo sito


Commits:
999a254a by Mattia Rizzolo at 2021-10-17T11:27:36+02:00
update releases

Signed-off-by: Mattia Rizzolo <mapreri a ubuntu.com>

- - - - -
cbc2b98d by Mattia Rizzolo at 2021-10-17T11:27:58+02:00
look for SHA256SUMS instead of MD5SUMS, which is not published anymore

the code still calls everything "md5" but it's not md5 anymore, that
should be updated everywhere.

Signed-off-by: Mattia Rizzolo <mapreri a ubuntu.com>

- - - - -


2 changed files:

- uitwww/data/downloads.toml
- uitwww/download.py


Changes:

=====================================
uitwww/data/downloads.toml
=====================================
@@ -3,12 +3,12 @@
 # necessario aggiornare questa sezione.
 
 [releases.latest]
-version = "20.04"
-codename = "focal"
-lts = true
+version = "21.10"
+codename = "impish"
+lts = false
 
 [releases.lts]
-version = "20.04"
+version = "20.04.3"
 codename = "focal"
 lts = true
 


=====================================
uitwww/download.py
=====================================
@@ -118,7 +118,7 @@ class Downloads:
                     if path not in files_content:
                         md5s = {}
 
-                        response = requests.get("%s/MD5SUMS" % path)
+                        response = requests.get("%s/SHA256SUMS" % path)
                         if response.status_code == 404:
                             raise RuntimeError(
                                 "Missing {} {} on {}".format(distro, release, url),



View it on GitLab: http://code.ubuntu-it.org/ubuntu-it-web/www/-/compare/636479b490a06ddb9e49733662cd1aa1c02f3960...cbc2b98d7efbc7195390983914e030cc54357453

-- 
View it on GitLab: http://code.ubuntu-it.org/ubuntu-it-web/www/-/compare/636479b490a06ddb9e49733662cd1aa1c02f3960...cbc2b98d7efbc7195390983914e030cc54357453
You're receiving this email because of your account on code.ubuntu-it.org.


-------------- parte successiva --------------
Un allegato HTML  stato rimosso...
URL: <http://liste.ubuntu-it.org/pipermail/gruppo-web/attachments/20211017/6c5aed87/attachment.htm>


Maggiori informazioni sulla lista Gruppo-web