Bug#647801: SOAP API get_bugs() doesn't show bugs affecting the package
On Mon, Nov 7, 2011 at 03:26, Don Armstrong d...@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? Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#647801: SOAP API get_bugs() doesn't show bugs affecting the package
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. Don Armstrong -- Filing a bug is probably not going to get it fixed any faster. -- Anthony Towns http://www.donarmstrong.com http://rzlab.ucr.edu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#647801: SOAP API get_bugs() doesn't show bugs affecting the package
Source: debbugs Severity: normal Hello, 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) False '645738' in server.get_bugs(src, rootskel) False while it's correctly displayed on the webpage http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=rootskel;dist=unstable Regards, Sandro -- 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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#647801: SOAP API get_bugs() doesn't show bugs affecting the package
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). package and src retrieve bugs in a package, not bugs affecting a package. Don Armstrong -- You think to yourself, hey, it's a test tube, for God's sake. Pretty soon, though, the rush from a test tube isn't enough. You want to experiment more and more. Then before you know it, you're laying in the corner of a lab somewhere with a Soxhlet apparatus in one hand, a three neck flask in the other, strung out and begging for grant money. -- Tim Mitchell, 1994 Ig Nobel Chemistry Prize Speech http://www.donarmstrong.com http://rzlab.ucr.edu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org