[development] Solving the dev->staging->live problem
drupal at dave-cohen.com
Sun Aug 10 17:05:00 UTC 2008
I've written about my personal approach in the past:
http://www.dave-cohen.com/node/1779. I use hook_form_alter so the update.php
form always executes on of my update_x hooks. And that hook imports a file
with the latest database changes.
I wrote about it here at the time, and received a lot of "you should never use
hook_form_alter in your .install file" comments. But I do it anyway. So I
agree that a solution should be able to apply changes during update.php.
On Saturday 09 August 2008, Adrian Rossouw wrote:
> One of the things I would like to see in deploy , or any system we end
> up using,
> is the ability to generate a module with a .install file for the
> configuration info
> in install and update_x hooks.
More information about the development