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

Bug#541081: qa.debian.org displays non-existing versions of dbus



tag 541081 + patch
thanks

On Tue, Aug 11, 2009 at 05:29:32PM +0200, Michael Biebl wrote:
> please take a look at [1], specifically the dbus row.
> The website displays incorrect information, like
> a dbus_1.0.2-1+etch3 version in NEW for testing and unstable, or
> a dbus_1.2.1-5+lenny1 for p-u-new in Stable.
> 
> Nedless to say, that there is no dbus_1.0.2-1+etch3 in NEW, and
> dbus_1.2.1-5+lenny1 has long been accepted for stable.

If the information is stale, then that's a problem on ftp-master's end
since DDPO simply parses ftp-master.d.o/new.822.  The relevant stanzas
being parsed are:

Source: dbus
Version: 1.2.1-5+lenny1
Architectures: source, all, alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, sparc
Age: 3 weeks
Last-Modified: 1247908646
Queue: proposedupdates
Maintainer: Debian/ARM Build Daemon <buildd@toffee.einval.com>
Changed-By: Michael Biebl <biebl@debian.org>
Distribution: proposed-updates
Fingerprint: FE2AAE4649A5C2F7E7E4004C2208A1008C55A01C
Closes: #532720
Changes-File: dbus_1.2.1-5+lenny1_alpha.changes

Source: dbus
Version: 1.0.2-1+etch3
Architectures: source, all, alpha, amd64, arm, hppa, i386, mips, mipsel, powerpc, sparc
Age: 3 weeks
Last-Modified: 1247908624
Queue: oldproposedupdates
Maintainer: Debian Build Daemon <buildd@cats.kyllikki.org>
Changed-By: Michael Biebl <biebl@debian.org>
Distribution: oldstable-proposed-updates
Fingerprint: FE2AAE4649A5C2F7E7E4004C2208A1008C55A01C
Closes: #532720
Changes-File: dbus_1.0.2-1+etch3_amd64.changes

As for the presentation of the data on DDPO, the etch update is being
shown in sid because the parser doesn't recognize
"oldstable-proposed-updates" as a distribution name.  Similarly, the
text for the link says "new:" instead of "os-p-u:" because
"oldproposedupdates" isn't recognized as a queue.  Attached patch should
fix these problems.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>
Index: extract_incoming.pl
===================================================================
--- extract_incoming.pl	(revision 2259)
+++ extract_incoming.pl	(working copy)
@@ -156,8 +156,8 @@
     #$uploader = $uid{$uploader} if $uid{$uploader};
     $uploader .= '@debian.org' unless $uploader =~ /@/;
 
-    my $d = ($distribution eq "oldstable") ? 'o' :
-	    ($distribution eq "stable") ? 's' :
+    my $d = ($distribution =~ m/^oldstable(?:-proposed-updates)$/) ? 'o' :
+	    ($distribution =~ m/^(?:stable|proposed-updates)$/) ? 's' :
 	    ($distribution eq "testing") ? 't' :
 	    ($distribution eq "experimental") ? 'e' : 'u'; # map unknown to unstable
     if ($queue eq "accepted") { # incoming
@@ -169,7 +169,7 @@
 	$db{"pu_new:$source"} = "p-u-new:&nbsp;$version";
 	$db{"pu_new-title:$source"} = mouseover_date($date, $changedby, $uploader);
 	$db{"pu_new-url:$source"} = "http://release.debian.org/proposed-updates/stable_diffs/"; . uri_escape ("${source}_$noepochversion.debdiff");
-    } elsif ($queue eq "oldstable-proposedupdates") { # proposed oldstable updates
+    } elsif ($queue eq "oldproposedupdates") { # proposed oldstable updates
 	$db{"os-pu_new:$source"} = "os-p-u-new:&nbsp;$version";
 	$db{"os-pu_new-title:$source"} = mouseover_date($date, $changedby, $uploader);
 	$db{"os-pu_new-url:$source"} = "http://release.debian.org/proposed-updates/oldstable_diffs/"; . uri_escape ("${source}_$noepochversion.debdiff");

Attachment: signature.asc
Description: Digital signature


Reply to: