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

Log of /contributions/modules/drush/includes/environment.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.52 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 10 02:50:25 2009 UTC (2 weeks, 1 day ago) by weitzman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.51: +65 -18 lines
Diff to previous 1.51
#586466 by anarcat. Drush.php is no longer directly executable

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 4 22:29:52 2009 UTC (2 weeks, 6 days ago) by weitzman
Branch: MAIN
Changes since 1.50: +72 -11 lines
Diff to previous 1.50
#460924 by greg.1.anderson. remote aliases bug fix - backend_invoke(), small refactor.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 30 21:12:21 2009 UTC (3 weeks, 4 days ago) by weitzman
Branch: MAIN
Changes since 1.49: +14 -3 lines
Diff to previous 1.49
#443576 by Owen Barton. drush_site_path() unaware of sites.php on D7

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 28 11:57:56 2009 UTC (3 weeks, 6 days ago) by weitzman
Branch: MAIN
Changes since 1.48: +1 -2 lines
Diff to previous 1.48
Minor coding standards fixes and one bug fix in includes/sitealias.inc

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 27 16:26:37 2009 UTC (4 weeks ago) by weitzman
Branch: MAIN
Changes since 1.47: +18 -3 lines
Diff to previous 1.47
#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.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 7 16:23:20 2009 UTC (6 weeks, 6 days ago) by weitzman
Branch: MAIN
CVS Tags: DRUPAL-6--2-1
Changes since 1.46: +3 -3 lines
Diff to previous 1.46
#488058 by smk-ka. Don't run tput if it unlikely to be helpful.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 5 02:51:34 2009 UTC (7 weeks, 2 days ago) by weitzman
Branch: MAIN
Changes since 1.45: +10 -3 lines
Diff to previous 1.45
#488058 by smk-ka. Automatically disable coloring of log messages when using windows command shell.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 4 14:32:35 2009 UTC (7 weeks, 2 days ago) by weitzman
Branch: MAIN
Changes since 1.44: +7 -1 lines
Diff to previous 1.44
#591814 by srhaber and own barton. Make http:// prefix optional for --url option

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

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 22 19:30:41 2009 UTC (2 months ago) by weitzman
Branch: MAIN
Changes since 1.42: +7 -1 lines
Diff to previous 1.42
#578448 by hanoii.  in drushrc.php does not work because it gets re-initialized in DRUPAL_BOOTSTRAP_CONFIGURATION.

