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

Managing configuration from plugins #6

Open
nerdstein opened this issue Oct 16, 2015 · 1 comment
Open

Managing configuration from plugins #6

nerdstein opened this issue Oct 16, 2015 · 1 comment

Comments

@nerdstein
Copy link
Owner

nerdstein commented Oct 16, 2015

How does a plugin manage / update Bild configuration? Or, does it not?

Ideally, there will be the ability for a plugin to say what settings are needed from the bild.yml file.

Maybe this is managed through documentation only with sane defaults if the configuration is not set.

@nerdstein nerdstein changed the title Organize config into features Managing configuration from plugins Apr 2, 2017
@greg-1-anderson
Copy link
Contributor

Symfony/Config offers the ability to validate configuration; however, in the case of Robo, it seemed that configuration settings would be highly dynamic, and dependent entirely on the commands in the RoboFile and task plugins (and core tasks). Therefore, in keeping with Robo's design philosophy to keep Robo core simple and lightweight, no validation features are provided by default. That could change in the future, if there was demand and agreement. The current state of affairs relegates configuration issues such as this to applications that use Robo as a framework, if they desire to do so. If you wanted plugins to participate in validation, you'd have to provide a design and implementation for that.

In terms of providing sensible defaults, see Providing Default Configuration in the getting started guide.

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

2 participants