On Fri, 2010-08-20 at 09:38 -0400, Kamil Paral wrote:
----- "James Laska" <jlaska(a)redhat.com> wrote:
>
> See attached patch to convey the stand-alone idea noted above.
Ok, I see your point now. Yes, we can do it like that. We will create
"stand-alone" script check_upgradepath.py, that will depend on autoqa
(therefore be able to use autoqa library and repoinfo.conf), but can
be run alone like:
$ ./check_upgradepath.py --envrs blobby-0.9b-1.fc13 --kojitag dist-f13-updates
I'm not sure how large the benefit is over calling it through the hook,
but surely the CLI interface is a little simpler than:
$ autoqa post-bodhi-update --title blobby-0.9b-1.fc13 --target-tag dist-f13-updates
blobby-0.9b-1.fc13 --local -t upgradepath
You know, I completely forgot about this method of executing tests
against --local. Sounds like I need to reacquaint myself with this
approach. If running a test is just a matter of 1) yum install autoqa,
2) autoqa $hook --args ... that's not too bad. We already have the
argument handling/parsing being done by autoqa and the hook. Apologies,
I never thought of this method.
Wwoods, what do you think?
Thanks,
James