Hello,

We're trying to automate the deployment process. And we found it useful to export space presets as features (especially when the preset has many features enabled / disabled or locked / unlocked). I've noticed that all the required code is in spaces.features.inc already, but one function is missing: spaces_features_export_options.

I'm attaching a patch that solved this issue for us. Our preliminary tests show that it appears to be working. Do you think this feature stands a chance of being incorporated into Spaces?

Thank you,
Andrei Ismail

CommentFileSizeAuthor
export_presets_as_features.patch616 bytesaismail

Comments

mikemccaffrey’s picture

Title: Exporting space presets as features » Exporting space presets in features

Great job! This patch appears to work well for including spaces presets into features.

Weird that this function wasn't already included, despite all the other export code being already written.

jmiccolis’s picture

Status: Needs review » Fixed

This should be available in Spaces 3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.