From a1266704db4d11af42649e04418b47ad485dca9a Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Mon, 15 Jul 2019 15:12:41 -0400 Subject: [PATCH 1/2] Add "maintenance" as an ignored tag The "maintenance" tag is often used as an alternative to "cleanup" or "refactoring" --- src/Maintained/Statistics/StatisticsComputer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Maintained/Statistics/StatisticsComputer.php b/src/Maintained/Statistics/StatisticsComputer.php index 3e3d843..ff385f9 100644 --- a/src/Maintained/Statistics/StatisticsComputer.php +++ b/src/Maintained/Statistics/StatisticsComputer.php @@ -40,6 +40,7 @@ class StatisticsComputer implements StatisticsProvider 'cleanup', 'discussion', 'meta', + 'maintenance', ]; /** @@ -58,6 +59,7 @@ class StatisticsComputer implements StatisticsProvider '.*cleanup.*', '.*discussion.*', '.*meta.*', + '.*maintenance.*', '(.*[\s\.-])?wip', '(.*[\s\.-])?rfc', '(.*[\s\.-])?poc', -- 2.39.5 From 8a9ebc4f225471808b7d2fecf17919113c40cf4b Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Mon, 15 Jul 2019 15:14:19 -0400 Subject: [PATCH 2/2] Remove "refactoring" duplicate in excluded labels --- src/Maintained/Statistics/StatisticsComputer.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Maintained/Statistics/StatisticsComputer.php b/src/Maintained/Statistics/StatisticsComputer.php index ff385f9..6205fd2 100644 --- a/src/Maintained/Statistics/StatisticsComputer.php +++ b/src/Maintained/Statistics/StatisticsComputer.php @@ -31,7 +31,6 @@ class StatisticsComputer implements StatisticsProvider 'refactoring', 'duplicate', 'tests', - 'refactoring', 'suggestion', 'wip', 'rfc', @@ -54,7 +53,6 @@ class StatisticsComputer implements StatisticsProvider '.*duplicate.*', '.*test.*', '.*suggestion.*', - '.*refactoring.*', '.*question.*', '.*cleanup.*', '.*discussion.*', -- 2.39.5