#1619 [RFE] brew build --wait-for-repo/build
Closed: Fixed by tkopecek. Opened by tkopecek.

One of user usecases is, that they list latest builds in tag and they are satitsfied with versions listed there. After that they start build and it fails on missing required nvrs. It means, that kojira didn't finished repo regen before build started. It could be solved easily if user know, that he can use wait-repo command.

Usability could be better if wait-repo is included in build command itself. Some option should provide this waiting possibility. This behaviour shouldn't be default as it is used in very limited set of usecases and could be propagated to fedpkg build command with same options.

koji build --wait-for-repo target source would have same semantics as koji wait-repo --target target && koji build target source, while koji build --wait-for-build nvr target source would be same as koji wait-repo --target target --build nvr && koji build target source


PR #1624

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Alternative PR #1626

ping @breilly @julian8628 - what approach would you prefer?

I would prefer PR #1626. I think kojid approach is more like a structure solution.

Agreed, I think #1626 is the better solution

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.20 (was: 1.19)

Commit 062050c8 fixes this issue

Commit 418376dc fixes this issue

Commit 6d46a756 fixes this issue

Commit a392467b relates to this ticket

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

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

Please continue any further discussion there.

Metadata
Related Pull Requests