Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Cleaning Up Features

Emma Jane edited this page Dec 7, 2015 · 1 revision

Features might be overridden in the production environment. If you are making updates to a Feature, you make have problems with Git conflicts that should not exist.

To re-create the Feature, follow these steps:

  1. On production, investigate why is this overridden and making a conscious decision on what to keep and what to throw out.
  2. Do a feature update on the bits you want to keep.
  3. Locally, get a fresh copy of the production database. Generally this can be done by running build.sh. Check with @pcambra to see how up-to date the database is.
  4. Make the necessary changes in your local environment and export the Feature to code.
  5. Commit the new Feature to Git, and submit a PR.

NOTE: reverting the Feature may cause important configuration to be lost. Be very careful about doing this.

Clone this wiki locally