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

Bug#458822: debbugs: Please provide a way of relating bugs with source package when doing SOAP queries



Package: debbugs
Severity: wishlist

[01:12:52] <dondelelcaro> Tincho: what exactly are you trying to do?
[01:13:18] <Tincho> dondelelcaro: I maintain the scripts that build this
page: http://pkg-perl.alioth.debian.org/cgi-bin/qareport.cgi
[01:13:52] <Tincho> for that, I construct a list of source packages I'm
interested in, and then call get_bugs(src => \@list)
[01:14:28] <Tincho> then, for retrieving the status of each bug,
get_status(@list_of_bugs)
[01:14:57] <dondelelcaro> oh, and you just want to know which bugs were
retunred by which source package
[01:15:04] <Tincho> dondelelcaro: exactly

There are two things that could be done: adding a "source" key to the
hash returned by get_status, or enabling get_bugs to return a hash
indexed on the requested source package. The latter seems easier to
implement, although it would mean that I still have to make many
queries; the former would be ideal for me: two queries would return all
the information I need.

Nowadays I'm just doing the two queries thing, because 99% of the perl
modules have the same source package name as the (only) binary package.
But I've just found that this wasn't working for the few packages that
differ.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (901, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: