Add the ability to automatically buildrequire default modules defined by the buildrequired base module

A base module can set xmd.mbs.default_modules_url, which contains a
URL to a list of modules in the format of name:stream separated by
new lines. When a module buildrequires this base module, the list
of default modules are added as buildrequires of the module automatically
unless there are conflicting streams or the default module is not
in the MBS database.
This commit is contained in:
mprahl
2019-07-03 16:18:28 -04:00
parent 9f55ce724d
commit 96d44d049e
4 changed files with 286 additions and 0 deletions

View File

@@ -72,6 +72,10 @@ Custom fields in xmd:
module in the disttag of the RPMS being built. If the stream is not the appropriate value, then
this can be overridden with a custom value using this property. This value can't contain a dash,
since that is an invalid character in the disttag.
- ``default_modules_url`` - the URL to the list of modules, in the format of ``name:stream``
separated by new lines, to include as default modules for any module that buildrequires this
module. Any default modules with conflicting streams will be ignored as well as any default module
not found in the MBS database. This field only applies to base modules.
Virtual Streams