summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2021-04-30 14:17:31 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2021-04-30 14:31:02 +0200
commite35cd35aada2c0ca461ad4f7a4542e49dc0a6f51 (patch)
treeaa5a455fc920e504ddd4dbd25121aa3f979b0102 /bin
parent5744488aeb36816df043e29bf39daa246f51568f (diff)
tracker_service: also sort CVEs on stable-like pages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tracker_service.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/tracker_service.py b/bin/tracker_service.py
index 3065715a04..4092a58bd9 100755
--- a/bin/tracker_service.py
+++ b/bin/tracker_service.py
@@ -712,7 +712,8 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
self.db.cursor().execute(
"""SELECT package, bug, section, urgency, vulnerable, remote, no_dsa, no_dsa_reason
FROM %s_status
- WHERE (bug LIKE 'CVE-%%' OR bug LIKE 'TEMP-%%')""" % release):
+ WHERE (bug LIKE 'CVE-%%' OR bug LIKE 'TEMP-%%')
+ ORDER BY package, bug COLLATE version""" % release):
if bf.urgencyFiltered(urgency, vulnerable):
continue
if bf.remoteFiltered(remote):
@@ -768,7 +769,8 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
in self.db.cursor().execute(
"""SELECT package, bug, section, urgency, vulnerable,
unstable_vulnerable, testing_security_fixed, remote, no_dsa
- FROM testing_status"""):
+ FROM testing_status
+ ORDER BY package, bug COLLATE version"""):
if bf.urgencyFiltered(urgency, vulnerable):
continue
if bf.remoteFiltered(remote):

© 2014-2024 Faster IT GmbH | imprint | privacy policy