Hi,
I like python-bugzilla and was wondering if there was a way to do 'Creation date: less than or equal to DATE'? Boolean charts perhaps? If so, could someone illustrate? I'm on Bugzilla 4.2.1 with python-bugzilla 0.7.0. According to python-bugzilla, apparently my 4.2.1 doesn't support Boolean charts. If not boolean charts, perhaps this support could be added? Help appreciated.
Thanks, Vivek
On 06/14/2012 09:46 PM, Vivek Ayer wrote:
Hi,
I like python-bugzilla and was wondering if there was a way to do 'Creation date: less than or equal to DATE'? Boolean charts perhaps? If so, could someone illustrate? I'm on Bugzilla 4.2.1 with python-bugzilla 0.7.0. According to python-bugzilla, apparently my 4.2.1 doesn't support Boolean charts. If not boolean charts, perhaps this support could be added? Help appreciated.
The actual upstream Bugzilla software doesn't support XMLRPC queries with boolean charts AFAIK. That is a custom Red Hat bugzilla extension that isn't upstream. So it isn't a case of just implementing it in python-bugzilla.
That said you could query all bugs and do the date comparison as an extra step, but it could be very slow.
- Cole
On 16/06/12 00:28, Cole Robinson wrote:
On 06/14/2012 09:46 PM, Vivek Ayer wrote:
Hi,
I like python-bugzilla and was wondering if there was a way to do 'Creation date: less than or equal to DATE'? Boolean charts perhaps? If so, could someone illustrate? I'm on Bugzilla 4.2.1 with python-bugzilla 0.7.0. According to python-bugzilla, apparently my 4.2.1 doesn't support Boolean charts. If not boolean charts, perhaps this support could be added? Help appreciated.
The actual upstream Bugzilla software doesn't support XMLRPC queries with boolean charts AFAIK. That is a custom Red Hat bugzilla extension that isn't upstream. So it isn't a case of just implementing it in python-bugzilla.
https://bugzilla.mozilla.org/show_bug.cgi?id=477601 will address this issue hopefully.
As mentioned, Red Hat have a customisation in Bug.search to work around this, but it will almost guaranteed to not be backwards compatible with upstream change.
python-bugzilla@lists.stg.fedorahosted.org