Ah, in that case I think my best course of action is see if I can use fedrq as a library and possibly extend it to be able to override dnf options (like where repos are).
Would such PRs be acceptable?
Thanks,
Michel