Revision 1.42 - (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.41: +21 -1 lines
Diff to previous 1.41
#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.41 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 21 01:36:49 2009 UTC (2 months ago) by weitzman
Branch: MAIN
Changes since 1.40: +5 -1 lines
Diff to previous 1.40
#297611 by doug green and moshe weitzman. Store the original working dir before changing into drupal root.

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

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 18 19:17:29 2009 UTC (3 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.38: +7 -2 lines
Diff to previous 1.38
#506250 by Jaza and Gary Feldman. Cygwin robustness.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 7 23:34:53 2009 UTC (4 months, 2 weeks ago) by grugnog
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
#436782 - Senpai - improved error message with table.inc download fail.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 24 00:00:23 2009 UTC (5 months ago) by grugnog
Branch: MAIN
Changes since 1.36: +11 -10 lines
Diff to previous 1.36
#436782 hutch, Senpai - fixing table.inc download destination and help text

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 4 19:48:55 2009 UTC (5 months, 3 weeks ago) by weitzman
Branch: MAIN
CVS Tags: DRUPAL-6--2-0
Changes since 1.35: +34 -2 lines
Diff to previous 1.35
#481592 by adrian. php 5.2.9 and --debug gives session cookie notice

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 4 03:56:07 2009 UTC (5 months, 3 weeks ago) by grugnog
Branch: MAIN
Changes since 1.34: +1 -11 lines
Diff to previous 1.34
#453948 - Moved PHP version check to drush.php, since environment.inc try/catch doesn't parse in php4. At some point we could move this to an engine, if we find enough cases to make it worthwhile.

Revision 1.34 - (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.33: +28 -1 lines
Diff to previous 1.33
#436782 - Owen Barton, adrian, moshe weitzman - Wrap stdout at 80 characters (where reasonable)

Revision 1.33 - (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.32: +4 -1 lines
Diff to previous 1.32
#459678 - allow drush files to be located in a system wide location

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 21 05:54:45 2009 UTC (6 months ago) by grugnog
Branch: MAIN
Changes since 1.31: +21 -1 lines
Diff to previous 1.31
#453948 - checking PHP 5.2 and safe mode

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 12 00:17:24 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
#459582 by greg.1.anderson. Fix sql environment initialization for Drupal 6

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 11 15:13:55 2009 UTC (6 months, 2 weeks ago) by weitzman
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29
#455590 by edhaber. PHP Notice on Windows.

Revision 1.29 - (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.28: +5 -2 lines
Diff to previous 1.28
#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.28 - (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.27: +8 -1 lines
Diff to previous 1.27
#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.27 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 7 22:18:26 2009 UTC (6 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.26: +4 -2 lines
Diff to previous 1.26
Backend option implies affirmative. Operating over a unix pipe does not allow interactive usage

Revision 1.26 - (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.25: +6 -2 lines
Diff to previous 1.25
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.25 - (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.24: +5 -1 lines
Diff to previous 1.24
#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.24 - (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.23: +2 -1 lines
Diff to previous 1.23
#449090 by Grugnog2. Major improvements in error messaging around: The command 'drush.php ... could not be executed.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 3 02:42:49 2009 UTC (6 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.22: +7 -2 lines
Diff to previous 1.22
#441470 by bevan. Support non-default db port.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 1 13:20:44 2009 UTC (6 months, 3 weeks ago) by weitzman
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21
#450284 by XenoPage. Fix password decode.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 24 11:47:07 2009 UTC (7 months ago) by weitzman
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
#433652 by kdebaas. special shell characters in password aren't being escaped, triggering MySQL access denied.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 18 00:09:02 2009 UTC (7 months, 1 week ago) by grugnog
Branch: MAIN
Changes since 1.19: +6 -2 lines
Diff to previous 1.19
Correct handling of $db_url, since it can optionally be an array in Drupal 5 or 6

Revision 1.19 - (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.18: +6 -1 lines
Diff to previous 1.18
First round of NOTICE fixes. Add help for updatedb.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 16 02:35:43 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.17: +3 -3 lines
Diff to previous 1.17
D7 Db credentials fix.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 16 01:29:50 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
Typo in site validation

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 15 17:35:15 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.15: +8 -2 lines
Diff to previous 1.15
#434430 - add a test to see if the db driver has been installed in PDO

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 15 14:50:14 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
#434328 - only set bootstrap phase after the bootstrap function has been called, and change the label on the password field.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 14 04:49:03 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.13: +24 -1 lines
Diff to previous 1.13
Nicer status command, using an improved _core_site_credentials. Refactor pm slightly to use the new drush_bootstrap_max which bootstraps to the highest possible phase without generating any errors. This is also used by the status command now

Revision 1.13 - (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.12: +197 -63 lines
Diff to previous 1.12
#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.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 14 00:37:49 2009 UTC (7 months, 1 week ago) by weitzman
Branch: MAIN
Changes since 1.11: +74 -18 lines
Diff to previous 1.11
feature #426958 by Adrian. Stricter pre-validation on drush bootstrap to allow for easier recovery from errors.

Revision 1.11 - (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.10: +11 -6 lines
Diff to previous 1.10
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.10 - (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.9: +1 -4 lines
Diff to previous 1.9
#349923 by Adrian. drush_invoke : a flexible API for hooking into drush commands. Very useful.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 5 22:32:59 2009 UTC (7 months, 2 weeks ago) by adrian
Branch: MAIN
Changes since 1.8: +9 -44 lines
Diff to previous 1.8
Remove drush_site_uri which is no longer needed

Revision 1.8 - (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.7: +2 -2 lines
Diff to previous 1.7
#414058 - Simplify error handling code by removing bitmasks

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 00:14:43 2009 UTC (8 months ago) by adrian
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
#414004 - typo in bootstrap code. Thanks anarcat

Revision 1.6 - (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.5: +338 -1 lines
Diff to previous 1.5
#387214 by adrian. Finish up command bootstrap levels and intelligent command listing. Great work.

Revision 1.5 - (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.4: +1 -148 lines
Diff to previous 1.4
#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.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 28 18:46:46 2009 UTC (8 months, 3 weeks ago) by grugnog
Branch: MAIN
Changes since 1.3: +26 -24 lines
Diff to previous 1.3
Various debugging/cleanup for the bootstrap process:
* drush_locate_root() no longer has a static cache, because this was caching FALSE from the call in drush_load_config() when drush is called from outside the Drupal root, and then fails to find a valid Drupal root when provided by a drushrc.php.
* Standardized on global $var as much as possible, rather than $GLOBALS['var'], in line with the majority of core.
* Improved error handling when specifying a config file, and when printing the Drupal root on bootstrap fail message.

Revision 1.3 - (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.2: +7 -1 lines
Diff to previous 1.2
#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.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 16 19:50:56 2009 UTC (10 months, 1 week 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.1: +2 -2 lines
Diff to previous 1.1
fix typo in comment

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