Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
contributors.debian.org
Commits
4d90a212
Verified
Commit
4d90a212
authored
Jun 25, 2021
by
Mattia Rizzolo
Browse files
deployer: send emails using the committer address, not the author's
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
3976a605
Pipeline
#264491
passed with stage
in 1 minute and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deploy/management/commands/deploy.py
View file @
4d90a212
...
...
@@ -112,7 +112,7 @@ class Command(BaseCommand):
deployer
=
Deployer
(
dry_run
=
options
[
"dry_run"
])
try
:
deployer
.
select_branch
()
email_handler
.
fromaddr
=
deployer
.
ref
.
commit
.
autho
r
.
email
email_handler
.
fromaddr
=
deployer
.
ref
.
commit
.
committe
r
.
email
log
.
debug
(
"Email from: %s"
,
email_handler
.
fromaddr
)
log
.
debug
(
"Email to: %r"
,
email_handler
.
toaddrs
)
log
.
debug
(
"Email subject: %s"
,
email_handler
.
subject
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment