change bugscan to acocunt for the release of wheezy
authorDon Armstrong <don@donarmstrong.com>
Sun, 5 May 2013 16:16:03 +0000 (09:16 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 5 May 2013 16:16:03 +0000 (09:16 -0700)
bugcounts
bugreport
dohtml
makepost
scanlib.pm

index 8336c90..1d5fb25 100755 (executable)
--- a/bugcounts
+++ b/bugcounts
@@ -49,7 +49,7 @@ for my $bug (values %scanlib::bugs) {
        $total++;
        $pendingcount++ if ($bug->{'pending'});
        $patchcount++ if ($bug->{'patch'});
-       $ignorecount++ if ($bug->{'wheezy-ignore'} || $bug->{'squeeze-ignore'});
+       $ignorecount++ if ($bug->{'wheezy-ignore'} || $bug->{'jessie-ignore'});
        $worrycount++ if (scanlib::check_worry($bug));
        $stablecount++ if (scanlib::check_worry_stable($bug));
 }
index 49bcc92..c85f0e6 100755 (executable)
--- a/bugreport
+++ b/bugreport
@@ -103,7 +103,7 @@ sub MakeBuglist() {
                                } elsif ($scanlib::bugs{$nr}->{'help'}) {
                                        print '<span style="color: #ffaa30">';
                                }
-                               print "<strike>" if ($scanlib::bugs{$nr}->{'wheezy-ignore'} || $scanlib::bugs{$nr}->{'squeeze-ignore'});
+                               print "<strike>" if ($scanlib::bugs{$nr}->{'wheezy-ignore'} || $scanlib::bugs{$nr}->{'jessie-ignore'});
                                print "<em class=\"worry\">" if $worry;
                                ($sect=$nr) =~ s/([0-9]{2}).*/$1/;
                                printf "<A NAME=\"$nr\"></A>  %s [%s] [%s] %s\n", scanlib::wwwnumber($nr),
@@ -111,7 +111,7 @@ sub MakeBuglist() {
                                        scanlib::get_relinfo($scanlib::bugs{$nr}), 
                                        scanlib::htmlsanit($scanlib::bugs{$nr}->{'subject'});
                                print "</em>" if $worry;
-                               print "</strike>" if ($scanlib::bugs{$nr}->{'wheezy-ignore'} || $scanlib::bugs{$nr}->{'squeeze-ignore'});
+                               print "</strike>" if ($scanlib::bugs{$nr}->{'wheezy-ignore'} || $scanlib::bugs{$nr}->{'jessie-ignore'});
                        } else {
                                printf("  %-6d [%s] [%s] %s\n", $nr, scanlib::get_taginfo($scanlib::bugs{$nr}),
                                        scanlib::get_relinfo($scanlib::bugs{$nr}), $scanlib::bugs{$nr}->{'subject'});
@@ -146,7 +146,7 @@ sub MakeStatistics() {
                     $seen_bugs{$nr} = 1;
                        $pendingtotal++ if ($scanlib::bugs{$nr}->{'pending'});
                        $patchtotal++ if ($scanlib::bugs{$nr}->{'patch'});
-                       $ignoretotal++ if ($scanlib::bugs{$nr}->{'wheezy-ignore'} || $scanlib::bugs{$nr}->{'squeeze-ignore'});
+                       $ignoretotal++ if ($scanlib::bugs{$nr}->{'wheezy-ignore'} || $scanlib::bugs{$nr}->{'jessie-ignore'});
                        $worrytotal++ if (scanlib::check_worry($scanlib::bugs{$nr}));
                        $stabletotal++ if (scanlib::check_worry_stable($scanlib::bugs{$nr}));
 
diff --git a/dohtml b/dohtml
index 8a1055f..d39128c 100755 (executable)
--- a/dohtml
+++ b/dohtml
@@ -51,12 +51,12 @@ tags</a>:
    <li><strong>R</strong>: unreproducible</li>
    <li><strong>S</strong>: security</li>
    <li><strong>U</strong>: upstream</li>
-   <li><strong>I</strong>: wheezy-ignore or squeeze-ignore</li>
+   <li><strong>I</strong>: wheezy-ignore or jessie-ignore</li>
 </ul>
 
 <p>
 The second set of tags indicate what releases a bug applies to:
-O for oldstable (lenny), S for stable (squeeze), T for testing (wheezy),
+O for oldstable (squeeze), S for stable (wheezy), T for testing (jessie),
 U for unstable (sid) or E for experimental.
 
 <p>
index cfe6937..ae98dc9 100755 (executable)
--- a/makepost
+++ b/makepost
@@ -20,10 +20,10 @@ Explanation for bug tags:
    R  unreproducible
    S  security
    U  upstream
-   I  etch-ignore
+   I  jessie-ignore or wheezy-ignore
 
 The second set of tags indicate what releases a bug applies to:
-O for oldstable (lenny), S for stable (squeeze), T for testing (wheezy),
+O for oldstable (squeeze), S for stable (wheezy), T for testing (jessie),
 U for unstable (sid) or E for experimental.
 
 ------------------------------------------------------------------------------
index 2982284..d11976a 100644 (file)
@@ -183,9 +183,9 @@ sub scanspooldir {
                next if $skip==1;
        
                my %disttags = ();      
-               $disttags{'oldstable'}    = grep(/^lenny$/, @tags);
-               $disttags{'stable'}       = grep(/^squeeze$/, @tags);
-               $disttags{'testing'}      = grep(/^wheezy$/, @tags);
+               $disttags{'oldstable'}    = grep(/^squeeze$/, @tags);
+               $disttags{'stable'}       = grep(/^wheezy$/, @tags);
+               $disttags{'testing'}      = grep(/^jessie$/, @tags);
                $disttags{'unstable'}     = grep(/^sid$/, @tags);
                $disttags{'experimental'} = grep(/^experimental$/, @tags);
                        
@@ -234,7 +234,7 @@ sub scanspooldir {
                        next if !$affects_any;
                }
 
-               for my $keyword (qw(pending patch help moreinfo unreproducible security upstream etch-ignore lenny-ignore squeeze-ignore wheezy-ignore)) {
+               for my $keyword (qw(pending patch help moreinfo unreproducible security upstream squeeze-ignore wheezy-ignore jessie-ignore)) {
                        $bi->{$keyword} = grep(/^$keyword$/, @tags);
                }
 
@@ -326,13 +326,13 @@ sub wwwname() {
 sub check_worry {
        my ($bi) = @_;
 
-       return ($bi->{'testing'} && !$bi->{'wheezy-ignore'});
+       return ($bi->{'testing'} && !$bi->{'jessie-ignore'});
 }
 
 sub check_worry_stable {
        my ($bi) = @_;
 
-       return ($bi->{'stable'} && !$bi->{'squeeze-ignore'});
+       return ($bi->{'stable'} && !$bi->{'wheezy-ignore'});
 }
 
 sub check_worry_unstable {
@@ -352,7 +352,7 @@ sub get_taginfo {
        $taginfo .= $bi->{'unreproducible'} ? "R" : " ";
        $taginfo .= $bi->{'security'}       ? "S" : " ";
        $taginfo .= $bi->{'upstream'}       ? "U" : " ";
-       $taginfo .= ($bi->{'wheezy-ignore'} || $bi->{'squeeze-ignore'}) ? "I" : " ";
+       $taginfo .= ($bi->{'wheezy-ignore'} || $bi->{'jessie-ignore'}) ? "I" : " ";
 
        return $taginfo;
 }