#1657 reuse_components_from doesn't allow specifying a failed build
Opened by otaylor. Modified

https://pagure.io/fm-orchestrator/issue/1012 (Reuse of components from failed builds) was converted into https://pagure.io/fm-orchestrator/issue/1296 (Allow specifying a specific module build to reuse components from) with the text "This would allow a user to reuse components from a failed build" -

But the commit that resolves this https://pagure.io/fm-orchestrator/c/1bcb40d has:

    if reuse_module.state != models.BUILD_STATES["ready"]:
         raise ValidationError(
              'The module in the parameter "reuse_components_from" must be in the ready state'
         ) 

@mprahl - do you know if this was intentional?


@otaylor I don't recall if this was intentional. If you decide to change this, you'll need need to modify this function to not assume a component from the reusable module that is found in the database was successfully built.

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

Please continue any further discussion there.

Metadata