Patch for Python 3 Support
by Ralph Bean
Hello all,
I created a patch to update python-bugzilla to work on both python 2
and python 3. The unit tests all pass under both py2.7 and py3.2.
I have tested the login and query commands by hand on py2.6, py2.7,
and py3.2.
http://threebean.org/patches/python-bugzilla-Python3-support.patch
The patch is against the master branch (7ca8a60). If I should
recreate it against another branch, please let me know.
I'm also willing to update and maintain a spec file supporting both
versions if and when that time comes.
Cheers-
-Ralph
10 years, 10 months
Quickly getting the status of multiple tickets
by Jason L Tibbitts III
I maintain the code that spits out the review status reports at
http://fedoraproject.org/PackageReviewStatus/
In order to generate these reports, I run a few queries to get the list
of tickets in the Package Review component and process them a bit. One
thing I need to know is whether any tickets in the Blocked By field are
still open, so I make a list of them and pass them to getbugssimple().
Unfortunately with the new bugzilla instance currently running, doing
this for just 500 tickets takes so long that everything aborts with
proxy errors, so I have to split the list and make multiple queries.
Is there any better way to do this? I know bugzilla needs to know this
often, in order to strike through ticket dependencies which have been
closed. Is there any way to simply get the status of dependencies out
of the result of a query without doing a separate lookup?
- J<
10 years, 11 months
RHBZ query with flags doesn't work
by Jan Friesse
Hi,
It looks like current git (6ba2a577fbcb569034c70bd62bae3e8b5942612e)
version of python-bugzilla has bug.
# ./b query --flag 'devel_ack+'
Server error: <Fault 53: 'value0-0-0 is not a valid parameter for the
Bugzilla::Bug::match function.'>
Any ideas how to solve this problem?
Regards,
Honza
10 years, 11 months
how to display needinfo person(setter and requestee)
by Bo Fan
Hello All,
I use python bugzilla to query bugs with option --outputformat="%{flags}", it just list needinfo?, but I want to know who are the setter and requestee ? how should I get the verbose info ?
thanks
B.R
10 years, 11 months
[PATCH] Add groups functionality when creating bugs
by Paul W. Frields
Since BZ 4.0 there is an XMLRPC/Web service capability to define
groups when creating a bug. There are additional capabilities to add
or remove groups, but to keep this simple for now, I just stuck with
the create time function.
I verified that *not* setting a group seems to do nothing different
than in the current released version (0.8.0) of the client. Patch
attached against git master.
--
Paul
10 years, 11 months
Search for customer facing question
by Eric Sammons
Hello,
I'm trying to implement a search for customer facing is yes. Not seeing a
flag for this option I have decided to try boolean_query; however, it seems
my results are the opposite of what I would have expected. Perhaps I have
the wrong "field" or I am making some bad assumptions here.
My current query:
bugzilla query -p "Red Hat Enterprise MRG" -t
"NEW,ASSIGNED,ON_DEV,POST,MODIFIED,ON_QA"
--boolean_query="cf_cust_facing.notsubstring-yes &
flagtypes.name-substring-mrg-2.4.0 &
flagtypes.name-notsubstring-mrg-2.4.0-" -z "low,medium"
I assumed that the customer facing field was cf_customer_facing based on
the cgi in page source.
My goal is to return only those bugs that are _not_ customer facing.
Can anyone help me correct my query above?
Thanks!
--
Eric L. Sammons e <esammons(a)redhat.com>lsammons
at gmail dot com
Manager Quality Engineering irc: eanxgeek
Red Hat Quality Engineering 919.754.4963 (w)
rhce # 805007668329332 919.889.3279 (c)
rhcva # 805007668329332
10 years, 11 months