So the openQA API is pretty simple, and I kinda hate being tied to the 
'client' command that's part of the whole openQA package.

Sooo...I wrote a Python client for it. The openQA folks were nice 
enough to let me maintain it inside the os-autoinst github vendor 
space, so you can get it here:

https://github.com/os-autoinst/openQA-python-client

I've tested it works for POSTing ISOs (that's my test code right there 
in the README :>). I think we could port openqa_fedora_tools to use it 
for POSTing ISOs and then we could run all of openqa_fedora_tools from 
Fedora systems.

We could also use it for querying jobs in report_job_results.py - it's 
not *that* hard to just produce your own requests directly for read-
only stuff (as the code does at present), but using the library would 
let us run jobs on something other than localhost without writing all 
the config file parsing into report_job_results too.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net

_______________________________________________
qa-devel mailing list
qa-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/qa-devel

Reply via email to