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

Issue 19878007: Add build mailer capability to support gatekeeper_ng. (Closed)

Created:
7 years, 5 months ago by Mike Stip (use stip instead)
Modified:
7 years, 3 months ago
Reviewers:
Vadim Sh., agable, iannucci
CC:
chromium-reviews, cmp+cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/chromium-build@master
Visibility:
Public.

Description

Add build mailer capability to support gatekeeper_ng. BUG=227883 R=iannucci@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220739

Patch Set 1 #

Total comments: 19

Patch Set 2 : Adds email HTML test. #

Patch Set 3 : Adds datastore-based auth. #

Total comments: 29

Patch Set 4 : Begin jinja conversion. #

Patch Set 5 : Jinjify everything. #

Patch Set 6 : Add authentication unittests. #

Patch Set 7 : Address some nits. #

Patch Set 8 : Set proper mailer address. #

Total comments: 2

Patch Set 9 : Change hmac auth per iannucci's recommendations. #

Patch Set 10 : Fix colors. #

Patch Set 11 : Rebase to latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+738 lines, -0 lines) Patch
M app.yaml View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M app_test.py View 1 2 3 4 5 6 7 8 9 2 chunks +77 lines, -0 lines 0 comments Download
A gatekeeper_mailer.py View 1 2 3 4 5 1 chunk +94 lines, -0 lines 0 comments Download
A mailer.py View 1 2 3 4 5 6 7 8 1 chunk +195 lines, -0 lines 0 comments Download
A templates/base_mail.html View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
A templates/base_mailer.html View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A templates/mail_text.txt View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
A templates/main_mailer.html View 1 chunk +7 lines, -0 lines 0 comments Download
A templates/waterfall_mail.html View 1 2 3 4 5 6 7 8 9 1 chunk +87 lines, -0 lines 0 comments Download
A tests/test_mailer/expected.html View 1 2 3 4 5 6 7 8 9 1 chunk +211 lines, -0 lines 0 comments Download
A tests/test_mailer/input.json View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M utils.py View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mike Stip (use stip instead)
ptal Note that this is still under development (auth and tests) but any early comments ...
7 years, 5 months ago (2013-07-23 12:26:21 UTC) #1
agable
I'd suggest a general refactoring of gatekeeper_mailer, just because its organization is a little bit ...
7 years, 4 months ago (2013-08-01 17:52:44 UTC) #2
Vadim Sh.
https://codereview.chromium.org/19878007/diff/7001/app.yaml File app.yaml (right): https://codereview.chromium.org/19878007/diff/7001/app.yaml#newcode33 app.yaml:33: script: mailer.app secure: always and use https:// on sender ...
7 years, 3 months ago (2013-08-26 21:30:41 UTC) #3
iannucci
https://codereview.chromium.org/19878007/diff/7001/mailer.py File mailer.py (right): https://codereview.chromium.org/19878007/diff/7001/mailer.py#newcode56 mailer.py:56: return client_hash == message['sha256'] On 2013/08/26 21:30:41, Vadim Sh. ...
7 years, 3 months ago (2013-08-27 21:45:20 UTC) #4
Mike Stip (use stip instead)
still WIP https://codereview.chromium.org/19878007/diff/1/gatekeeper_mailer.py File gatekeeper_mailer.py (right): https://codereview.chromium.org/19878007/diff/1/gatekeeper_mailer.py#newcode27 gatekeeper_mailer.py:27: url = '%sbuilders/%s/builds/%d' % ( On 2013/08/01 ...
7 years, 3 months ago (2013-08-29 19:56:46 UTC) #5
Mike Stip (use stip instead)
ptal
7 years, 3 months ago (2013-08-30 04:01:28 UTC) #6
iannucci
this is too big and lgtm. Probably just commit+deploy and then issue some more CLs ...
7 years, 3 months ago (2013-08-30 04:24:05 UTC) #7
Mike Stip (use stip instead)
7 years, 3 months ago (2013-09-01 21:31:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #11 manually as r220739 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698