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

Sandro Tosi <[email protected]>
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <CAPdtAj2-SXpNWxNxNuRMaKwi=XF960SqYg192cZ-hAvb9Zjssw__14194.22112308$1320703635$gmane$org@mail.gmail.com>
On Mon, Nov 7, 2011 at 03:26, Don Armstrong <[email protected]> wrote:
> On Sun, 06 Nov 2011, Sandro Tosi wrote:
>> 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:
>
> You want server.get_bugs("affects","rootskel").

Ah ok, I've updated http://wiki.debian.org/DebbugsSoapInterface then
(or is there a better place for the actual SOAP doc?)

> "package" and "src"
> retrieve bugs in a package, not bugs affecting a package.

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?

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.