Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
Better support for --simulate in drush_shell_exec and in cvs package handler.
Clarify a couple messages in sql sync and minor misc.
#613348 by mig5. Various spelling/grammar corrections.
Commit a safer version of the drush_shell_exec command that accepts a printf formatted command, and additional parameters to the command string. each of the additional parameters are run through escapeshellarg to ensure that user input is safely escaped. the $indent property is no longer valid, but it was not in use in any of the core instances of the command i could find
#479952 by droplet. Replace deprecated ereg_* functions with equivalent preg_*
make variable commands work on D7. Introduce DB independant versions of db_result() and db_fetch_object()
#415152 by david rothstein and moshe weitzman. A very first version of installcore command for Drupal 7. This installs or re-installs drupal core, including running the usual install profile tasks. It is not multi-site aware yet. Hopefully adrian or someone else will build upon this. Not available for ealier versions of drupal. see aegir project for for now.
Remove --php from global options since it is rarely needed and might get removed soon. Put --help there instead.
#488058 by mikeryan. optional --nocolor global option. useful on windows, apparently.
#549494 by acstewart and moshe weitzman. Support for command aliases. Nice.
Slightly better drush_print() docs.
Doxygen for drush_die() and drush_print() indicates that now that drush_set_error() and drush_log() are usually preferred instead.
#559512 by moshe weitzman. Add drush_find_php() helper function and use it is simpletest and update commands. In the future this function might become a utility and instead on gets its value with drush_get_context().
#499758 by austinDev. Prompt abort before user can answer.
#459572 by dcaillibaud and guidot. yellow unreadable on white background terminal.
Automatically log values for all timers at end of command. Requires --debug to see them. useful for commands like migrate that use drupal's timer API.
#537280 by jasonn1234. D7 compatibility. This gets almost all commands except for the pm commands. help wanted.
Wrap help intro text
#436782 - Owen Barton, adrian, moshe weitzman - Wrap stdout at 80 characters (where reasonable)
#434772 - drush return codes are the opposite of expected unix command return codes. drush now returns 0 on success. If the shutdown handler is triggered before drush has completed, it now triggers an error.
#462234 - catch php fatal errors and ssh connection failures
remove some absurd precision in timer.
#457142 by moshe weitzman. split the two verbose levels into separate options. now we have verbose and debug. debug shows more than verbose. fixes a usability bug.
more docs for verbose option.
#436782 - detect the number of COLUMNS available to print. Defaults to 80. Added information to the README about needing to export the COLUMNS environment variable
Add new global option, --pipe, which send back output intended to be used in a script. Implemented by statusmodules command in order to send back a space delimited list of enabled modules.
Add a log entry at the very end of the dispatch so we have timer there.
Append timer to verbose log output.
#449090 by Grugnog2. Major improvements in error messaging around: The command 'drush.php ... could not be executed.
#436996 by dereine. Replace drush_verbose() calls with drush_log().
#430558 by moshe weitzman. Let engines provide command help. Implemented engine help for update and dl commands.
#430556 - split bootstrap into separate steps for validation and the actual bootstrap. This allows scripts to determine wether they can bootstrap to a specific level before actually attempting it. Also added a special case to avoid logging the "output already started" warning, which is unavoidable during DRUPAL_BOOTSTRAP_FULL
Added levels of verbosity to Drush. --verbose=2 or -v 2 now turns on the bootstrap messages. Notices and messages are showed at level 1.
Added utility functions to turn php error logging on and off, and to log the return value of update_sql functions.
#415108 - conditional include api for engines. Thanks grugnog2
Various fixes to logging : output buffering during bootstrap is only used when bootstrapping drupal or the db. The drush_context now takes a default value parameter and drush_log can be redirected to a function of your choosing instead of drush_print_log()
#349923 by Adrian. drush_invoke : a flexible API for hooking into drush commands. Very useful.
Case insensitive regex for warnings, user warnings and errors from drupal messages. Added notices. This fixes use with Drupal 7
Minor NOTICE fix in help and added drush_print_r().
Another typo with the error log
Typo in drush_log stopping logging from happening to screen
#414058 - Simplify error handling code by removing bitmasks
#387214 by adrian. Finish up command bootstrap levels and intelligent command listing. Great work.
#385898 - Drush context API. Generalized static variable cache to allow for introspection of state, and a clean layered separation of options passed to the script
#380688 - RESTful API for drush commands. Implements a standard output format (JSON) that allows Drush commands to call other Drush commands, and integrate their output
Missing [ in warning success log items
#374765 - handle database errors gracefully. Made both the bootstrap and db errors clearer and more useful and right align the logging message on the first line of the error. #374785 - Integrate drupal_get_messages with drush log. Only runs on exit for now
Fix display of drush_bootstrap error message. Also drush_command_invoke_all returns an array, not a string.
#212323 by adrian. Drush error handling API.
#349908 by Adrian. Logging API.
For now, dt() is automatically added by core when we emit command descriptions, arguments, options, etc.
remove unused param.
drush commands may now define their arguments, options, and examples in hook_drush_command(). this gives much nicer, more structured help for a command. See the command in includes/core_commands for an example.
Fix help command
Fix a few NOTICEs
#349172 by flevour. Fix help command.
Misc minor cleanup.
#335360 by vingborg. A heroic patch. Drush is no longer a module and does not require a functional drupal site in order to do work. That means it will soon be able to install drupal locally or on remote servers, or run unit test suites, and so on. Drush commands are just include files, and not whole modules unto themselves ... Core drush is identical for all core Drupal versions. many of the commands that shipped with Drush are now removed in favor of a new 'Drush Extras' project which I will soon publish. Thanks for all the hard work and reviews on this patch.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |