I've got a Drush command that I run after copying my live db into dev that reconfigures various modules and settings that are appropriate for my development environment. For Storage API, that means marking certain containers as external.

How can I do this programatically? I guess I'm after a command like

storageapi_container_external($container_id, true);

Comments

ianthomas_uk’s picture

Project:Environment» Storage API
coreyp_1’s picture

I, too, would like to know if there is a best practice for this. Doing dev/stage/prod workflow with Storage API has turned into quite a headache that I'm not sure of a best way to solve.

Perignon’s picture

Issue summary:View changes
Status:Active» Postponed

I will be the first to tell you that doing dev->stage->test->prod is hard and nearly impossible with Storage API in some cases. The way settings have been stored in Storage API makes programmatic changes hard at the moment. This is a major feature request that I haven't even "sniffed" yet.

Basically, this module needs a lot of work to make it more developer friendly.