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

Issue 258473002: Add simple PRESUBMIT check to ensure that all files ending with .json can (Closed)

Created:
6 years, 8 months ago by iannucci
Modified:
6 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@git-svn
Visibility:
Public.

Description

Add simple PRESUBMIT check to ensure that all files ending with .json can be loaded as json. R=jochen@chromium.org, maruel@chromium.org BUG=366395 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265881

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M PRESUBMIT.py View 1 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
iannucci
6 years, 8 months ago (2014-04-24 00:25:37 UTC) #1
iannucci
PTAL :)
6 years, 8 months ago (2014-04-24 00:31:38 UTC) #2
M-A Ruel
https://codereview.chromium.org/258473002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/258473002/diff/1/PRESUBMIT.py#newcode12 PRESUBMIT.py:12: import json not needed https://codereview.chromium.org/258473002/diff/1/PRESUBMIT.py#newcode1069 PRESUBMIT.py:1069: for fpath in ...
6 years, 8 months ago (2014-04-24 00:32:49 UTC) #3
iannucci
PTAL https://chromiumcodereview.appspot.com/258473002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://chromiumcodereview.appspot.com/258473002/diff/1/PRESUBMIT.py#newcode1069 PRESUBMIT.py:1069: for fpath in input_api.AffectedFiles(file_filter= file_filter): On 2014/04/24 00:32:50, ...
6 years, 8 months ago (2014-04-24 00:36:20 UTC) #4
M-A Ruel
lgtm
6 years, 8 months ago (2014-04-24 00:37:30 UTC) #5
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 00:39:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/258473002/20001
6 years, 8 months ago (2014-04-24 00:40:37 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 01:18:44 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-24 01:18:44 UTC) #9
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 01:31:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/258473002/20001
6 years, 8 months ago (2014-04-24 01:59:51 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 03:34:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-24 03:34:07 UTC) #13
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 03:36:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/258473002/20001
6 years, 8 months ago (2014-04-24 03:36:36 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 04:16:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-24 04:16:48 UTC) #17
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 04:30:23 UTC) #18
iannucci
The CQ bit was unchecked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 04:52:57 UTC) #19
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 04:53:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/258473002/20001
6 years, 8 months ago (2014-04-24 04:57:12 UTC) #21
iannucci
The CQ bit was unchecked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 07:20:30 UTC) #22
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-24 07:20:38 UTC) #23
commit-bot: I haz the power
Change committed as 265881
6 years, 8 months ago (2014-04-24 08:25:27 UTC) #24
Yoyo Zhou
I tripped over this change today because it doesn't deal with comments in the JSON ...
6 years, 8 months ago (2014-04-24 19:40:09 UTC) #25
Yoyo Zhou
6 years, 8 months ago (2014-04-24 20:19:19 UTC) #26
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/251443005/ by yoz@chromium.org.

The reason for reverting is: This presubmit rejects existing .json files in the
tree that contain comments.
(It also doesn't provide enough information about where the json is invalid.).

Powered by Google App Engine
This is Rietveld 408576698