From: Don Armstrong Date: Thu, 17 Aug 2006 03:10:01 +0000 (-0700) Subject: * Add links to all blocking bugs X-Git-Tag: release/2.6.0~585^2^2~90 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ca8e5a8ef15d54c9e03ddc01a282b20278378bea;p=debbugs.git * Add links to all blocking bugs --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 54b49175..182d2b8a 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -383,9 +383,9 @@ sub handle_record{ # Add links to merged bugs $output =~ s{(?<=Merged )([\d\s]+)(?=\.)}{join(' ',map {bug_links($_)} (split /\s+/, $1))}eo; # Add links to blocked bugs - $output =~ s{(?<=Blocking bugs)(?:(of )(\d+))?( (?:added|set to|removed):\s+)([\d\s]+)} + $output =~ s{(?<=Blocking bugs)(?:(of )(\d+))?( (?:added|set to|removed):\s+)([\d\s\,]+)} {(defined $2?$1.bug_links($2):'').$3. - join(' ',map {bug_links($_)} (split /\s+/, $4))}eo; + join(' ',map {bug_links($_)} (split /\,?\s+/, $4))}eo; # Add links to reassigned packages $output =~ s{(Bug reassigned from package \`)([^\']+)(' to \`)([^\']+)(')} {$1.q($2).$3.q($4).$5}eo;