[Secure-testing-commits] r35259 - bin
Guido Guenther
agx at moszumanska.debian.org
Wed Jul 1 07:57:08 UTC 2015
Author: agx
Date: 2015-07-01 07:57:08 +0000 (Wed, 01 Jul 2015)
New Revision: 35259
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-30 22:34:52 UTC (rev 35258)
+++ bin/lts-cve-triage.py 2015-07-01 07:57:08 UTC (rev 35259)
@@ -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:
+ 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