I am trying to master the art of developing on a testing system and then applying changes to a beta system. This beta system, if approved, would have it's custom code checked into version control. These version controlled files would then be used to drop into the production site. In this way I would never need to use studio on the production site or go in and change production code by hand.
My assumptions were that I only need to revision the original module packages that I used when building custom modules as well as the ./custom/ directory for all other customizations. This assumption, sadly, is false. I believe there is db customizations I need within the fields_meta_data table as well as information located in the cache and data directories.
What files do I need to revision so I can confidently say "If my sugar application blew up I could get back to production with my revisioned files and a backup of the db."?
Another thought: If I am using revisioned files to drop into the production build and customizations are in the db would I need to revision the db and drop that into production? If so, I would need to be careful about what I take out of the db and revision because if I revision tables with user entered records I wouldn't be able to rely on that revision after it has been touched by end-users.
Any thoughts on the above or best practices for revision control with sugar and migration practices would be appreciated.
Thanks,
Jon


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks