venthur/python-debianbts

get_bugs does not support use of proxy

kaymccormick opened this issue · 2 comments

See debian bug #914057.

reportbug is unable to pass http proxy handling information to debianbts get_bugs because there is no mechanism to supply the proxy information. This is blocking resolution of debian bug #717563 in package reportbug.

Someone suggested to use the following python code prior to making calls into debianbts:

debianbts._soap_client_kwargs['proxy'] = http_proxy

However, this does not seem like the correct approach since there should be an interface or function to supply this information, either directly on get_bugs and related functions, or a soap client initialization function. I am guessing a separate "soap client initialization function" is maybe the best approach?

Please advise

I added a message to the bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717563 including patches for reportbug and python-debianbts. I need to do more work and testing on the changes.

Fixed by recent merge. Thanks!