Brief:
------
Question 1:
What is the best way to test using pyhon-bugzilla without writing to the
live system at
https://bugzilla.redhat.com/xmlrpc.cgi ?
Question 2:
Should python-bugzilla support accessing
https://partner-bugzilla.redhat.com/xmlrpc.cgi
or am I misinterpreting the output of
"bugzilla --help"?
Details:
--------
My ultimate goal is to write some scripts that use python-bugzilla to
query and modify BZs. I don't want to test with live system. I was told
that
partner-bugzilla.redhat.com mirrors production but changes written
there won't show up
bugzilla.redhat.com
However when I try to use
partner-bugzilla.redhat.com for the
--bugzilla flag the command fails.
When I use a browser I successfully access
https://partner-bugzilla.redhat.comIs there a bette
Is there a better way to test my script without writing to the live
system at
https://bugzilla.redhat.com/xmlrpc.cgi ?
I only show the login sub-command examples in this email but I've
observed this with both the query and login sub-commands.
Here is a "failed" attempt to log in to:
--bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi"
dhcp-10-16-61-114 % /usr/bin/bugzilla
--bugzilla="https://partner-bugzilla.redhat.com/xmlrpc.cgi" --debug
login
[14:17:01] INFO (bugzilla:869) Connecting to
https://partner-bugzilla.redhat.com/xmlrpc.cgi
[14:17:01] INFO (bugzilla:872) Autodetecting Bugzilla type
[14:17:01] INFO (__init__:94) Bugzilla v0.8.0 initializing
[14:17:01] DEBUG (__init__:30) Detecting subclass for
https://partner-bugzilla.redhat.com/xmlrpc.cgi
[14:17:01] INFO (__init__:37) Using RHBugzilla for URL containing
bugzilla.redhat.com
[14:17:01] INFO (__init__:109) Chose subclass RHBugzilla v0.1
Username: jvlcek(a)redhat.com
Password:
Logging in... failed.
The "almost" same command succeeds when attempting to log in to
the default of:
--bugzilla="https://bugzilla.redhat.com/xmlrpc.cgi"
dhcp-10-16-61-114 % /usr/bin/bugzilla
--bugzilla="https://bugzilla.redhat.com/xmlrpc.cgi" --debug login
[14:17:40] INFO (bugzilla:869) Connecting to
https://bugzilla.redhat.com/xmlrpc.cgi
[14:17:40] INFO (bugzilla:872) Autodetecting Bugzilla type
[14:17:40] INFO (__init__:94) Bugzilla v0.8.0 initializing
[14:17:40] DEBUG (__init__:30) Detecting subclass for
https://bugzilla.redhat.com/xmlrpc.cgi
[14:17:40] INFO (__init__:37) Using RHBugzilla for URL containing
bugzilla.redhat.com
[14:17:40] INFO (__init__:109) Chose subclass RHBugzilla v0.1
Username: jvlcek(a)redhat.com
Password:
Logging in... [14:17:54] INFO (base:407) login successful - dropping
password from memory
Authorization cookie received.
Thank you!
Joe VLcek