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
commit6efe2ad429ea8031ec680592b32cbad64250518a (patch)
treea6f8d1ea17173231e3c9d4e0566111b85ee7d69d /bin
parent26f65b14ed37aa39882163c42661ed1d6d5c7f45 (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