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

Bug#377520: please consider more output from get_bugs

Package: debbugs

--- Please enter the report below this line. ---

I think it would be useful to add an option to "get_bugs" (or just a
"get_bugs2"), so that it does not just return the bugnumbers but also
the output of get_status(bugnumber).

Imagine the following usecase: In reportbug-ng I'm currently getting all
my information via a normal URL-query like:


this will return HTML code where I parse the bugnumbers, severities,
summaries, etc. This is ugly and error prone and SOAP is the answer --
but: with SOAP I have to do something like:

	list = get_bugs("package", "gtk-qt-engine")
	for elem in list:

if get_bugs returns 200 bugs, than I'd have to call get_status 200 times
which could take minutes since a single call usually takes a few seconds.

I really like the SOAP idea, but before it really becomes usefull for me
(and rng), I need something equivalent to the output of



PS: Why do I have to set the soapaction before a different call of
server.get_foo? Haven't I already set the namespace in the C'tor of the
SOAPProxy? This seems a bit strange to me.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.18-4-686

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.de.debian.org
    1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                   (Version) | Installed
perl5                               |
 OR perl                            | 5.8.8-7
exim                                |
 OR mail-transport-agent            |
libmailtools-perl                   | 1.74-1
ed                                  | 0.2-20
libmime-perl                        | 5.420-1
libio-stringy-perl                  | 2.110-2

Bastian Venthur                                      http://venthur.de
Debian Developer                                 venthur at debian org

Reply to: