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

Bug#647801: marked as done (SOAP API get_bugs() doesn't show bugs affecting the package)

Your message dated Mon, 7 Nov 2011 23:32:08 +0100
with message-id <CAPdtAj199oQ9u4F4Fc2eWNPtjue3-oWj=dgjjxfPOp5XSDXK9g@mail.gmail.com>
and subject line Re: Bug#647801: SOAP API get_bugs() doesn't show bugs affecting the package
has caused the Debian Bug report #647801,
regarding SOAP API get_bugs() doesn't show bugs affecting the package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

647801: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647801
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: debbugs
Severity: normal

it seems that get_bugs() doesn't show the bugs affecting the package we're
querying: i've taken 645738 as example, which is reported against libklibc-dev
and affects rootskel, then I used the SOAP API to query rootskel, but:

>>> import SOAPpy
>>> url = 'http://bugs.debian.org/cgi-bin/soap.cgi'
>>> namespace = 'Debbugs/SOAP'
>>> server = SOAPpy.SOAPProxy(url, namespace)
>>> '645738' in server.get_bugs("package", "rootskel")
>>> '645738' in server.get_bugs("src", "rootskel")

while it's correctly displayed on the webpage


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
On Mon, Nov 7, 2011 at 23:24, Don Armstrong <don@debian.org> wrote:
> On Mon, 07 Nov 2011, Sandro Tosi wrote:
>> Is there something that can get me bugs in a a package directly
>> submitted against it + affecting it? I've tried
>> >>> server.get_bugs("package", "rootskel", 'affects', 'rootskel')
>> []
>> probably because it's an intersection of the two sets? Is
>> >>> server.get_bugs("package", "rootskel") + server.get_bugs('affects', 'rootskel')
>> the only way?
> That's actually how the BTS does it itself, so yeah, it's the only
> way.

Perfect, I'll this way in reportbug too. Thanks for your time.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--- End Message ---

Reply to: