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

Issue 23512007: Prase IDL files in common/extensions/api PRESUBMIT check. (Closed)

Created:
7 years, 3 months ago by Haojian Wu
Modified:
7 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Prase IDL files in common/extensions/api PRESUBMIT check. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224709

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address comments #

Patch Set 3 : Update comments #

Patch Set 4 : Nits fixing #

Total comments: 10

Patch Set 5 : Update #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : Update #

Total comments: 2

Patch Set 8 : Update #

Patch Set 9 : #

Patch Set 10 : Using AbsoluteLocalPath to avoid checking error #

Patch Set 11 : Exclude test files. #

Total comments: 3

Patch Set 12 : Update #

Patch Set 13 : Fix expected_errors in test file. #

Total comments: 1

Patch Set 14 : Update #

Total comments: 2

Patch Set 15 : Update again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -35 lines) Patch
M chrome/common/extensions/api/PRESUBMIT.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +32 lines, -9 lines 0 comments Download
M chrome/common/extensions/api/PRESUBMIT_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +46 lines, -26 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_1.idl View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_2.idl View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_3.idl View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_4.idl View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_5.idl View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_6.idl View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_7.idl View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_8.idl View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_json_1.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_json_2.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_json_3.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/invalid_json_4.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/valid_idl_basics.idl View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/test_presubmit/valid_json.json View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
Haojian Wu
yoz@, kalman@ for correctness. maruel@ for pythonness.
7 years, 3 months ago (2013-09-09 11:09:37 UTC) #1
M-A Ruel
On 2013/09/09 11:09:37, Haojian Wu wrote: > yoz@, kalman@ for correctness. > maruel@ for pythonness. ...
7 years, 3 months ago (2013-09-09 14:00:11 UTC) #2
not at google - send to devlin
https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT.py#newcode58 chrome/common/extensions/api/PRESUBMIT.py:58: filename = affected_file.AbsoluteLocalPath() too much indent https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT.py#newcode62 chrome/common/extensions/api/PRESUBMIT.py:62: 'Features ...
7 years, 3 months ago (2013-09-09 16:14:07 UTC) #3
Yoyo Zhou
https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT_test.py File chrome/common/extensions/api/PRESUBMIT_test.py (right): https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT_test.py#newcode84 chrome/common/extensions/api/PRESUBMIT_test.py:84: filename = 'test_presubmit/invalid_idl_' + str(i+1) + '.idl' Why not ...
7 years, 3 months ago (2013-09-09 17:19:27 UTC) #4
Haojian Wu
https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/1/chrome/common/extensions/api/PRESUBMIT.py#newcode58 chrome/common/extensions/api/PRESUBMIT.py:58: filename = affected_file.AbsoluteLocalPath() On 2013/09/09 16:14:07, kalman wrote: > ...
7 years, 3 months ago (2013-09-10 02:51:04 UTC) #5
not at google - send to devlin
lgtm with those changes. https://chromiumcodereview.appspot.com/23512007/diff/12002/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/12002/chrome/common/extensions/api/PRESUBMIT.py#newcode35 chrome/common/extensions/api/PRESUBMIT.py:35: return None you could just ...
7 years, 3 months ago (2013-09-10 22:51:20 UTC) #6
Haojian Wu
https://chromiumcodereview.appspot.com/23512007/diff/12002/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/12002/chrome/common/extensions/api/PRESUBMIT.py#newcode35 chrome/common/extensions/api/PRESUBMIT.py:35: return None On 2013/09/10 22:51:21, kalman wrote: > you ...
7 years, 3 months ago (2013-09-11 01:10:22 UTC) #7
M-A Ruel
https://chromiumcodereview.appspot.com/23512007/diff/25001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/25001/chrome/common/extensions/api/PRESUBMIT.py#newcode5 chrome/common/extensions/api/PRESUBMIT.py:5: import os Not necessary https://chromiumcodereview.appspot.com/23512007/diff/25001/chrome/common/extensions/api/PRESUBMIT.py#newcode53 chrome/common/extensions/api/PRESUBMIT.py:53: filename = affected_file.AbsoluteLocalPath() ...
7 years, 3 months ago (2013-09-11 13:37:58 UTC) #8
Haojian Wu
https://chromiumcodereview.appspot.com/23512007/diff/25001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/25001/chrome/common/extensions/api/PRESUBMIT.py#newcode5 chrome/common/extensions/api/PRESUBMIT.py:5: import os On 2013/09/11 13:37:59, M-A Ruel wrote: > ...
7 years, 3 months ago (2013-09-11 14:48:57 UTC) #9
M-A Ruel
still lgtm https://chromiumcodereview.appspot.com/23512007/diff/30001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/30001/chrome/common/extensions/api/PRESUBMIT.py#newcode46 chrome/common/extensions/api/PRESUBMIT.py:46: '.idl': _GetIDLParseError add a coma, and sort ...
7 years, 3 months ago (2013-09-11 14:54:51 UTC) #10
Haojian Wu
https://chromiumcodereview.appspot.com/23512007/diff/30001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/30001/chrome/common/extensions/api/PRESUBMIT.py#newcode46 chrome/common/extensions/api/PRESUBMIT.py:46: '.idl': _GetIDLParseError On 2013/09/11 14:54:51, M-A Ruel wrote: > ...
7 years, 3 months ago (2013-09-11 15:20:05 UTC) #11
Haojian Wu
On 2013/09/11 15:20:05, Haojian Wu wrote: > https://chromiumcodereview.appspot.com/23512007/diff/30001/chrome/common/extensions/api/PRESUBMIT.py > File chrome/common/extensions/api/PRESUBMIT.py (right): > > https://chromiumcodereview.appspot.com/23512007/diff/30001/chrome/common/extensions/api/PRESUBMIT.py#newcode46 ...
7 years, 3 months ago (2013-09-12 00:06:03 UTC) #12
Yoyo Zhou
LGTM
7 years, 3 months ago (2013-09-12 18:57:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/23512007/31018
7 years, 3 months ago (2013-09-13 00:18:11 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=25237
7 years, 3 months ago (2013-09-13 00:34:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/23512007/49001
7 years, 3 months ago (2013-09-13 10:06:59 UTC) #16
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=25326
7 years, 3 months ago (2013-09-13 10:18:37 UTC) #17
Haojian Wu
On 2013/09/13 10:18:37, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 3 months ago (2013-09-13 10:28:06 UTC) #18
not at google - send to devlin
Move the test files into a test/ directory and exclude that from the presubmit.
7 years, 3 months ago (2013-09-13 16:16:13 UTC) #19
Yoyo Zhou
On 2013/09/13 16:16:13, kalman wrote: > Move the test files into a test/ directory and ...
7 years, 3 months ago (2013-09-13 16:45:37 UTC) #20
Haojian Wu
On 2013/09/13 16:45:37, Yoyo Zhou wrote: > On 2013/09/13 16:16:13, kalman wrote: > > Move ...
7 years, 3 months ago (2013-09-14 08:13:10 UTC) #21
Haojian Wu
https://chromiumcodereview.appspot.com/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py#newcode53 chrome/common/extensions/api/PRESUBMIT.py:53: for affected_file in filter(lambda f: "test_presubmit" not in f.LocalPath(), ...
7 years, 3 months ago (2013-09-14 08:13:24 UTC) #22
Haojian Wu
On 2013/09/14 08:13:24, Haojian Wu wrote: > https://chromiumcodereview.appspot.com/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py > File chrome/common/extensions/api/PRESUBMIT.py (right): > > https://chromiumcodereview.appspot.com/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py#newcode53 ...
7 years, 3 months ago (2013-09-17 00:38:29 UTC) #23
Yoyo Zhou
https://chromiumcodereview.appspot.com/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py#newcode53 chrome/common/extensions/api/PRESUBMIT.py:53: for affected_file in filter(lambda f: "test_presubmit" not in f.LocalPath(), ...
7 years, 3 months ago (2013-09-17 19:50:20 UTC) #24
Haojian Wu
https://codereview.chromium.org/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://codereview.chromium.org/23512007/diff/58001/chrome/common/extensions/api/PRESUBMIT.py#newcode53 chrome/common/extensions/api/PRESUBMIT.py:53: for affected_file in filter(lambda f: "test_presubmit" not in f.LocalPath(), ...
7 years, 3 months ago (2013-09-18 00:37:34 UTC) #25
Yoyo Zhou
LGTM
7 years, 3 months ago (2013-09-18 01:04:30 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/23512007/65001
7 years, 3 months ago (2013-09-18 01:19:16 UTC) #27
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=25981
7 years, 3 months ago (2013-09-18 01:32:49 UTC) #28
Haojian Wu
https://codereview.chromium.org/23512007/diff/76001/chrome/common/extensions/api/PRESUBMIT_test.py File chrome/common/extensions/api/PRESUBMIT_test.py (right): https://codereview.chromium.org/23512007/diff/76001/chrome/common/extensions/api/PRESUBMIT_test.py#newcode44 chrome/common/extensions/api/PRESUBMIT_test.py:44: 'Expecting , delimiter: line 8 column 12 (char 18)', ...
7 years, 3 months ago (2013-09-18 02:00:37 UTC) #29
not at google - send to devlin
On 2013/09/18 02:00:37, Haojian Wu wrote: > https://codereview.chromium.org/23512007/diff/76001/chrome/common/extensions/api/PRESUBMIT_test.py > File chrome/common/extensions/api/PRESUBMIT_test.py (right): > > https://codereview.chromium.org/23512007/diff/76001/chrome/common/extensions/api/PRESUBMIT_test.py#newcode44 ...
7 years, 3 months ago (2013-09-18 15:30:06 UTC) #30
Haojian Wu
On 2013/09/18 15:30:06, kalman wrote: > Maybe it's that the windows has \r characters and ...
7 years, 2 months ago (2013-09-22 16:32:59 UTC) #31
Yoyo Zhou
LGTM https://codereview.chromium.org/23512007/diff/81001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://codereview.chromium.org/23512007/diff/81001/chrome/common/extensions/api/PRESUBMIT.py#newcode29 chrome/common/extensions/api/PRESUBMIT.py:29: process = input_api.subprocess.Popen( Do we need universal_newlines here ...
7 years, 2 months ago (2013-09-22 18:17:21 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/23512007/81001
7 years, 2 months ago (2013-09-22 23:08:35 UTC) #33
Haojian Wu
https://codereview.chromium.org/23512007/diff/81001/chrome/common/extensions/api/PRESUBMIT.py File chrome/common/extensions/api/PRESUBMIT.py (right): https://codereview.chromium.org/23512007/diff/81001/chrome/common/extensions/api/PRESUBMIT.py#newcode29 chrome/common/extensions/api/PRESUBMIT.py:29: process = input_api.subprocess.Popen( On 2013/09/22 18:17:22, Yoyo Zhou wrote: ...
7 years, 2 months ago (2013-09-23 04:21:42 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/23512007/108001
7 years, 2 months ago (2013-09-23 04:22:30 UTC) #35
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=81735
7 years, 2 months ago (2013-09-23 10:43:07 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/23512007/108001
7 years, 2 months ago (2013-09-23 11:16:01 UTC) #37
commit-bot: I haz the power
7 years, 2 months ago (2013-09-23 12:16:30 UTC) #38
Message was sent while issue was closed.
Change committed as 224709

Powered by Google App Engine
This is Rietveld 408576698