#1624 build command can wait for actual repo
Closed by tkopecek. Opened by tkopecek.
tkopecek/koji issue1619  into  master

Download 1624.patch

New options --wait-for-build and --wait-for-repo for build command are
simplification of using wait-repo + build command succession. They have
same semantices as the original one.

Fixes: https://pagure.io/koji/issue/1619

why can't this be done serverside? likst chainbuild has waitrepo(), why would not this do the same?

It could be. Builder-side solution has almost the same code in waitrepo task. I've no strong opinion about putting waiting code in CLI vs builder side.

Doing this on builder side woud be very useful for Module Build Service so that it can submit all tasks at once and let koji do prioritization and track all builds.

Hmm, makes sense - I'll look at it.

Alternative builder-side solution: #1626

Builder-side may be preferable here as the CLI solution may have issues if the user drops connection.

Dropping in favour of #1626

Pull-Request has been closed by tkopecek

Metadata