#118 Expose assignTask via CLI
Closed: Invalid 7 years ago Opened 7 years ago 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

7 years ago

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

Login to comment on this ticket.

Metadata