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

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

On Mon, Nov 7, 2011 at 03:26, Don Armstrong <don@debian.org> 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?

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

Reply to: