Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Changelog

Travis Carden edited this page Nov 24, 2013 · 22 revisions
  • Converted to Drupal 8.
  • Moved shunt logic into a class.
  • Replaced drush shunt-get-enabled and drush shunt-get-disabled with drush shunt-list.
  • Replaced drush shunt-is-enabled with drush shunt-info.
  • Changed all Drush commands except shunt-list to accept a list of one or more shunts (space-or-comma separated) or the keyword "all".
  • Replaced Drush shunt name prompts with command completion. (Try drush she <TAB>.)
  • Added Drush shunt name wildcard expansion. (Try drush shunt-enable sh\*.)
  • Prefixed all Drush command aliases with "sh" instead of just "s" for better namespace collision prevention.
  • Renamed hook_shunt() to hook_shunt_info().
  • Replaced hook_shunt_enable() and hook_shunt_disable() with hook_shunt_post_change().
  • Added a new hook_shunt_post_changeset().
  • Updated Drush prompts and confirmation messages to reflect the pattern set by Drush pm commands. e.g.:
$ drush shunt-enable all
Shunt "shuntexample" is already enabled.                         [ok]
The following shunts will be enabled: shunt
Do you want to continue? (y/n): y
Shunt "shunt" has been enabled.                                  [status]
  • Added a working example page to the Shunt Example module that responds to the "shuntexample" shunt with a fail whale.
Clone this wiki locally