[development] Pushing Views Changes

Nikola Kotur kotnick at gmail.com
Wed Dec 1 17:16:18 UTC 2010


On Wed, 2010-12-01 at 06:03 -0800, nan wich wrote:
> 
> We encountered an issue yesterday that requires changing some Views. I
> don't have any heartburn about going into each region (dev, test,
> stage, prod) and manually changing them, but we are working to move
> our deployments into SVN (no choice there, please don't suggest
> another system). Certainly I know how to export and import, but not
> how that can be scripted. Does anyone do that kind of thing? If so,
> how?


If all your sites are all the same, here's the dirty thing that we do in
those cases:

1) dump these tables:
views_view
views_display
views_object_cache

2) import them into other database

3) clear cache

Can't beat the speed of that. And it can be scripted easily ;)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101201/6d8d462e/attachment.html 


More information about the development mailing list