On Fri, 2010-09-03 at 09:24 -0400, Josef Skladanka wrote:
Hello, gang,
I've created a patch, which allows AutoQA tests to store results in resultsdb.
Because of the quite nice design provided by the AutoQATest base class, it's
only new files, and few changes in the base class (23 lines to be exact) :)
Not that I'd want to push it to master or so - just happy that it's working
and the changes were as simple as i hoped :)
Either have a look at the jskladan branch in git, or at the attached patch.
Whoa! Exciting stuff! Now, of course, we need to start thinking about
frontends to display the test results...
Anyway - the module name 'logging' is kind of confusing, since it
collides with the python 'logging' module (but does something completely
different!). Maybe it should be 'resultsdb'? That's pretty typical for
the module name for the client of an xmlrpc-style service (See also:
import koji, import bugzilla)..
One longer-term possibility - since we plan to have ResultsDB as a
standard, well-integrated part of the Fedora infrastructure, it might be
a good idea to look at the 'fedora.client' modules (in the
'python-fedora' package) and see if we can put the resultsdb client code
in there. Then we'd be giving the whole project easy access to
read/write resultsdb...
-w