Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuration generation #3

Open
esyr-rh opened this issue Nov 3, 2017 · 0 comments
Open

Add support for configuration generation #3

esyr-rh opened this issue Nov 3, 2017 · 0 comments

Comments

@esyr-rh
Copy link
Contributor

esyr-rh commented Nov 3, 2017

Current module.config generation code relies on config template, which significantly limits the ability to generate proper configuration in complicated cases (think prepare_sources with bunch of -C options). It would be much better if module.config can be generated from scratch based on the actual configuration. This would also significantly improve quality (and usefulness) of dump_config command. In order to accomplish that, several things have to be done:

  • Add ability to store comments to the internal configuration representation.
  • Add ability to store configuration option origin to the internal configuration representation.
  • Add serializer method to DDiskitConfig class that allow specifying configuration options from which origins should be serialized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant