← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] autopkgtest-cloud:d-a-r-devel-first into autopkgtest-cloud:master

 

Brian Murray has proposed merging autopkgtest-cloud:d-a-r-devel-first into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/459753

While it was discussed to have download-all-results take an argument for a specific releases to download results for it would also be good if when the script is run for all releases that the development release is downloaded first.
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of autopkgtest-cloud:d-a-r-devel-first into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/download-all-results b/charms/focal/autopkgtest-web/webcontrol/download-all-results
index 436c806..92dfa0a 100755
--- a/charms/focal/autopkgtest-web/webcontrol/download-all-results
+++ b/charms/focal/autopkgtest-web/webcontrol/download-all-results
@@ -236,7 +236,7 @@ if __name__ == "__main__":
             UbuntuDistroInfo().supported() + UbuntuDistroInfo().supported_esm()
         )
     )
-    releases.sort(key=UbuntuDistroInfo().all.index)
+    releases.sort(key=UbuntuDistroInfo().all.index, reverse=True)
 
     config = configparser.ConfigParser()
     config.read(os.path.expanduser("~ubuntu/autopkgtest-cloud.conf"))