Hi,

On Thu, 2008-09-18 at 18:09 +0100, martin f krafft wrote:
> It would be awesome if I could use bts select to run OR queries. The
> SOAP, scraped from apt-listbugs, would be, e.g.:
[...]
>           <item xsi:type="xsd:string">critical</item>
>           <item xsi:type="xsd:string">grave</item>
>           <item xsi:type="xsd:string">serious</item>
[...]
>          <item xsi:type="xsd:string">ipcalc</item>

With the query modified slightly (as ipcalc doesn't actually have any RC
bugs):

$ bts select package:ipcalc severity:normal severity:wishlist
479877
479956
479958
332468

:)

I thought this was better documented, but I've just checked and there's
only a vague sentence about being able to specify keys multiple times.
In short, if a key is repeated then the results will match any of the
supplied values, whereas each unique key is required to be satisfied;
i.e. the above query is parsed as "package:ipcalc and (severity:normal
or severity:wishlist)".

(I don't believe the underlying SOAP calls in debbugs support queries of
the type "package x or severity y".)

Regards,

Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to