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

Issue 2523993003: [test] Let presubmit only run over affected files. (Closed)

Created:
4 years ago by Michael Achenbach
Modified:
4 years ago
CC:
tandrii(chromium), v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Let presubmit only run over affected files. Presubmit on upload and on trybot will use the affected files as determined by the presubmit input_api. The continuously run presubmit will use the old method and search all files. BUG=v8:5603 NOTRY=true Committed: https://crrev.com/fa37f96e358a75e62ecbe105f0b676572b53c7c2 Cr-Commit-Position: refs/heads/master@{#41248}

Patch Set 1 #

Patch Set 2 : .. #

Patch Set 3 : .. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -11 lines) Patch
M PRESUBMIT.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/presubmit.py View 1 6 chunks +32 lines, -9 lines 1 comment Download

Messages

Total messages: 22 (9 generated)
Michael Achenbach
PTAL
4 years ago (2016-11-23 15:42:15 UTC) #2
tandrii(chromium)
LGTM % wow 4-line long condition is impressive but takes long time to think about.
4 years ago (2016-11-23 15:59:16 UTC) #5
Jakob Kummerow
lgtm
4 years ago (2016-11-23 17:38:06 UTC) #6
Michael Achenbach
On 2016/11/23 15:59:16, tandrii(chromium) wrote: > LGTM % wow 4-line long condition is impressive but ...
4 years ago (2016-11-23 20:06:51 UTC) #7
Michael Achenbach
https://codereview.chromium.org/2523993003/diff/40001/tools/presubmit.py File tools/presubmit.py (right): https://codereview.chromium.org/2523993003/diff/40001/tools/presubmit.py#newcode464 tools/presubmit.py:464: def CheckStatusFiles(workspace): Will also change this one in a ...
4 years ago (2016-11-23 20:18:25 UTC) #9
Camillo Bruni
lgtm
4 years ago (2016-11-23 21:05:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2523993003/40001
4 years ago (2016-11-24 08:09:01 UTC) #13
jochen (gone - plz use gerrit)
so good... lgtm!
4 years ago (2016-11-24 08:09:58 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-24 08:10:43 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/fa37f96e358a75e62ecbe105f0b676572b53c7c2 Cr-Commit-Position: refs/heads/master@{#41248}
4 years ago (2016-11-24 08:11:00 UTC) #19
Yang
On 2016/11/24 08:11:00, commit-bot: I haz the power wrote: > Patchset 3 (id:??) landed as ...
4 years ago (2016-11-25 11:48:58 UTC) #20
Yang
On 2016/11/25 11:48:58, Yang wrote: > On 2016/11/24 08:11:00, commit-bot: I haz the power wrote: ...
4 years ago (2016-11-25 11:53:11 UTC) #21
Michael Achenbach
4 years ago (2016-11-28 08:14:38 UTC) #22
Message was sent while issue was closed.
On 2016/11/25 11:48:58, Yang wrote:
> On 2016/11/24 08:11:00, commit-bot: I haz the power wrote:
> > Patchset 3 (id:??) landed as
> > https://crrev.com/fa37f96e358a75e62ecbe105f0b676572b53c7c2
> > Cr-Commit-Position: refs/heads/master@{#41248}
> 
> Hehe. Presubmit fails if you want to remove files. ProcessFiles expects to
find
> the "affected" file and doesn't.

Damn. The affected files method actually has a parameter for "include deleted".
I thought it was false by default, but maybe it's true...

Powered by Google App Engine
This is Rietveld 408576698