[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#791479: broken bts-wnpp_rm (and others)

Package: qa.debian.org
Severity: important
Tags: patch

The changes in the bts host triggered quite some breakages here and there, that
got workarounded by bartm. Those left a broken thing anyway.

This (last, hopefully) breakages causes files like
https://qa.debian.org/data/bts/wnpp_rm to be empty.

IMHO this is also the root cause of stuff like #791380, but not being sure I
file a new bug.

Let me copy-paste from #-qa

[11:29:41 AM] <mapreri> oh, i got why https://qa.debian.org/data/bts/wnpp_rm is
[11:29:59 AM] <mapreri> gosh, bad perl
[11:39:58 AM] <mapreri> ok, that's enough, though my perl knowledge is < 0, i
had to curse only to write that thing syntactically correctly. Though given
that's temporary until a fixed devscripts is used imho is fine. here i even
tried removing that temporary thing and i have the latest devscript from sid,
but it still errors out, so i think something else is still needed in
[11:40:22 AM] <mapreri> http://paste.debian.net/279381 that is. this is totally
stupid, but meh, it does the job

mattia@chase ~/devel/qa.d.o/trunk (svn)-[trunk:3425] % svn diff
Index: data/bts/bts-wnpp_rm
--- data/bts/bts-wnpp_rm    (revision 3425)
+++ data/bts/bts-wnpp_rm    (working copy)
@@ -68,7 +68,8 @@
 #my $status = Devscripts::Debbugs::status (\@bugs);
-my $status = devscripts_debbugs_status( \@bugs );
+my @bugs_tmp = @bugs;
+my $status = devscripts_debbugs_status( \@bugs_tmp );
 for my $bugnr (@bugs) {
    my $title = $status->{$bugnr}->{subject};

This is enough for a fix, but if somebody want to fix this better, i guess he's
welcome to.

                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540         .''`.
more about me:  http://mapreri.org                                 : :'  :
Launchpad user: https://launchpad.net/~mapreri                     `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia     `-

Attachment: signature.asc
Description: Digital signature

Reply to: