Hi, list. Josef asked me on IRC about this, but he logged off just 
before I replied, so I figured I'd make the answer public for 
posterity.

He asked "do you think it would be possible to either remove the 
dependency, or make it into a conditional import? As the koji python 
library is not really standalone, it makes it quite weird to deploy on 
the OpenSuse"

Unfortunately the answer is it's not entirely straightforward. Koji is 
used for a large part of fedfind, in fact the core of the whole thing -
finding the nightly compose tasks. Every image for a nightly, except 
the boot.isos, is only available as a Koji task. The very first bit of 
fedfind that got written was the code to poke Koji and figure out the 
nightly images for a given date. I really only extended it out to 
stable/milestone releases because it seemed like an easy win, the 
nightly stuff is actually the core of fedfind.

I suppose in theory it *could* be made optional and the NightlyEvent 
classes would simply be extremely incomplete in such a case - they'd 
have to ifdef around the lack of koji and return only boot.iso images 
whatever you asked them for, which I personally think would be kind of 
horrible.

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.

Thanks!
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net

_______________________________________________
qa-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/qa-devel

Reply via email to