-
Notifications
You must be signed in to change notification settings - Fork 103
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
[Poll]: Configuration of corobo #574
Comments
Option 1 Simple use of environment variables in the configuration templates. Eg:
Downside: Environment variables on windows are hard to set & change. |
Option 2 Using a Mixin to pre-configure the plugins through
And configuring the plugins before activation
If a config is set, it will autoconfigure the plugin from |
Option 3 @jayvdb 's workaround #380 (comment)
We could put something similar into a super class for all our plugins. |
Option 4 By storing the configuration dictionary in a seperate file
Using a pythin script from inside the container we can import
and then deploy the bot after it is configured. |
Option 5 By keeping the We'd have to set Currently |
|
Do not consider / assume that this thing will be running inside Docker. If the goal is to have the project reusable outside of coala, don't make decision that could make it unusable for people outside of coala (exp. Not using Docker, Not using Linux, etc). I believe using environment variables to configure should be considered a cheap hack in comparison to a proper setup. I would prefer if it uses something like Python's built-in ConfigParser and just read it from there. Environment variables can be used to generate the file at the start or have an option to always update it. I suggest adding command line arguments for If it isn't declared try the following in order:
First, check if there's an exisiting config file and data directory |
fwiw, the runtime config was finished in #597 |
Since corobo lives inside a Docker container and is deployed after every commit.
To use the configuration templates, we'll need a way to pre-configure the plugins so that bot admins don't have to configure them after every deployment.
In the comment section, are the different proposed option than can be implemented to auto-configure the plugins at the time of deployment.
Please use a ' 👍 ' to vote for the best-suited implementation.
cc @meetmangukiya @gbin @jayvdb
The text was updated successfully, but these errors were encountered: