Remove redundant presubmits from Blink presubmit (third_party/blink) |
||||
Issue descriptionI think this might be an artifact of a time when it lived in a separate repository. But I notice that when I git cl upload from WebKit, several checks run twice: for example, the owners checks, version control conflict marker checks, etc seem to be running twice. I assume presubmits run recursively, so if we have a file in a/b/c/d, the presubmits for a, a/b, and a/b/c also run.
,
Sep 27 2016
probably something like https://codereview.chromium.org/23757130
,
Sep 27 2016
@thakis it looks like that link is broken
,
Sep 27 2016
I think it's https://codereview.chromium.org/2375713002/
,
Sep 27 2016
Sorry looks like the last two digits got cut off: https://codereview.chromium.org/2375713002
,
Mar 23 2017
Made a CL to remove a couple of apparently redundant checks: https://codereview.chromium.org/2768073003 In addition, we probably want to remove third_party/WebKit from the top-level presubmit _EXCLUDED_PATHS list, and then remove the PanProjectChecks call in third_party/WebKit.
,
Mar 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5e1457c6a247571aa25c76364693863b7bdd4b7f commit 5e1457c6a247571aa25c76364693863b7bdd4b7f Author: qyearsley <qyearsley@chromium.org> Date: Thu Mar 23 23:14:39 2017 Remove redundant checks from third_party/WebKit/PRESUBMIT.py. Redudant checks removed in this CL: _CheckForVersionControlConflicts _CheckPatchFiles _CheckFilePermissions These checks are already in _CommonChecks in the top-level PRESUBMIT.py, and they apply in third_party/WebKit from that already. (https://cs.chromium.org/chromium/src/PRESUBMIT.py?l=2093) Note that third_party/WebKit is in an _EXCLUDED_PATHS global in that file, but it's not excluded from these checks in the top-level presubmit since that global isn't taken into consideration for these checks. BUG=649970 Review-Url: https://codereview.chromium.org/2768073003 Cr-Commit-Position: refs/heads/master@{#459270} [modify] https://crrev.com/5e1457c6a247571aa25c76364693863b7bdd4b7f/third_party/WebKit/PRESUBMIT.py
,
Apr 11 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 13 2018
Doing Blink > Infra bugs triage. qyearsley@: is there still more to do for this bug?
,
Apr 14 2018
I think so -- I don't think that the Blink presubmit needs to include PanProjectChecks, since that's already covered by the top-level presubmit. Although it's different now for Blink than for the rest of Chromium, since the Blink one is more lax with regards to line length and license header. There are also other little things like CheckTreeIsOpen that are done twice now. Main presubmit: https://cs.chromium.org/chromium/src/PRESUBMIT.py Pre-move Blink presubmit: https://cs.chromium.org/chromium/src/third_party/WebKit/PRESUBMIT.py Post-move Blink presubmit: https://cs.chromium.org/chromium/src/third_party/blink/PRESUBMIT.py |
||||
►
Sign in to add a comment |
||||
Comment 1 by dpranke@chromium.org
, Sep 27 2016