#118 Expose assignTask via CLI
Closed: Invalid Opened by lucarval.

This operation can be performed via koji's api:

session = koji.ClientSession(hub_url)
# ... login
session.assignTask(task_id, hostname)

As an admin, it would be very helpful to have this functionality available from the CLI as well.


Seems that this can be done from CLI as such:

koji call assignTask <task_id> <hostname>

Yes, I always do it with the call command myself.

A cli wrapper would not offer much more, really. Still, it is doable, and would raise the visibility of the function. Is there anything beyond this that an admin would want in such a call?

@lucarval changed the status to Invalid

My use case was resolved via call subcommand. Closing this issue.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/118

Please continue any further discussion there.

Metadata