On Wed, 2015-02-11 at 09:10 -0800, Adam Williamson wrote:
The other option I guess is to talk to the Koji XML-RPC API directly
instead of through the koji library; I can take a look at how
messy/tedious that would be to implement today.
Good news - this is actually pretty easy, it's mostly a straight swap
of xmlrpclib.ServerProxy for koji.ClientSession. We don't need any of
the fancy koji.ClientSession features as we're just read-only for a
couple of methods (though while I was poking through ClientSession I
saw a 'batched request' thing which might have been interesting to
speed up nightly queries :/).
I had to steal one trivial function (to find the working path for a
task) and hardcode one constant value ('CLOSED' task state) from koji,
but that's not too horrible. I'll push this out to git shortly, I aim
to do new fedfind and python-wikitcms releases today with all the
latest bits.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net