Skip to content

Instantly share code, notes, and snippets.

View omega8cc's full-sized avatar

BOA Dev Team omega8cc

View GitHub Profile
grep ZSH_VERSION -R .rvm/*
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/man/Makefile.in:am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/include/Makefile.in:am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/configure:if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/configure:if test -z "$BASH_VERSION$ZSH_VERSION" \
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/configure: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/configure: test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/configure: if test x${ZSH_VERSION+set} = xset ; then
gems/ruby-2.0.0-p598/gems/ffi-1.9.6/ext/ffi_c/libffi/configure: $as_echo "$0: In particular, zsh $ZSH_VE
#!/bin/bash
# Backs up the database and filesystem for a webapp
# Dumps a current db snapshot and moves it to within the
# webapp's directory structure, so that Duplicity can
# back it up to Amazon's S3 service
# Based on instructions by Randy Sesser:
# http://www.randys.org/2007/11/16/how-to-automated-backups-to-amazon-s-s3-with-duplicity/
This little magic will update important BOA scripts and apply the patch
to fix Drupal 7 core vulnerability: https://www.drupal.org/SA-CORE-2014-005
in all built-in D7 platforms.
Note that it will *not* fix anything in custom platforms created in the
~/static directory tree - you will have to apply this patch manually there:
https://www.drupal.org/files/issues/SA-CORE-2014-005-D7.patch
WARNING! Do not run this magic fix if you have BOA system older than 2.3.0
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 1f69df1f13c4d22fcb93c8388906341ba1564d14..bf6500a738f9edbbc36ae36bec6b0416b0583270 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -880,7 +880,13 @@ function _drush_bootstrap_drupal_configuration() {
if (is_array($url)) {
$url = $url['default'];
}
+ drush_log(dt('DEBUG DRUSH_DB_CREDENTIALS A @url', array('@url' => $url)));
+ if (preg_match("/@:3306/", $url)) {
Submitted by admin on Thu, 09/18/2014 - 19:52
Site: prof.crm45.d7.civi.o1.base.qq.o8.io
Status: Successful
Executed: Thu, 09/18/2014 - 19:53
Execution time: 15 sec
Log message
Task starts processing
Returned from hook drush_hosting_task_validate
Calling hook drush_hosting_alias_pre_hosting_task
Returned from hook drush_hosting_alias_pre_hosting_task
Submitted by admin on Thu, 09/18/2014 - 19:32
Site: crm45.d6.civi.o1.base.qq.o8.io
Status: Failed
Executed: Thu, 09/18/2014 - 19:34
Execution time: 9 sec
Log message
Log message
Task starts processing
Returned from hook drush_hosting_task_validate
Submitted by admin on Wed, 09/17/2014 - 18:14
Site: ok.d7.civi.o1.base.qq.o8.io
Status: Successful
Executed: Wed, 09/17/2014 - 18:15
Execution time: 13 sec
Log message
Task starts processing
Returned from hook drush_hosting_task_validate
Calling hook drush_hosting_alias_pre_hosting_task
Returned from hook drush_hosting_alias_pre_hosting_task
Submitted by admin on Wed, 09/17/2014 - 17:41
Site: test.d7.civi.o1.base.qq.o8.io
Status: Successful
Executed: Wed, 09/17/2014 - 17:41
Execution time: 15 sec
Log message
Task starts processing
Returned from hook drush_hosting_task_validate
Calling hook drush_hosting_alias_pre_hosting_task
Returned from hook drush_hosting_alias_pre_hosting_task
Submitted by admin on Wed, 09/17/2014 - 17:32
Site: latest.d6.civi.o1.base.qq.o8.io
Status: Failed
Executed: Wed, 09/17/2014 - 17:32
Execution time: 9 sec
Log message
Task starts processing
Returned from hook drush_hosting_task_validate
Calling hook drush_hosting_alias_pre_hosting_task
Submitted by admin on Wed, 09/17/2014 - 08:44
Site: q5.civi-pro.o1.base.qq.o8.io
Status: Failed
Executed: Wed, 09/17/2014 - 08:44
Execution time: 8 sec
Log message
Log message
Task starts processing
Returned from hook drush_hosting_task_validate