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

Bug#694979: debbugs: get_bugs() should allow specifying binary versions of packages



Control: block 536613 by -1
Control: unblock 536613 by 553661


On Thu, 2 Jan 2014 10:38:59 +0100 Francesco Poli wrote:

[...]
> On Sun, 02 Dec 2012 22:38:50 +0100 Francesco Poli (wintermute) wrote:
> 
> > Package: debbugs
> > Severity: wishlist
> > 
> [...]
> > I would need to call get_bugs() so that it returned an array with
> > all the (unarchived) bug-numbers that apply to the specified binary
> > version of one of the mentioned binary packages and have one of
> > the mentioned severities.
> > Something like:
> > 
> > get_bugs('severity', ["critical", "grave"],
> >          'package', ["pkg1/x.y-z", "pkg2", "pkg3/a.b.c-d"])
> > 
> > which would request the bugs that apply to binary version x.y-z of
> > binary package pkg1, the bugs that apply to any version of binary
> > package pkg2, and the bugs that apply to binary version a.b.c-d of
> > binary package pkg3.
> [...]
> >
> > It would be really really great, if you could implement a way to obtain
> > what I described with one single get_bugs() SOAP request.
> [...]
> 
> Hello,
> have you thought about this feature request?
> Is it feasible?
> 
> It would be really really awesome, if you could implement it!
> Please let me know.
> 
> Thanks for your time!

Hello again,
I've just realized that this feature request for the BTS SOAP interface
could help solving not two (#257873 and #693291), but _three_ distinct
bugs of apt-listbugs (the third bug is #536613).

The fact is that the enhanced get_bugs() I would need would anyway have
to internally map binary packages and binary versions to source
packages and source versions.
During this process, it would anyway find any non-existing binary
packages among the provided arguments. If get_bugs() also returned a
list of non-existing binary packages, it would be a great way to solve
#536613.

I am therefore changing my feature request into the following one:
I would need to call get_bugs() so that it returned an array with
two elements. The first element should be an array containing
all the (unarchived) bug-numbers that apply to the specified binary
version of one of the mentioned binary packages and have one of
the mentioned severities. The second element should a possibly empty
array containing all non-existing binary packages (among the mentioned
ones).
Something like:

get_bugs('severity', ["critical", "grave"],
         'package', ["pkg1/x.y-z", "pkg2", "pkg3/a.b.c-d"])

which would request the bugs that apply to binary version x.y-z of
binary package pkg1, the bugs that apply to any version of binary
package pkg2, and the bugs that apply to binary version a.b.c-d of
binary package pkg3, and would also return an array containing the
non-existing packages among {pkg1, pkg2, pkg3}.


I really hope that this may be implemented, since it would allow me to
significantly improve apt-listbugs.
Please let me know what you think.
Thanks for your time!

Bye.


-- 
 http://www.inventati.org/frx/
 fsck is a four letter word...
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpJSdf9Kqn2p.pgp
Description: PGP signature


Reply to: