-
-
Notifications
You must be signed in to change notification settings - Fork 201
Reconcile changes between wdtk and whatdotheyknow theme
If you've never used diff-theme-override with vim, I've made a screencast of me going through it.
-
Ensure local
master,wdtkanddevelopbranches are up to date withoriginin your local alaveteli checkout -
Ensure local
masteranddevelopbranches are up to date withoriginin your local whatdotheyknow-theme checkout -
Ensure whatdotheyknow-theme
developis up to date with whatdotheyknow-thememaster -
Switch your current alaveteli theme to whatdotheyknow-theme (
script/switch-theme.rb whatdotheyknow-theme && bundle exec rake assets:clean) -
Check out
developin both alaveteli and whatdotheyknow-theme -
SSH to vagrant (if thats where your dev version is)
-
Reconcile views/overrides between alaveteli and whatdotheyknow-theme:
find $(script/current-theme -v) -type f -name "*.erb" -exec \
script/diff-theme-override -d "vim -d" {} \; 2>/dev/null
-
Commit changes to whatdotheyknow-theme, push and review.
-
Review changes between alaveteli
wdtkanddevelop. Consider that you're about to deploy these to production.
- Merge
developin towdtkin alaveteli and push - Merge
developin tomasterin whatdotheyknow-theme and push - Deploy WDTK