DescriptionAdd 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 #
Messages
Total messages: 12 (0 generated)
|