Bug#694979: debbugs: get_bugs() should allow specifying binary versions of packages
Francesco Poli <[email protected]>
| Newsgroups | gmane.linux.debian.devel.debbugs |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCAAGBQJTmh04AAoJED4cJ+Efab/+ACwP/jzMoSLGKx0nXK8tR8OSMR4z 17yUoAopfcjGOlX1KSUlwoBIGhrWSeS7Rqyl8h4Cv8cYSavxLPdS7jcA1A/s3Bfk 9/lnJEEzKKF9qqNLNvrnBkHpizfbvCqCgkp9DQt2LujkMF4Wz7Ib5nkaRWKvjyxt 4M50G5eZlnyeexP2bRmWoOns5TGOdrc8k7OVMqi0ss+12zAZImRtoLREua4w96/X h7FEZdWk/tkJ/bKHXO/lCNMl67UHpkkOoAOBBrWk4J7yPybHI4240FjyMs9uLpen +hzcWAd+9gJnhmacCK5q8ZKU6p/Jqy+Yl7gxb9SrMKTF/88G+2mgN71Xd6ww0v2K 1RoQGKuBl1EVoYMhpKUP1rX4W/92w0829yg0/DXq//ErWUKVb9bDCf/LDBwgkaUz ZmM3BNIut+EQIrkIssG9nz+bIxQS/jwl9VuChOD6jXQ0Ng9l+H0HPL/PThYWhLXP QKR87hv3csmvmbrmmBwtUqDgygpJyPCKwiww3fOHTz+cqgXwDee88zT/2MpOGIcb lf9x1SdD0Xc9hh1Z9B7Rv5th4JwU9P0mJn0GtlO/351qsfMBD/hUJsNGb5Fhh2iB sjfsqAxzRGom6ag1mcwjacPqbHH0y/5pzViC3FB8lyFHvzyN4Ax0ko5nUboKge1x NXRqQHS87e9NlMz+9/xh =TLZu -----END PGP SIGNATURE-----