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

Issue 1663003003: [Release] Automatically notify mailing list on a pending merge (Closed)

Created:
4 years, 10 months ago by Michael Hablich
Modified:
4 years, 10 months ago
Reviewers:
Michael Achenbach
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Release] Automatically notify mailing list on a pending merge With the combination of the WATCHLISTS feature and create_release.py it is possible to notify the mailing list v8-merges@googlegroups.com on pending merges. On master this notification is deactivated. R=machenbach@chromium.org NOTRY=true Committed: https://crrev.com/ccf47c4d30d95e2f57927251bab1f3f143f665fc Cr-Commit-Position: refs/heads/master@{#33719}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Tweaked the tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1 line) Patch
M WATCHLISTS View 2 chunks +7 lines, -0 lines 0 comments Download
M tools/release/common_includes.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/release/create_release.py View 4 chunks +15 lines, -1 line 0 comments Download
M tools/release/test_scripts.py View 1 3 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Michael Hablich
https://codereview.chromium.org/1663003003/diff/1/tools/release/common_includes.py File tools/release/common_includes.py (right): https://codereview.chromium.org/1663003003/diff/1/tools/release/common_includes.py#newcode53 tools/release/common_includes.py:53: WATCHLISTS_FILE = "WATCHLISTS" Moved it to this file because ...
4 years, 10 months ago (2016-02-03 15:20:52 UTC) #1
Michael Achenbach
lgtm - some suggestions https://codereview.chromium.org/1663003003/diff/1/tools/release/test_scripts.py File tools/release/test_scripts.py (right): https://codereview.chromium.org/1663003003/diff/1/tools/release/test_scripts.py#newcode401 tools/release/test_scripts.py:401: f.write("# 'v8-merges@googlegroups.com',") Please add the ...
4 years, 10 months ago (2016-02-04 08:19:41 UTC) #2
Michael Hablich
https://codereview.chromium.org/1663003003/diff/1/tools/release/test_scripts.py File tools/release/test_scripts.py (right): https://codereview.chromium.org/1663003003/diff/1/tools/release/test_scripts.py#newcode401 tools/release/test_scripts.py:401: f.write("# 'v8-merges@googlegroups.com',") On 2016/02/04 08:19:41, Michael Achenbach wrote: > ...
4 years, 10 months ago (2016-02-04 09:01:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663003003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663003003/20001
4 years, 10 months ago (2016-02-04 09:01:32 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-04 09:02:58 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ccf47c4d30d95e2f57927251bab1f3f143f665fc Cr-Commit-Position: refs/heads/master@{#33719}
4 years, 10 months ago (2016-02-04 09:03:24 UTC) #9
Michael Achenbach
4 years, 10 months ago (2016-02-04 09:28:45 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/1663003003/diff/1/tools/release/test_scripts.py
File tools/release/test_scripts.py (right):

https://codereview.chromium.org/1663003003/diff/1/tools/release/test_scripts....
tools/release/test_scripts.py:924: self.assertTrue(
On 2016/02/04 09:01:22, Hablich wrote:
> On 2016/02/04 08:19:41, Michael Achenbach wrote:
> > optional: You could add an assert here to check that your file has the right
> > content on commit. And rename the method to something more general, i.e.
just
> > CheckCommit.
> 
> Done. Added it to the bottom after all the work was done. Makes more sense.

Makes only sense because the tests are incorrect (insufficient). They don't mock
the side effects of the "git checkout master" command properly. Otherwise there
would be no changes left in the end. But anyways, these tests are messy...
there's a similar comment at the asserts that I added. Which are also wrong...

Powered by Google App Engine
This is Rietveld 408576698