Hi all,
before the weekend I rolled the 0.4.0 release[1] of fedmod, a tool for generating & maintaining modulemd files.
The most prominent feature of this release is: it grew a configuration system!
Check out the defaults in /etc/fedmod/, right now there are two files for generic (fedmod.yaml) and Fedora-specific settings (fedora.yaml).
At the moment the 'things' that can be configured are defaults for command-line options (the /data/options tree) and the datasets which define the repositories to be queried (/data/datasets/templates for reusable templates and /data/datasets/releases for the actual releases).
Users can modify the system-wide defaults in their own configuration directory ~/.config/fedmod, e.g. to make fedmod be verbose always you could add a file 'verbose.yaml' in there with these contents:
document: fedmod-configuration version: 1 data: options: verbose: true
Happy hacking!
Nils
[1]: Fedora updates (plz test & give karma): F-29: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5d9a2c3c1f F-28: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8e36879f56