[Secure-testing-commits] r38918 - bin

Mike Gabriel sunweaver at moszumanska.debian.org
Thu Jan 14 21:01:58 UTC 2016


Author: sunweaver
Date: 2016-01-14 21:01:58 +0000 (Thu, 14 Jan 2016)
New Revision: 38918

Modified:
   bin/lts-cve-triage.py
Log:
bin/ltsp-cve-triage.py: Add cmdline option --skip-cache-update (easing my pain on low bandwidth uplinks when running this script more than once in a row).

Modified: bin/lts-cve-triage.py
===================================================================
--- bin/lts-cve-triage.py	2016-01-14 20:53:11 UTC (rev 38917)
+++ bin/lts-cve-triage.py	2016-01-14 21:01:58 UTC (rev 38918)
@@ -50,10 +50,12 @@
     description='Find CVEs to triage')
 parser.add_argument('--skip-dla-needed', action='store_true',
                     help='Skip packages already in dla-needed.txt')
+parser.add_argument('--skip-cache-update', action='store_true',
+                    help='Skip updating the tracker data cache')
 parser.add_argument('--filter', nargs='+', choices=[x[0] for x in LIST_NAMES],
                     help='Only report on specified lists')
 args = parser.parse_args()
-tracker = TrackerData(update_cache=True)
+tracker = TrackerData(update_cache=not args.skip_cache_update)
 
 def add_to_list(key, pkg, issue):
     assert key in [l[0] for l in LIST_NAMES]




More information about the Secure-testing-commits mailing list