Recipe to push test->production (bots>=3.0)
Recipe to use a standard directory comparison tool to manage the differences in configuration between test and production:
- For both environments, make configuration index file (menu->Systasks->Make configuration index)
- Compare both environments using a directory comparison
tool. What you should compare
is:
- All files in bots/usersys.
- Note that the file bots/usersys/index.py contains the configuration as in the database (routes, channels, partners).
- Push changes using such a directory comparison tool.
- And read configuration index file (menu->Systasks->Read configuration index) to the database.
Details
-
if the configuration index file is generated all configuration is in usersys (routes, mappings, partners etc).
-
By using the 'isolated acceptance test' both environments can be 'very equal'.
-
The configuration index file can also be generated by command line tool. 20130117: not read by command line tool.
-
Look like it is possible to use a version control system. I have not tried it, but recipes and experiences are welcome!