Aegir Features Revert

Categories

Component ID

1914388

Component name

Aegir Features Revert

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is Drush plugin for sites hosted by Aegir, that runs after an Aegir verify task is run on the site. It does two things on the site being verified:

  1. runs drush pm-enable on all Features already enabled, so new Feature module dependencies are picked up and enabled;
  2. runs drush features-revert-all, so changes to Features are applied to the site;

I made this to scratch an itch shared by quite a few other Aegir users, detailed at: Should Aegir enable required dependencies when migrating sites?

Installation

Put the aegir_features_revert directory into /var/aegir/.drush/ To get the code, follow the instructions on the Version control tab (requires some knowledge of command line and git).

The plugin should then hook into Aegir's processes automatically.