jameswritescode / rubyserv

Ruby IRC Services
MIT License
3 stars 1 forks source link

better configuration management #7

Open jameswritescode opened 10 years ago

jameswritescode commented 10 years ago

I'm thinking now that we expect plugins to be in plugins/<plugin_name>/plugin.rb that each plugin can have it's own config.yml so it won't be so confusing to document changes to the main config that needs to be made. Plugin specific configs would be in the same directory as the plugin itself.

jameswritescode commented 10 years ago

On the other hand, since we do have a config directory each plugin could have their own self named config file inside of that directory.

jameswritescode commented 10 years ago

That said maybe we shouldn't have a config directory at all, and move rubyserv.yml to the root directory. This way each plugin will have a config at it's root that the plugin file dictates the name of.