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
| Comment | File | Size | Author |
|---|---|---|---|
| export_presets_as_features.patch | 616 bytes | aismail |
Comments
Comment #1
mikemccaffreyGreat 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.
Comment #2
jmiccolis commentedThis should be available in Spaces 3.x