mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-26 03:32:10 +08:00
Return an exception to the user if no dependency combination is determined
This commit is contained in:
@@ -523,6 +523,9 @@ def submit_module_build(username, url, mmd, optional_params=None):
|
||||
|
||||
validate_mmd(mmd)
|
||||
mmds = generate_expanded_mmds(db.session, mmd, raise_if_stream_ambigous, default_streams)
|
||||
if not mmds:
|
||||
raise ValidationError('No dependency combination was satisfied. Please verify the '
|
||||
'buildrequires in your modulemd have previously been built.')
|
||||
modules = []
|
||||
|
||||
# True if all module builds are skipped so MBS will actually not rebuild
|
||||
|
||||
Reference in New Issue
Block a user