From d753cf01907a36d1b8508423befa26cb9c919297 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 26 Aug 2019 12:19:01 -0400 Subject: [PATCH] Include "Invalid" bugs in cleanup CLI If a bug is invalid in a project then we should probably consider its query for removal in the cleanup command. For example, bug 1663529 and bug 1828244 were both marked Invalid and had no hits but weren't processed by the cleanup command. Change-Id: I7bac9fc169601c86a26565e9fa5b3d72c362a8fc --- elastic_recheck/cmd/cleanup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elastic_recheck/cmd/cleanup.py b/elastic_recheck/cmd/cleanup.py index ff392d11..1877ede3 100644 --- a/elastic_recheck/cmd/cleanup.py +++ b/elastic_recheck/cmd/cleanup.py @@ -18,10 +18,10 @@ from elastic_recheck.cmd import graph from elastic_recheck import elasticRecheck as er -# TODO(mriedem): We may want to include Invalid, Incomplete and Won't Fix in +# TODO(mriedem): We may want to include Incomplete and Won't Fix in # this list since a bug could be reported against multiple projects but only # fixed in one of them and marked Invalid in others. -FIXED_STATUSES = ('Fix Committed', 'Fix Released') +FIXED_STATUSES = ('Invalid', 'Fix Committed', 'Fix Released') class InvalidProjectstatus(Exception):