#2052 [RFE] make "koji download-task" wait for unfinished tasks to complete
Closed: Fixed by tkopecek. Opened by ktdreyer.

If I run koji download-task <buildArch-task-id> and the buildArch task is still in progress ("FREE", "OPEN", or "ASSIGNED"), then I get the following error:

No files for download found.

It would be nice if we could use watch_tasks to poll the task and then download the results once the task is complete.

This would make it easier to write shell scripts that wait on scratch build results.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.22
- Issue tagged with: feature

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

PR #2346

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Commit 9beaac95 fixes this issue

Commit 1cbc9340 fixes this issue

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

Please continue any further discussion there.

Metadata
Related Pull Requests