[Secure-testing-commits] r35170 - bin
Guido Guenther
agx at moszumanska.debian.org
Fri Jun 26 11:47:02 UTC 2015
Author: agx
Date: 2015-06-26 11:47:02 +0000 (Fri, 26 Jun 2015)
New Revision: 35170
Modified:
bin/lts-cve-triage.py
Log:
lts-cve-triage: allow to skip packages already in dla-needed.txt
With lots of packages in dla-needed.txt it's easier to focus on CVEs of
packages that are not being worked on at all.
Modified: bin/lts-cve-triage.py
===================================================================
--- bin/lts-cve-triage.py 2015-06-26 11:09:55 UTC (rev 35169)
+++ bin/lts-cve-triage.py 2015-06-26 11:47:02 UTC (rev 35170)
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this file. If not, see <https://www.gnu.org/licenses/>.
+import argparse
import collections
from tracker_data import TrackerData, RELEASES
@@ -39,13 +40,22 @@
lists = collections.defaultdict(lambda: collections.defaultdict(lambda: []))
+parser = argparse.ArgumentParser(
+ description='Find CVEs to triage')
+parser.add_argument('--skip-dla-needed', action='store_true',
+ help='Skip packages already in dla-needed.txt')
+args = parser.parse_args()
+
def add_to_list(key, pkg, issue):
assert key in [l[0] for l in LIST_NAMES]
lists[key][pkg].append(issue)
for pkg in tracker.iterate_packages():
+ if args.skip_dla_needed and pkg in tracker.dla_needed.keys():
+ continue
+
for issue in tracker.iterate_pkg_issues(pkg):
status_in_lts = issue.get_status('lts')
status_in_next_lts = issue.get_status('next_lts')
More information about the Secure-testing-commits
mailing list