Merge #922 Generate 'context' from hash based on buildrequires/requires stream. Reuse components only from module with the same stream_build_context.

This commit is contained in:
Matt Prahl
2018-04-24 22:50:02 +00:00
17 changed files with 186 additions and 44 deletions

View File

@@ -377,7 +377,7 @@ def submit_module_build(username, url, mmd, scm, optional_params=None):
username=username,
**(optional_params or {})
)
module.build_context, module.runtime_context = \
module.ref_build_context, module.build_context, module.runtime_context = \
module.contexts_from_mmd(module.modulemd)
db.session.add(module)