summaryrefslogtreecommitdiffstats
path: root/bin/lts-cve-triage.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-02-04 12:56:24 +0000
committerGuido Günther <agx@sigxcpu.org>2017-02-04 12:56:24 +0000
commit99f3c52e5d84e96eff49ec797cece3b8f76140be (patch)
tree72762122e813489600de48835b003cdffa427921 /bin/lts-cve-triage.py
parent1f7d10a1adf8153e22b5caecde1790a0332f5977 (diff)
lts-cve-triage: Allow to ignore packages with limited support
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@48706 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/lts-cve-triage.py')
-rwxr-xr-xbin/lts-cve-triage.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py
index f0f09d1910..1c757b510e 100755
--- a/bin/lts-cve-triage.py
+++ b/bin/lts-cve-triage.py
@@ -20,7 +20,7 @@ import argparse
import collections
from tracker_data import TrackerData, RELEASES
-from unsupported_packages import UnsupportedPackages
+from unsupported_packages import UnsupportedPackages, LimitedSupportPackages
def colored(x, *args, **kwargs):
return x
@@ -65,6 +65,8 @@ 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('--ignore-limited', action='store_true',
+ help='Ignore packages with limited security support')
parser.add_argument('--filter', nargs='+', choices=[x[0] for x in LIST_NAMES],
help='Only report on specified lists')
parser.add_argument('--exclude', nargs='+', choices=[x[0] for x in LIST_NAMES],
@@ -73,6 +75,9 @@ args = parser.parse_args()
tracker = TrackerData(update_cache=not args.skip_cache_update)
unsupported = UnsupportedPackages(update_cache=not args.skip_cache_update)
+if args.ignore_limited:
+ unsupported = unsupported.union(LimitedSupportPackages(update_cache=not args.skip_cache_update))
+
def add_to_list(key, pkg, issue):
assert key in [l[0] for l in LIST_NAMES]

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