This ticket is about introducing a new feature that would allow the user to specify which module builds to reuse components from. The fedpkg command would look like the following:
fedpkg module-build --optional reuse_components_from=<id or nsvc>
This means the new API parameter would be reuse_components_from, which accepts a module build ID or an NSVC.
reuse_components_from
This would allow a user to reuse components from a failed build, a build of a different stream (if it was renamed for instance), or a module that had its buildrequires changed but it doesn't affect compatibility. The supplied module build must be in the failed or ready state. We probably also need to prevent a failed module build to be resumed when a module build is in flight that is reusing components from it.
failed
ready
This feature should be well documented.
This ticket comes from the discussion in #1012.
Commit 1bcb40d4 fixes this issue
This is to support fedpkg module-build --optional reuse_components_from=<id>: https://pagure.io/rpkg/pull-request/457
fedpkg module-build --optional reuse_components_from=<id>
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/mbs/issues/1296
Please continue any further discussion there.