fix(ops/gerrit): send mail with the triggering user's name on it
We found this bug in Lix's config and noticed Snix had the same bug; see4b9e84fa0aandb47965fe8f. Change-Id: I65b14839a62c4e779136c1c34750d15cedaaddc8 Reviewed-on: https://cl.snix.dev/c/snix/+/30605 Tested-by: besadii Reviewed-by: Florian Klink <flokli@flokli.de>
This commit is contained in:
parent
afec95e269
commit
be68d89901
1 changed files with 10 additions and 1 deletions
|
|
@ -148,6 +148,12 @@ in
|
||||||
# password against the backing OAuth provider.
|
# password against the backing OAuth provider.
|
||||||
auth.gitBasicAuthPolicy = "HTTP";
|
auth.gitBasicAuthPolicy = "HTTP";
|
||||||
|
|
||||||
|
# Used for system-authored commits
|
||||||
|
user = {
|
||||||
|
name = "Snix Gerrit";
|
||||||
|
email = "gerrit@snix.dev";
|
||||||
|
};
|
||||||
|
|
||||||
# Email sending
|
# Email sending
|
||||||
#
|
#
|
||||||
# Note that sendemail.smtpPass is stored in
|
# Note that sendemail.smtpPass is stored in
|
||||||
|
|
@ -158,7 +164,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
html = true; # multi-part, both html and plaintext
|
html = true; # multi-part, both html and plaintext
|
||||||
connectTimeout = "10sec";
|
connectTimeout = "10sec";
|
||||||
from = "Snix Code Review <gerrit@snix.dev>";
|
# Include the name of the user triggering the mailing.
|
||||||
|
# See:
|
||||||
|
# https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#user.email
|
||||||
|
from = "\${user} (Snix Gerrit) <gerrit@snix.dev>";
|
||||||
includeDiff = true;
|
includeDiff = true;
|
||||||
smtpEncryption = "tls";
|
smtpEncryption = "tls";
|
||||||
smtpServer = "smtp.postmarkapp.com";
|
smtpServer = "smtp.postmarkapp.com";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue