I know this comes from modulemd library. Since this tool is really about UX, I wanna open and prioritize it here.
When I open the generated modulemd, I would love to if: * it could have comments, the ones from the original spec * it didn't contain inline notation
Bad:
data: api: rpms: [python3-docker, python2-docker]
Good:
data: # Module API # Optional, defaults to no API. api: # The module's public RPM-level API. # A list of binary RPM names that are considered to be the # main and stable feature of the module; binary RPMs not listed # here are considered "unsupported" or "implementation details". # In the example here we don't list the xyz package as it's only # included as a dependency of xxx. However, we list a subpackage # of bar, bar-extras. # Optional, defaults to an empty list. rpms: - python3-docker - python2-docker
The feature with comments should be probably disabled by default and users should be able to enable it via CLI option.
\cc @sgallagh
See https://pagure.io/modularity/fedmod/issue/8 for the related discussion for fedmod.
Login to comment on this ticket.