Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1942)

Unified Diff: testing_support/gerrit-init.sh

Issue 23851027: Turn off gerrit emails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing_support/gerrit-init.sh
diff --git a/testing_support/gerrit-init.sh b/testing_support/gerrit-init.sh
index 0f3ab32d9366dd7737e8baa8feb2d577297cf825..3169ed45bd8d5bd33e556e27a1f6e052cc7cf4c4 100755
--- a/testing_support/gerrit-init.sh
+++ b/testing_support/gerrit-init.sh
@@ -142,7 +142,8 @@ if [ ! -e "$gerrit_exe" ]; then
fi
# By default, gerrit only accepts https connections, which is a good thing. But
-# for testing, it's convenient to enable plain http.
+# for testing, it's convenient to enable plain http. Also, turn off all email
+# notifications.
mkdir -p "${rundir}/etc"
cat <<EOF > "${rundir}/etc/gerrit.config"
[auth]
@@ -154,6 +155,8 @@ cat <<EOF > "${rundir}/etc/gerrit.config"
listenUrl = http://*:${http_port}/
[sshd]
listenAddress = *:${ssh_port}
+[sendemail]
+ enable = false
EOF
# Initialize the gerrit instance.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698