/[drupal]/contributions/modules/drush/includes/drush.inc
ViewVC logotype

Log of /contributions/modules/drush/includes/drush.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 14 16:57:57 2009 UTC (9 days, 17 hours ago) by weitzman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.57: +15 -14 lines
Diff to previous 1.57
Better support for --simulate in drush_shell_exec and in cvs package handler.

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 30 06:13:21 2009 UTC (3 weeks, 4 days ago) by weitzman
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
Clarify a couple messages in sql sync and minor misc.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 26 02:26:37 2009 UTC (4 weeks, 1 day ago) by weitzman
Branch: MAIN
CVS Tags: DRUPAL-6--2-1
Changes since 1.55: +2 -2 lines
Diff to previous 1.55
#613348 by mig5. Various spelling/grammar corrections.

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 22 20:41:50 2009 UTC (4 weeks, 4 days ago) by adrian
Branch: MAIN
Changes since 1.54: +18 -11 lines
Diff to previous 1.54
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

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 22 03:35:03 2009 UTC (4 weeks, 5 days ago) by weitzman
Branch: MAIN
Changes since 1.53: +4 -4 lines
Diff to previous 1.53
#479952 by droplet. Replace deprecated ereg_* functions with equivalent preg_*

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 18 03:57:35 2009 UTC (5 weeks, 2 days ago) by weitzman
Branch: MAIN
Changes since 1.52: +21 -1 lines
Diff to previous 1.52
make variable commands work on D7. Introduce DB independant versions of db_result() and db_fetch_object()

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 15 15:27:36 2009 UTC (5 weeks, 4 days ago) by weitzman
Branch: MAIN
Changes since 1.51: +3 -1 lines
Diff to previous 1.51
#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.

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 1 18:29:03 2009 UTC (7 weeks, 4 days ago) by weitzman
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50
Remove --php from global options since it is rarely needed and might get removed soon. Put --help there instead.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 1 17:24:00 2009 UTC (7 weeks, 4 days ago) by weitzman
Branch: MAIN
Changes since 1.49: +12 -4 lines
Diff to previous 1.49
#488058 by mikeryan. optional --nocolor global option. useful on windows, apparently.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 1 14:13:29 2009 UTC (7 weeks, 4 days ago) by weitzman
Branch: MAIN
Changes since 1.48: +11 -4 lines
Diff to previous 1.48
#549494 by acstewart and moshe weitzman. Support for command aliases. Nice.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 30 23:38:45 2009 UTC (7 weeks, 5 days ago) by weitzman
Branch: MAIN
Changes since 1.47: +6 -5 lines
Diff to previous 1.47
Slightly better drush_print() docs.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 28 19:07:14 2009 UTC (8 weeks ago) by weitzman
Branch: MAIN
Changes since 1.46: +8 -3 lines
Diff to previous 1.46
Doxygen for drush_die() and drush_print() indicates that now that drush_set_error() and drush_log() are usually preferred instead.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 22 00:22:42 2009 UTC (2 months ago) by weitzman
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45
#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().

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 17 17:16:02 2009 UTC (2 months ago) by weitzman
Branch: MAIN
Changes since 1.44: +6 -2 lines
Diff to previous 1.44
#499758 by austinDev. Prompt abort before user can answer.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 17 14:31:20 2009 UTC (2 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43
#459572 by dcaillibaud and guidot. yellow unreadable on white background terminal.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 10 04:17:54 2009 UTC (2 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.42: +10 -1 lines
Diff to previous 1.42
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.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 19 02:33:57 2009 UTC (3 months ago) by weitzman
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
#537280 by jasonn1234. D7 compatibility. This gets almost all commands except for the pm commands. help wanted.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 27 00:47:38 2009 UTC (5 months, 4 weeks ago) by grugnog
Branch: MAIN
CVS Tags: DRUPAL-6--2-0
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
Wrap help intro text

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 27 00:40:59 2009 UTC (5 months, 4 weeks ago) by grugnog
Branch: MAIN
Changes since 1.39: +103 -47 lines
Diff to previous 1.39
#436782 - Owen Barton, adrian, moshe weitzman - Wrap stdout at 80 characters (where reasonable)

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 20 20:58:37 2009 UTC (6 months ago) by adrian
Branch: MAIN
Changes since 1.38: +5 -7 lines
Diff to previous 1.38
#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.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 20 19:23:58 2009 UTC (6 months ago) by adrian
Branch: MAIN
Changes since 1.37: +5 -1 lines
Diff to previous 1.37
#462234 - catch php fatal errors and ssh connection failures

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 11 15:20:16 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC1
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
remove some absurd precision in timer.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 11 14:43:34 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.35: +8 -6 lines
Diff to previous 1.35
#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.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 11 13:16:42 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
more docs for verbose option.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 10 18:21:47 2009 UTC (6 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.33: +14 -6 lines
Diff to previous 1.33
#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

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 6 19:35:59 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.32: +20 -1 lines
Diff to previous 1.32
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.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 6 00:51:20 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.31: +4 -1 lines
Diff to previous 1.31
Add a log entry at the very end of the dispatch so we have timer there.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 5 20:06:55 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.30: +8 -2 lines
Diff to previous 1.30
Append timer to verbose log output.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 3 03:45:35 2009 UTC (6 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29
#449090 by Grugnog2. Major improvements in error messaging around: The command 'drush.php ... could not be executed.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 19 03:56:32 2009 UTC (7 months ago) by weitzman
Branch: MAIN
Changes since 1.28: +1 -18 lines
Diff to previous 1.28
#436996 by dereine. Replace drush_verbose() calls with drush_log().

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 14 05:46:49 2009 UTC (7 months, 1 week ago) by weitzman
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-ALPHA2, DRUPAL-6--2-0-ALPHA2, DRUPAL-7--2-0-ALPHA2
Changes since 1.27: +12 -4 lines
Diff to previous 1.27
#430558 by moshe weitzman. Let engines provide command help. Implemented engine help for update and dl commands.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 14 03:36:21 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.26: +9 -3 lines
Diff to previous 1.26
#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

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 8 01:13:42 2009 UTC (7 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.25: +13 -2 lines
Diff to previous 1.25
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.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 7 22:55:42 2009 UTC (7 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.24: +43 -1 lines
Diff to previous 1.24
Added utility functions to turn php error logging on and off, and to log the return value of update_sql functions.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 7 22:25:22 2009 UTC (7 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.23: +131 -2 lines
Diff to previous 1.23
#415108 - conditional include api for engines. Thanks grugnog2

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 7 00:27:47 2009 UTC (7 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.22: +24 -2 lines
Diff to previous 1.22
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()

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 6 14:27:48 2009 UTC (7 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.21: +1 -53 lines
Diff to previous 1.21
#349923 by Adrian. drush_invoke : a flexible API for hooking into drush commands. Very useful.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 3 19:56:00 2009 UTC (7 months, 3 weeks ago) by adrian
Branch: MAIN
Changes since 1.20: +10 -5 lines
Diff to previous 1.20
Case insensitive regex for warnings, user warnings and errors from drupal messages. Added notices. This fixes use with Drupal 7

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 2 05:26:55 2009 UTC (7 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.19: +13 -3 lines
Diff to previous 1.19
Minor NOTICE fix in help and added drush_print_r().

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 04:36:23 2009 UTC (7 months, 4 weeks ago) by adrian
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Another typo with the error log

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 02:26:22 2009 UTC (8 months ago) by adrian
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17
Typo in drush_log stopping logging from happening to screen

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 01:41:21 2009 UTC (8 months ago) by adrian
Branch: MAIN
Changes since 1.16: +41 -122 lines
Diff to previous 1.16
#414058 - Simplify error handling code by removing bitmasks

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 24 15:22:43 2009 UTC (8 months ago) by weitzman
Branch: MAIN
Changes since 1.15: +99 -91 lines
Diff to previous 1.15
#387214 by adrian. Finish up command bootstrap levels and intelligent command listing. Great work.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 20 16:10:54 2009 UTC (8 months ago) by adrian
Branch: MAIN
Changes since 1.14: +27 -14 lines
Diff to previous 1.14
#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

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 16:51:00 2009 UTC (8 months, 4 weeks ago) by adrian
Branch: MAIN
Changes since 1.13: +17 -9 lines
Diff to previous 1.13
#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

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 22 22:42:38 2009 UTC (9 months ago) by adrian
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
Missing [ in warning success log items

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 04:59:19 2009 UTC (9 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.11: +34 -5 lines
Diff to previous 1.11
#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

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 03:31:47 2009 UTC (9 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.10: +4 -15 lines
Diff to previous 1.10
Fix display of drush_bootstrap error message. Also drush_command_invoke_all returns an array, not a string.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 02:14:45 2009 UTC (9 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.9: +191 -17 lines
Diff to previous 1.9
#212323 by adrian. Drush error handling API.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 13 17:34:47 2009 UTC (9 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.8: +110 -3 lines
Diff to previous 1.8
#349908 by Adrian. Logging API.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 6 03:22:45 2009 UTC (9 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
For now, dt() is automatically added by core when we emit command descriptions, arguments, options, etc.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 6 00:52:02 2009 UTC (9 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6
remove unused param.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 5 23:41:39 2009 UTC (9 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.5: +44 -19 lines
Diff to previous 1.5
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.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 23 22:02:19 2009 UTC (10 months ago) by weitzman
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
Fix help command

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 14:08:37 2009 UTC (10 months, 2 weeks ago) by weitzman
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-ALPHA1, DRUPAL-6--2-0-ALPHA1, DRUPAL-7--2-0-ALPHA1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
Fix a few NOTICEs

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 19 17:33:05 2008 UTC (11 months ago) by weitzman
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
#349172 by flevour. Fix help command.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 7 03:29:15 2008 UTC (11 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Misc minor cleanup.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 6 21:34:58 2008 UTC (11 months, 2 weeks ago) by weitzman
Branch: MAIN
#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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2