On 10/30/14 1:21 PM, Mike Bonnet wrote:
Hi. Attached are a couple of enhancements to rpkg. The first adds
--runas option. This allows you to run Koji commands as a different
user, if the Koji hub has been configured to allow you to do so. This
is useful for automation that launches builds on behalf of other users.
The other patch fixes support for password authentication (it has
never worked correctly) and cleans up Koji session creation, so all
relevant config options are passed through to the new session. This
should improve compatibility between the Koji cli and rpkg. Let me know
if there are any questions.
It came to my attention that these patches broke fedpkg because it
passes keyword args as positional args. This patch to fedpkg fixes
that, which should make enhancing rpkg and fedpkg easier in the future.