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

Log of /contributions/modules/drush/includes/command.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.47 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 11 19:04:16 2009 UTC (2 weeks, 2 days ago) by weitzman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.46: +1 -2 lines
Diff to previous 1.46
Remove stray line break.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 11 19:02:54 2009 UTC (2 weeks, 2 days ago) by weitzman
Branch: MAIN
Changes since 1.45: +5 -9 lines
Diff to previous 1.45
Avoid module_rebuild_cache() during DRUSH_BOOTSTRAP_DRUPAL_FULL. It issues unneeded queries and hooks.

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

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 22 14:57:06 2009 UTC (5 weeks, 1 day ago) by adrian
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43
Port update_7.inc to HEAD. Drupal 7 has no upgrade path yet, so this will not work at the moment. Also fixed some notices

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

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 3 17:42:26 2009 UTC (7 weeks, 6 days ago) by weitzman
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41
Add defaults for aliases and examples elements

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

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

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 22 01:47:29 2009 UTC (2 months ago) by weitzman
Branch: MAIN
Changes since 1.38: +13 -5 lines
Diff to previous 1.38
#574352 by moshe weitzman. Support --help option.

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

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 13:37:45 2009 UTC (3 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36
#549918 by jonhatten. Allow to run a command if required bootstrap phase is lower or equal to current phase.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 27 19:38:12 2009 UTC (6 months ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-6--2-0
Changes since 1.35: +2 -2 lines
Diff to previous 1.35
Typo in loading of modules, was using ->filepath and not ->filename

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 26 22:30:25 2009 UTC (6 months ago) by weitzman
Branch: MAIN
Changes since 1.34: +12 -9 lines
Diff to previous 1.34
Minor attempt at including commands from enabled modules only (when executing commands). Solving this properly is too hard ATM. I recommend that modules name themselves as dependencies in hook_drush_command().

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 26 17:45:48 2009 UTC (6 months ago) by weitzman
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
Fix typo in comment.

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 25 14:33:33 2009 UTC (6 months ago) by adrian
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32
#472218 - keep commandfile list sorted alphabetically. Previously hooks were triggered in whatever order the drush_scan_directory retrieved them, which caused hook order to differ in different environments, causing errors that could not be reproduced easily.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 24 18:42:09 2009 UTC (6 months ago) by adrian
Branch: MAIN
Changes since 1.31: +8 -1 lines
Diff to previous 1.31
#459678 - allow drush files to be located in a system wide location

Revision 1.31 - (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
CVS Tags: DRUPAL-6--2-0-RC1
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
#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.30 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 7 21:56:20 2009 UTC (6 months, 3 weeks ago) by adrian
Branch: MAIN
Changes since 1.29: +8 -4 lines
Diff to previous 1.29
#456622 - ensure that drush_invoke operates in a clean namespace and does not mistake drupal hooks as its own. Check the issue for the conversion script.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 5 19:19:52 2009 UTC (6 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.28: +8 -1 lines
Diff to previous 1.28
#453866 by moshe weitzman. Massively speed up GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)
These shell commands are defined internally.  Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

 JOB_SPEC [&]                       (( expression ))
 . filename [arguments]             :
 [ arg... ]                         [[ expression ]]
 alias [-p] [name[=value] ... ]     bg [job_spec ...]
 bind [-lpvsPVS] [-m keymap] [-f fi break [n]
 builtin [shell-builtin [arg ...]]  caller [EXPR]
 case WORD in [PATTERN [| PATTERN]. cd [-L|-P] [dir]
 command [-pVv] command [arg ...]   compgen [-abcdefgjksuv] [-o option
 complete [-abcdefgjksuv] [-pr] [-o continue [n]
 declare [-afFirtx] [-p] [name[=val dirs [-clpv] [+N] [-N]
 disown [-h] [-ar] [jobspec ...]    echo [-neE] [arg ...]
 enable [-pnds] [-a] [-f filename]  eval [arg ...]
 exec [-cl] [-a name] file [redirec exit [n]
 export [-nf] [name[=value] ...] or false
 fc [-e ename] [-nlr] [first] [last fg [job_spec]
 for NAME [in WORDS ... ;] do COMMA for (( exp1; exp2; exp3 )); do COM
 function NAME { COMMANDS ; } or NA getopts optstring name [arg]
 hash [-lr] [-p pathname] [-dt] [na help [-s] [pattern ...]
 history [-c] [-d offset] [n] or hi if COMMANDS; then COMMANDS; [ elif
 jobs [-lnprs] [jobspec ...] or job kill [-s sigspec | -n signum | -si
 let arg [arg ...]                  local name[=value] ...
 logout                             popd [+N | -N] [-n]
 printf [-v var] format [arguments] pushd [dir | +N | -N] [-n]
 pwd [-LP]                          read [-ers] [-u fd] [-t timeout] [
 readonly [-af] [name[=value] ...]  return [n]
 select NAME [in WORDS ... ;] do CO set [--abefhkmnptuvxBCHP] [-o opti
 shift [n]                          shopt [-pqsu] [-o long-option] opt
 source filename [arguments]        suspend [-f]
 test [expr]                        time [-p] PIPELINE
 times                              trap [-lp] [arg signal_spec ...]
 true                               type [-afptP] name [name ...]
 typeset [-afFirtx] [-p] name[=valu ulimit [-SHacdfilmnpqstuvx] [limit
 umask [-p] [-S] [mode]             unalias [-a] name [name ...]
 unset [-f] [-v] [name ...]         until COMMANDS; do COMMANDS; done
 variables - Some variable names an wait [n]
 while COMMANDS; do COMMANDS; done  { COMMANDS ; } command

Revision 1.28 - (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.27: +37 -33 lines
Diff to previous 1.27
#449090 by Grugnog2. Major improvements in error messaging around: The command 'drush.php ... could not be executed.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 17 18:18:17 2009 UTC (7 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
First round of NOTICE fixes. Add help for updatedb.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 14 21:19:09 2009 UTC (7 months, 2 weeks ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-ALPHA2, DRUPAL-6--2-0-ALPHA2, DRUPAL-7--2-0-ALPHA2
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
#427988 - default bootstrap phase is now DRUPAL_LOGIN

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 14 14:07:18 2009 UTC (7 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24
Vastly improve Update help for pm commands.

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

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 6 14:27:48 2009 UTC (7 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.21: +136 -52 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]
Sun Apr 5 22:39:17 2009 UTC (7 months, 3 weeks ago) by adrian
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
Change the index order of the commandfile_list. The command files are now indexed by the basename of the command, and the value is the filename.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 31 01:09:46 2009 UTC (7 months, 4 weeks ago) by grugnog
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19
Moving our core commands from includes to a commands folder, so they can be better organized

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 03:20:27 2009 UTC (8 months ago) by adrian
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18
Typo in parse_args was stopping the short args to work

Revision 1.18 - (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.17: +118 -35 lines
Diff to previous 1.17
#387214 by adrian. Finish up command bootstrap levels and intelligent command listing. Great work.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 20 16:10:54 2009 UTC (8 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.16: +19 -20 lines
Diff to previous 1.16
#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.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 13 10:13:48 2009 UTC (8 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.15: +0 -18 lines
Diff to previous 1.15
Reverting #387214. This broke provision (and proved that it is not sufficient to install sites), the patch on the issue was also not the patch that was committed, so this was reverted with "cvs diff -u -D 2009-03-11 | patch -p0 -R".

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 12 15:39:06 2009 UTC (8 months, 2 weeks ago) by grugnog
Branch: MAIN
Changes since 1.14: +19 -1 lines
Diff to previous 1.14
#387214 - Finish up command bootstrap levels and intelligent command listing

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 15 19:33:38 2009 UTC (9 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.13: +13 -6 lines
Diff to previous 1.13
#372166 - patch for miscellaneous php warnings and notices - thanks mikl

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 5 23:41:39 2009 UTC (9 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.12: +7 -1 lines
Diff to previous 1.12
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.12 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 4 16:36:03 2009 UTC (9 months, 3 weeks ago) by adrian
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
Add the filename as the key to the list of enabled command files.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 2 15:09:16 2009 UTC (9 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
Avoid error related to module depenency in command.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 24 04:33:41 2009 UTC (10 months ago) by weitzman
Branch: MAIN
Changes since 1.9: +21 -1 lines
Diff to previous 1.9
Remove dupe in help text for example.drushrc.php

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 24 04:23:39 2009 UTC (10 months ago) by weitzman
Branch: MAIN
Changes since 1.8: +16 -2 lines
Diff to previous 1.8
Support the 'core' property of a command which is an array indicating which versions of drupal core a command will support. If not specified, 'all versions' is assumed just like before.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 04:48:51 2009 UTC (10 months, 3 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.7: +3 -4 lines
Diff to previous 1.7
Let commands declare bootstrap=-1 which avoids the bootstrap completely. The dl command uses this. You can now download drupal without any pre-existing site. The 'sql load' command in drush_extras also uses this; it provides database migrations between drupal sites.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 14:08:37 2009 UTC (10 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6
Fix a few NOTICEs

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 4 23:34:25 2009 UTC (10 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5
Prevent duplicate paths in

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 22 16:25:11 2008 UTC (11 months ago) by weitzman
Branch: MAIN
Changes since 1.4: +10 -2 lines
Diff to previous 1.4
#349996 by adrian. callback arguments support in drush_command

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 22 15:31:37 2008 UTC (11 months ago) by weitzman
Branch: MAIN
Changes since 1.3: +51 -23 lines
Diff to previous 1.3
#349966 by adrian. DRUSH HEAD not loading drush_extras on D7.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 19 06:16:17 2008 UTC (11 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2
Add 'extras' command which downloads the drush extras project to the current site. From there, you can use pm install and all other commands.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 7 03:29:15 2008 UTC (11 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.1: +3 -3 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, 3 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