csyork/csbot — pull request #32 by alanbriolat (2012-09-21 14:20:17+00:00)
Title: Disable configuration saving

Having configuration something that can be dynamically modified and automatically saved might sound like a good idea, but actually it has a few problems:

* If the configuration file is edited when the bot is running, the changes will be lost when the bot exits and overwrites the file.
* Heroku doesn't allow writing to the filesystem, so it won't work on the "production" deployment of the bot.
* The "production" bot's configuration could drift out of sync with what is shown in the git repository.
* It's possible to set configuration values that would cause the bot to never start up again properly.

Therefore, I propose that configuration is read-only, and submit these commits to that effect.