[Git][security-tracker-team/security-tracker][master] lts-cve-triage.py: don't print multiple screen pages of linux CVEs

Sylvain Beucler (@beuc) gitlab at salsa.debian.org
Tue Jun 18 19:43:16 BST 2024



Sylvain Beucler pushed to branch master at Debian Security Tracker / security-tracker


Commits:
6c9e4fce by Sylvain Beucler at 2024-06-18T20:42:47+02:00
lts-cve-triage.py: don't print multiple screen pages of linux CVEs

- - - - -


1 changed file:

- bin/lts-cve-triage.py


Changes:

=====================================
bin/lts-cve-triage.py
=====================================
@@ -193,7 +193,13 @@ for key, desc in LIST_NAMES:
             colored(pkg, 'red', attrs=('bold', 'underline')),
             colored('{}source-package/{}'.format(TRACKER_URL, pkg), 'blue'),
         ))
+        nb_issues = 0
         for x in sorted(lists[key][pkg], key=lambda x: x.name):
+            # limit very large lists such as linux'
+            nb_issues += 1
+            if nb_issues > 10:
+                print('  - ...')
+                break
             url = '{}{}'.format(TRACKER_URL, x.name)
             print('  - {:<16s}  {} {}'.format(
                 x.name,



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/6c9e4fce90cfeb5b5cc559fda88502739f9e6f73

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/6c9e4fce90cfeb5b5cc559fda88502739f9e6f73
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20240618/ece63a69/attachment.htm>


More information about the debian-security-tracker-commits mailing list