#1264 Implement way of setting koji options
Closed: Fixed by jkaluza. Opened by ignatenkobrain.

I'm specifically interested in dynamic_buildrequires option.

Ref: https://github.com/fedora-modularity/libmodulemd/issues/296


Hi Igor,

I presume you want to use it in next Rust modules, correct? Can you just wait until this is included in Fedora release where you want to use it? So far I treat this as a low-priority improvement, so not sure if we find a time to implement this.

On the other side, I personally wouldn't be against this feature if you create PR yourself. It should be quite easy. You need to get the Koji options from XMD section of MMD file like we do here already for other option:

  • https://pagure.io/fm-orchestrator/blob/master/f/module_build_service/builder/KojiModuleBuilder.py#_546

We already set some extra options for Koji tag here:

  • https://pagure.io/fm-orchestrator/blob/master/f/module_build_service/builder/KojiModuleBuilder.py#_1008

So you just need to extend the list of extra options there based on the XMD data + run tests and ensure they all pass.

Commit cdb701d5 fixes this issue

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

Please continue any further discussion there.

Metadata
Related Pull Requests