Transitioning python-bugzilla to github
by Cole Robinson
Hey all,
I'd like to transition python-bugzilla to github. I've come around to the idea
since Arun proposed it last year.
I set up a mirror for now that I'll just sync using a cron job:
https://github.com/python-bugzilla/python-bugzilla
I'll finish the actual transfer over sometime in the future and deprecate the
fedorahosted repo.
Patches to the mailing list are still preferred, but I'll take pull-requests
as well.
Comments welcome
Thanks,
Cole
8 years, 7 months
Any way to access reporter email/username?
by Brad Parham
Hi all,
My bugzilla installation (not sure if this is default or not) has a field
called "reporter" which is the email/username of the reporting user. I
can't seem to figure out a way to view the reporter username of a bug. I
can see the reporter_id just fine, but then don't see any way to get the
username from that.
If someone knows a way to do this, i'd love to hear it, otherwise does
anyone have any recommendations for coding this up myself and uploading a
patch? (have you moved to git yet?)
Thanks for the help!
Cheers,
Brad
8 years, 10 months
Stale reference to _query
by Florian Weimer
The docstring for Bugzilla.query
def query(self, query):
'''Query bugzilla and return a list of matching bugs.
query must be a dict with fields like those in in
querydata['fields'].
Returns a list of Bug objects.
Also see the _query() method for details about the underlying
implementation.
'''
refers to _query, but this method is no longer very informative:
def _query(self, query):
# This is kinda redundant now, but various scripts call
# _query with their own assembled dictionaries, so don't
# drop this lest we needlessly break those users
log.debug("Calling Bug.search with: %s", query)
return self._proxy.Bug.search(query)
So it's a bit difficult to figure out how to actually compose queries.
--
Florian Weimer / Red Hat Product Security
8 years, 10 months