[python-bugzilla] [PATCH] Add support for Bugzilla Tokens

Don Zickus dzickus at redhat.com
Thu Apr 24 13:52:53 UTC 2014


On Wed, Apr 23, 2014 at 07:12:19PM -0400, Cole Robinson wrote:
> On 04/23/2014 02:30 PM, abn at redhat.com wrote:
> > From: Arun Babu Neelicattu <abn at redhat.com>
> > 
> > - if login provides a token, reuse it for all subsequent requests sent
> >   to that domain
> > - changes are transparent to user
> > - persist tokens in ~/.bugzillatoken
> > - ensure test cases are aware of tokens
> > ---
> >  bugzilla/base.py       | 60 +++++++++++++++++++++++++++++++++++++++++++++++++-
> >  tests/rw_functional.py | 16 ++++++++++----
> >  2 files changed, 71 insertions(+), 5 deletions(-)
> > 
> 
> Thanks very much for the patch and quick turnaround. But actually the full
> --rw-functional test suite shows that it's broken (only slightly, the xmlrpc
> value that needs to be set is called 'Bugzilla_token'). I've squashed that
> change into your patch.

Hmm, odd that his original patch worked for me then..

Cheers,
Don

> 
> In a follow up patch I wired up overriding tokenfile, similar to how its done
> with cookiefile, and added a bugzilla --tokenfile option.
> 
> All pushed now, thanks Arun!
> 
> - Cole
> _______________________________________________
> python-bugzilla mailing list
> python-bugzilla at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla


More information about the python-bugzilla mailing list