Downloads

Download tar.gz 120.89 KB
MD5: 1d868ebf2c2753724517808458d31a71
SHA-1: d8c92b93f463c7272726f9c32b3abdae80e590ce
SHA-256: 1a5244c3afa4d92ceb36f3469e6aada1100c6245c63e67c6e02577fc9f7bc8bb
Download zip 153 KB
MD5: 2f6b718f1d27696812cfe9e80ddf7476
SHA-1: 68a34572fde761a52e922bba2a467552a2c30d12
SHA-256: 8673a1a3ba0e5f86d741d4f2e02380517ad0fa258a97bab9b960d584d8435bae

Release notes

LOTS of great changes.

Of biggest interest to drush command authors is that commands names may no longer contain spaces. You should replace space with dash. There is backward compatibility in drush right now but that will be removed before 3.0 release.

Changes since DRUPAL-6--3-0-ALPHA1:

  • #460924 by greg.1.anderson. Site aliases may be defined in drushrc.php or on command line. These are used to run any drush command on a remote server via ssh. The improved rsync and new sql sync commands are fine examples. sql sync dumps a local or remote db, gzips, rsyncs, and then imports. We now have fast, database migration from prod => dev or vice versa.
  • #460924 by greg.1.anderson. remove prepare-script and slave database features from new sql sync command.
  • Use drush_backend_invoke during search indexing in order to avoid out of memory error. You can now safely reindex your hundreds of thousands of nodes and not run out of memory. drush_backend_invoke() is sexy sub-shell spawner.
  • Update info command for D7 recent changes.
  • #617322 by Island Usurper. REM line in drush.bat is printed
  • #443576 by Owen Barton. drush_site_path() unaware of sites.php on D7
  • #619364 by carlos8f. installcore command - Support for db_prefix
  • remove sql load command. Use the new sql sync now. It is faster since it uses rsync and compression when transferring the DB dump.
  • #622318 by greg.1.anderson. Allow site aliases to be defined in multiple configuration files.
  • #460924 by greg.1.anderson. remote aliases bug fix - backend_invoke(), small refactor.
  • #586466 by anarcat. Drush.php is no longer directly executable
  • #622380 by greg.1.anderson. Add a nag message to 'drush sql sync' when used with temporary files.
  • #621958 by John Morahan. vget fails if the variable is an object
  • Better support for --simulate in drush_shell_exec and in cvs package handler.
  • #638296 by scor. Improve documentation of drush
  • #623390 by sndev. drush uninstall clearer error message.
  • Rename installcore command to installsite since it installs much more than drupal core. it installs all modules and config for any given install profile.
  • #637574 by anarcat. drush finds the wrong php executable when executing under dash
  • Refactor the numeric choice menu from variable commands into a new drush_choice() function in drush.inc. Will also be used by an improved cache clear command.
  • Enhance cache clear command. You may now choose from a menu or caches or specify 'all' to get prior behavior. Still need to provide a hook to let command files add own caches, or reuse hook_flush_caches().
  • A new 'hook' command where you can quickly explore what module implements what hook and view source code of an implementation
  • #638282 by scor. Make drush sql dumps easier to integrate in VCS
  • #599698 by greg.1.anderson, brad bulger, and malclocke. Load a drushrc.php from cwd
  • #648910 by moshe weitzman. Add option to download modules/themes/profiles/translations from places other than drupal.org
  • #644038 by moshe weitzman. add timeouts when downloading TABLE_URL.
  • #644038 by anarcat. curl timeout syntax.
  • Move watchdog commands to own file.
  • Let admins specify which variant of an install profile they wish to download. See http://drupal.org/node/647374.
  • #648280 by greg.1.anderson and malclocke. drush should find the drupal root correctly, even when symlinks are in use.
  • #578448 by sndev. in drushrc.php does not work because it gets re-initialized in DRUPAL_BOOTSTRAP_CONFIGURATION
  • #636738 by redndahead. tar command doesn't work on windows or solaris. nice work.
  • #593314 by hanoii. modules which fails an install requirement are enabled/installed anyway
  • #654680 by greg.1.anderson. Simplify canonical site aliases.
  • #652894 by brad bulger. search index does not update search_total
  • #656652 by moshe weitzman. Make drush vget ouput copy/pastable code. Use --pipe option.
  • #653962 by moshe weitzman and greg.1.anderson. Support table prefixes in sql query command.
  • #601858 by Damien McKenna. Option to default all confirmations to 'no'; opposite of '--yes' argument.
  • This fixes a simple logic error that caused _drush_shell_exec_output_set() to return the output of the previous command if the current command returned just an empty string.
  • Prepend the site root path when including install.inc, so it works correctly when you are in an alternate directory
  • (re)Fixing install.inc inclusion when cwd has changed
  • #619340 - upgraded updatedb command to d7
  • #652840: Additional verbosity for beginners
  • #648280 by Owen Barton: Fix my initial patch from revision 1.58, which breaks a common site layout
  • #669498: Fix bug that disallowed site alias definition in the drush context
  • #669414 by mikey_p: Fix typo in system-wide drush configuration file path
  • #667082 by Steve Dondley and greg.1.anderson: add a flag to vset to avoid prompting
  • #665560 by moshe weitzman. swallow session errors during installsite command.
  • #648280: Follow symlinks first in drush_locate_root
  • #671560: Add 'show-progress' option to rsync
  • Add locale option to installsite command so you can automatically import your translations at install time for core and all enabled modules. Before installsite, consider using dl command to download the translation of core that you want. Nice.
  • Fix some missing name/description from pm commands in D7. Also dont show hidden modules.
  • #671730 by hexmode and moshe weitzman. when multiple arguments are given to dl, unpacking fails.
  • #506448 by alexanderpas. windows .bat improvement
  • #628914 by moshe weitzman. Log all drupal_set_message() messages.
  • #671612: Add support for command-specific default options
  • #671596 by moshe weitzman. Log all watchdog messages issued during a drush call.
  • #672108 by hexmode. make using dashes instead of underscores in options a matter of policy
  • #611256 by greg.1.anderson. --destination should create directory if it doesn't exist
  • #652318 by greg.1.anderson. Look for contrib directory in modules
  • #617428 by hanoii. Cancelling drush disable causes dependent modules to be disabled
  • #674760 by chx. drush presumes . is in the include path
  • Report peak memory usage when in debug mode.
  • Print memory usage in each log
  • #674940 by greg.1.anderson and acrollet. drush_choice() uses array_unshift(), which re-indexes numeric keys
  • #550522 by jonhatten and greg.1.anderson. Command names must use dashes where they previously used space. Please update your command names ASAP. Easy change.
  • Clarify naming for hook_drush_init and hook_drush_exit in API docs.
  • Minor README tweaks. Also add greg.1.anderson to the maintainer list.
  • #550522 by greg.1.anderson. Enhance backward compatibility for commands with spaces in name. Users may run such commands with an explicit override.
  • #671542 by greg.1.anderson. Backend invoke shouldn't always insist on prohibiting password authentication
  • #678574: Add a 'pm-' namespace to all of the pm commands, and clean up the drush_invoke hook naming convention to eliminate functions called 'drush_pm_pm_xxx'
  • #678428 by Damien Tournoud. Bazaar integration for Drush PM
  • Make drush_shell_exec() quieter unless in --debug
  • Some tweaks to download command to support upcoming upgrade command.
  • Warn that updatedb does not support --simulate. It really can't.
  • #628996: Initial implementation of multiple-command execution. Prompts before execution for now.
  • #676360: Option to turn on php notices in drush log
  • #686306: Replace unwanted, unloved and troublesome tabs back into spaces
  • #433950 by Owen Barton. Modernize updatecode command.
  • Rebuild the system table before attempting updatedb, this will allow the user to change the install profile and still run updatedb successfully. Also rename of the drush_get_themes() implementation for d7
  • #436782 by intuited: Added stty support as fallback for column width detection.
  • A little modernizing to example.drush.inc. This is still a woeful introduction to command authoring. Drush is at a point now where it takes a book to explain it. Anyone fancy themselves as an author?
  • Suppressing tput error message when run from dumb terminal
  • #681874 by cpforbes : Fixed drush shell script does not work with standard BSD sh.
  • #649480 - drush dl fails for pt-br and similar languages that include a dash
  • #457184 Enabling theme updates
  • Revert change to supress tput error message, since the terminal redirection appears to break it's detection.
  • #680112 by msonnabaum. Let vget search all variables (not just those in the db)
  • #679236 by greg.1.anderson. show all possible drush_invoke() variations.
  • #433950 - "install" hooks should be named "download" to match command
  • #417358 by moshe weitzman. More docs for sql commands.
  • #433950 - better standardized naming for projects vs. releases
  • #433950 standardizing request/project/release naming for download command
  • #677894 by jonhattan, joachim. untangle pm_module_manage() a bit
  • #625920 by greg.1.anderson. Commands with explicit callback functions skip drush_invoke() API.
  • #683942: Add 'Drush Version' to status; bring back drush.info to hold version data
  • #690602: Remove redundant 'callback' entries from sql command table.
  • #644126 by anarcat. drush loads duplicate command files
  • Rename installsite command to site-install for better consistency with site-alias.
  • Sort commands in help listing. Module provided command still sort at the end but this is still an improvement.
  • #687724 - multithreaded updatedb command, by forking and simplifying the batch api from drupal core. this is implemented for d6 and d7. also implement a hidden flag on commands so they do not appear on help. this drastically reduces memory requirements
  • #689400 by jonhattan. Refactor pm enable/disable/uninstall to better use version specific engines. Fix D7 versions.
  • #692164 by valeriod. cvs package handler fails on Windows
  • Rename script and eval commands to php-script and php-eval
  • #679832 by jonhattan. pm-info: show info for one or more projects.
  • #679020 by jonhattan. filters and --pipe for pm-list. also include themes.
  • In order to see all possible drush_invoke permutations, you now have to pass a --show-invoke option.
  • #693278 - updatedb errors from drupal_get_modules during d5->d6 upgrade. thanks jonhattan and mig5
  • #535788 by jonhattan and jasonn1234. Check sites/all/themes for *.drush.inc files
  • #693958 by jonhattan. Extend pm-enable/disable to manage themes
Created by: moshe weitzman
Created on: 26 Jan 2010 at 03:44 UTC
Last updated: 16 Dec 2019 at 19:34 UTC
New features
Bug fixes
Unsupported

Other releases