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
-- 
Nils Philippsen    "Those who would give up Essential Liberty to
Software Engineer   purchase a little Temporary Safety, deserve neither
Red Hat             Liberty nor Safety."  --  Benjamin Franklin, 1759
PGP fingerprint:    C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to