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

Issue 18112015: Add PRESUBMIT.py file to net/websockets (Closed)

Created:
7 years, 5 months ago by Adam Rice
Modified:
7 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add PRESUBMIT.py file to net/websockets Keep the README file up-to-date by warning people who don't update it. Include PRESUBMIT.py in the README file so that it doesn't warn about itself. We intentionally don't warn about existing errors in README. We also don't warn in the case of deletions (too rare to be worth coding for). Tested cases: No files in CL - no warning One added file in CL - warning One added file in CL, README changed but with typo - warning One added + one modified file in CL - warning for added file One added + one modified file which is missing from README in CL - warning for added file One added + one deleted file in CL - warning for added file One added + one deleted file which was missing from README in CL - warning for added file One added file also added to README - no warning Two added files, one in README - warns about the file not in README One file modified - no warning One file deleted - no warning BUG=258767 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211387

Patch Set 1 #

Total comments: 6

Patch Set 2 : Re-write PRESUBMIT using set operations #

Total comments: 4

Patch Set 3 : Changes from tyoshino review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
A net/websockets/PRESUBMIT.py View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M net/websockets/README View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Adam Rice
7 years, 5 months ago (2013-07-10 08:12:01 UTC) #1
yhirano
https://codereview.chromium.org/18112015/diff/1/net/websockets/PRESUBMIT.py File net/websockets/PRESUBMIT.py (right): https://codereview.chromium.org/18112015/diff/1/net/websockets/PRESUBMIT.py#newcode31 net/websockets/PRESUBMIT.py:31: added_source_files = [af for af in input_api.AffectedSourceFiles(None) Maybe you ...
7 years, 5 months ago (2013-07-11 01:44:34 UTC) #2
yhirano
https://codereview.chromium.org/18112015/diff/1/net/websockets/PRESUBMIT.py File net/websockets/PRESUBMIT.py (right): https://codereview.chromium.org/18112015/diff/1/net/websockets/PRESUBMIT.py#newcode43 net/websockets/PRESUBMIT.py:43: for line in readme[0].NewContents(): On 2013/07/11 01:44:34, yhirano wrote: ...
7 years, 5 months ago (2013-07-11 01:47:35 UTC) #3
Adam Rice
https://codereview.chromium.org/18112015/diff/1/net/websockets/PRESUBMIT.py File net/websockets/PRESUBMIT.py (right): https://codereview.chromium.org/18112015/diff/1/net/websockets/PRESUBMIT.py#newcode31 net/websockets/PRESUBMIT.py:31: added_source_files = [af for af in input_api.AffectedSourceFiles(None) On 2013/07/11 ...
7 years, 5 months ago (2013-07-11 06:42:36 UTC) #4
yhirano
lgtm
7 years, 5 months ago (2013-07-11 06:49:43 UTC) #5
Adam Rice
+tyoshino for OWNERS review.
7 years, 5 months ago (2013-07-11 06:56:08 UTC) #6
tyoshino (SeeGerritForStatus)
LGTM https://codereview.chromium.org/18112015/diff/6001/net/websockets/PRESUBMIT.py File net/websockets/PRESUBMIT.py (right): https://codereview.chromium.org/18112015/diff/6001/net/websockets/PRESUBMIT.py#newcode14 net/websockets/PRESUBMIT.py:14: def CheckReadMeComplete(input_api, output_api): Add '_' prefix to CheckReadMeComplete? ...
7 years, 5 months ago (2013-07-11 09:26:54 UTC) #7
Adam Rice
https://codereview.chromium.org/18112015/diff/6001/net/websockets/PRESUBMIT.py File net/websockets/PRESUBMIT.py (right): https://codereview.chromium.org/18112015/diff/6001/net/websockets/PRESUBMIT.py#newcode14 net/websockets/PRESUBMIT.py:14: def CheckReadMeComplete(input_api, output_api): On 2013/07/11 09:26:54, tyoshino wrote: > ...
7 years, 5 months ago (2013-07-11 09:46:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/18112015/15001
7 years, 5 months ago (2013-07-11 13:51:22 UTC) #9
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=147966
7 years, 5 months ago (2013-07-11 15:04:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/18112015/15001
7 years, 5 months ago (2013-07-12 12:32:08 UTC) #11
commit-bot: I haz the power
7 years, 5 months ago (2013-07-12 13:12:18 UTC) #12
Message was sent while issue was closed.
Change committed as 211387

Powered by Google App Engine
This is Rietveld 408576698