Re: Bugs.d.o breakage
Hi,
there's even more breakage:
I think I know why bugscan is (still) broken.
Debbugs::Config strong_severities is probably nested array or
something like that. If you add print "@priorities\n"; to end of
bugcfg.pm it prints: ARRAY(0x26fc970) instead of list of priorities,
then the loop checking if the bug priority is RC in scanspooldir fails
to compare ARRAY(0x26fc970) with 'grave' or 'serious' and skip the bug
altogether.
--- /srv/bugs.debian.org/bugscan/bugcfg.pm 2011-06-15 18:15:12.000000000 +0000
+++ bugcfg.pm 2011-06-16 10:42:46.000000000 +0000
@@ -24,7 +24,8 @@ $debian_ftproot = "/org/bugs.debian.org/
# alpha excluded to RM request
our @architectures = ( "i386", "amd64", "sparc", "powerpc", "armel",
"hppa", "ia64", "mips", "mipsel", "s390" );
our @sections = ( "main", "contrib", "non-free" );
-our @priorities = $config{strong_severities};
+my $strong_severities = $config{strong_severities};
+our @priorities = @$strong_severities;
our @skiptags = ( );
1;
Somebody with more perl knowledge than me could rewrite it much nicer,
but this just works... (and @$config{strong_severities} complain).
Also hppa is not in the main archive anymore...
O.
--
Ondřej Surý <ondrej@sury.org>
Reply to: