summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2020-01-04 10:31:12 +0100
committerSalvatore Bonaccorso <carnil@debian.org>2020-01-04 10:31:12 +0100
commit6ab15e70fe48ffa1630d77d9cb1d62ac763eadea (patch)
tree15afc29c6ce39c3c98a0c1089efb231ddf1bfac1 /bin
parentded95c5676d41efd5ffe6458302583562c4d626c (diff)
check-new-issues: Cover upcoming decades for regular expression for issues
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-new-issues4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/check-new-issues b/bin/check-new-issues
index 0e35d72d1c..649d0abcb1 100755
--- a/bin/check-new-issues
+++ b/bin/check-new-issues
@@ -46,7 +46,7 @@ OPTIONS: [ -l [-n <n>] [-f] ]
-l : just list issues
-n <n> : show max n lines of each description (default 2)
-f : show full CVE/list entry as well
--i regexp : use regexp to select todos (default: 'CVE-20(?:0[3-9]|1[0-9])' )
+-i regexp : use regexp to select todos (default: 'CVE-20(?:0[3-9]|[1-9][0-9])' )
-t regexp : use regexp to select todos (default: '^\s+TODO: check$' )
-T : same as -t '^\s+TODO: check' (note the missing $)
-u : also show unfixed issues without bug reference
@@ -99,7 +99,7 @@ my $removedfile="$basedir/data/packages/removed-packages";
my $wnppurl="https://qa.debian.org/data/bts/wnpp_rm";
my $wnppfile="../wnpp_rm";
-my $issue_regexp= $opts{i} || 'CVE-20(?:0[3-9]|1[0-9])';
+my $issue_regexp= $opts{i} || 'CVE-20(?:0[3-9]|[1-9][0-9])';
my $todo_regexp= $opts{t} || ( $opts{T} ? '^\s+TODO: check' : '^\s+TODO: check$' );
my $auto_display_limit = 10;
$auto_display_limit = $opts{a} if defined $opts{a};

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