From: Don Armstrong Date: Thu, 17 Aug 2006 03:32:35 +0000 (-0700) Subject: * Add links to all blocking bugs X-Git-Tag: release/2.6.0~599^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6e8cad5f615fc4398c24ff8a1fe41624f6a187f9;p=debbugs.git * Add links to all blocking bugs --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index a569155..be37525 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -405,9 +405,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;