]> git.donarmstrong.com Git - bugscan.git/commitdiff
Apply the "default testing/unstable/experimental" tags strategy to
authorSteinar H. Gunderson <sesse@rietz>
Sat, 10 Mar 2007 12:42:52 +0000 (12:42 +0000)
committerSteinar H. Gunderson <sesse@rietz>
Sat, 10 Mar 2007 12:42:52 +0000 (12:42 +0000)
pseudo-packages too.

scanlib.pm

index 25aafcd9ec7a139145da1319041da561191c7a39..b1bd14cedbd6a006156419b58aafa28ee89dd4da 100644 (file)
@@ -215,6 +215,13 @@ sub scanspooldir() {
                $disttags{'testing'}      = grep(/^etch$/, @tags);
                $disttags{'unstable'}     = grep(/^sid$/, @tags);
                $disttags{'experimental'} = grep(/^experimental$/, @tags);
                $disttags{'testing'}      = grep(/^etch$/, @tags);
                $disttags{'unstable'}     = grep(/^sid$/, @tags);
                $disttags{'experimental'} = grep(/^experimental$/, @tags);
+                       
+               # default according to dondelelcaro 2006-11-11
+               if (!$disttags{'oldstable'} && !$disttags{'stable'} && !$disttags{'testing'} && !$disttags{'unstable'} && !$disttags{'experimental'}) {
+                       $disttags{'testing'} = 1;
+                       $disttags{'unstable'} = 1;
+                       $disttags{'experimental'} = 1;
+               }
                
                my $relinfo = "";
                if (defined($section{$bug->{'package'}}) && $section{$bug->{'package'}} eq 'pseudo') {
                
                my $relinfo = "";
                if (defined($section{$bug->{'package'}}) && $section{$bug->{'package'}} eq 'pseudo') {
@@ -225,13 +232,6 @@ sub scanspooldir() {
                        }
                        next if (length($bug->{'done'}));
                } else {
                        }
                        next if (length($bug->{'done'}));
                } else {
-                       # default according to dondelelcaro 2006-11-11
-                       if (!$disttags{'oldstable'} && !$disttags{'stable'} && !$disttags{'testing'} && !$disttags{'unstable'} && !$disttags{'experimental'}) {
-                               $disttags{'testing'} = 1;
-                               $disttags{'unstable'} = 1;
-                               $disttags{'experimental'} = 1;
-                       }
-
                        # only bother to check the versioning status for the distributions indicated by the tags 
                        for my $dist qw(oldstable stable testing unstable experimental) {
                                local $SIG{__WARN__} = sub {};
                        # only bother to check the versioning status for the distributions indicated by the tags 
                        for my $dist qw(oldstable stable testing unstable experimental) {
                                local $SIG{__WARN__} = sub {};