Created attachment 505275 [details] Patch implementig user config for NitrateKerbXmlrpc Description of problem: It would be nice if the python driver read the Nitrate server url from user config file so that it does not have to be hard-coded in respective scripts. I suggest to use ~/.nitrate in user home dir. The resulting code could look like this: from nitrate import NitrateKerbXmlrpc n = nitrate.NitrateKerbXmlrpc() The config file would look like this: [nitrate] url = https://tcms.engineering.redhat.com/xmlrpc/ Attaching patch for the desired functionality.
Hey Petr, Adding config file is more convenient, will consider this. Thanks for your patch. BTW, feel free to customize your nitrate.py to meet your needs for now :)
Thanks for considering the patch. I think the best approach here would be to make it work fine for both krb and non-krb auth. The user would do just general connection = NitrateXmlrpc() and based on the user configuration krb/basic auth method would be automatically chosen.