#At bzr+ssh://bk-internal.mysql.com/bzrroot/mysql-falcon/
247 Hakan Kuecuekyilmaz 2008-09-04
Separated log messages into [INFO] and [ERROR] parts.
modified:
dbt2/bzr_checkout_dbt2.sh
dbt2/include/host_caneland.inc
dbt2/include/host_lu0009.inc
dbt2/include/host_walldorf.inc
=== modified file 'dbt2/bzr_checkout_dbt2.sh'
--- a/dbt2/bzr_checkout_dbt2.sh 2008-09-03 06:03:39 +0000
+++ b/dbt2/bzr_checkout_dbt2.sh 2008-09-04 14:11:10 +0000
@@ -27,7 +27,7 @@ HOSTNAME=$(hostname)
#
HOST_INCLUDE_FILE="include/host_${HOSTNAME}.inc"
if [ ! -f "${HOST_INCLUDE_FILE}" ]; then
- echo "Include file for host ${HOSTNAME} not found."
+ echo "[ERROR] Include file for host ${HOSTNAME} not found."
echo "Was looking for: ${PWD}/${HOST_INCLUDE_FILE}"
echo "Exiting."
exit 1
@@ -76,7 +76,7 @@ apply_patches ()
fi
done
else
- echo "[NOTE] Directory $PATCHES does not exist."
+ echo "[INFO] Directory $PATCHES does not exist."
echo 'If you want custom patches to be applied,'
echo "then provide them in directory $PATCHES"
echo 'and they will be automatically applied.'
@@ -94,12 +94,12 @@ echo "[INFO] Starting Weekly Falcon DBT2
rm -rf $FALCON_WORK
if [ ! -d $FALCON_LOCAL_MASTER ]; then
- echo 'Initial branch did not exist. Branching now'
+ echo '[INFO] Initial branch did not exist. Branching now'
echo 'This will take quite a while!'
bzr branch $FALCON_BZR_ROOT $FALCON_LOCAL_MASTER >> $LOG 2>&1
fi
if [ $? != 0 ]; then
- echo "Branching of $FALCON_BZR_ROOT failed" >> $LOG
+ echo "[ERROR] Branching of $FALCON_BZR_ROOT failed" >> $LOG
exit 1
fi
@@ -107,13 +107,13 @@ fi
cd $FALCON_LOCAL_MASTER
bzr pull >> $LOG 2>&1
if [ $? != 0 ]; then
- echo "Pull of $FALCON_LOCAL_MASTER failed" >> $LOG
+ echo "[ERROR] Pull of $FALCON_LOCAL_MASTER failed" >> $LOG
exit 1
fi
bzr branch $FALCON_LOCAL_MASTER $FALCON_WORK >> $LOG 2>&1
if [ $? != 0 ]; then
- echo "Branching of $FALCON_WORK failed." >> $LOG
+ echo "[ERROR] Branching of $FALCON_WORK failed." >> $LOG
exit 1
fi
=== modified file 'dbt2/include/host_caneland.inc'
--- a/dbt2/include/host_caneland.inc 2008-09-03 06:03:39 +0000
+++ b/dbt2/include/host_caneland.inc 2008-09-04 14:11:10 +0000
@@ -14,7 +14,8 @@
# Where to send email in case of severe errors.
-ADMIN='hky@stripped'
+#ADMIN='hky@stripped'
+ADMIN='hakan@stripped'
# User name for bzr on bk-internal.mysql.com.
# Note: Make sure automatic SSH authentication is properly set up, so
=== modified file 'dbt2/include/host_lu0009.inc'
--- a/dbt2/include/host_lu0009.inc 2008-09-03 06:03:39 +0000
+++ b/dbt2/include/host_lu0009.inc 2008-09-04 14:11:10 +0000
@@ -14,7 +14,8 @@
# Where to send email in case of severe errors.
-ADMIN='hky@stripped'
+#ADMIN='hky@stripped'
+ADMIN='hakan@stripped'
# User name for bzr on bk-internal.mysql.com.
# Note: Make sure automatic SSH authentication is properly set up, so
=== modified file 'dbt2/include/host_walldorf.inc'
--- a/dbt2/include/host_walldorf.inc 2008-09-03 06:03:39 +0000
+++ b/dbt2/include/host_walldorf.inc 2008-09-04 14:11:10 +0000
@@ -1,6 +1,6 @@
#
# Set various paths and other variables that may depend on host or platform.
-# This file is for the host caneland.mysql.com.
+# This file is for the host walldorf@home_of_hakan.
#
# walldorf@home
# OS: Linux (RHEL5)
@@ -14,7 +14,8 @@
# Where to send email in case of severe errors.
-ADMIN='hky@stripped'
+#ADMIN='hky@stripped'
+ADMIN='hakan@stripped'
# User name for bzr on bk-internal.mysql.com.
# Note: Make sure automatic SSH authentication is properly set up, so
| Thread |
|---|
| • bzr commit into mysql-falcon branch (hky:247) | Hakan Kuecuekyilmaz | 4 Sep |