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

Issue 2036773002: Add new parameter --project_root to cpplint.py. (Closed)

Created:
4 years, 6 months ago by sdefresne
Modified:
4 years, 5 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org, iannucci, skym
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add new parameter --project_root to cpplint.py. Chrome on iOS downstream repository tracks Chromium via DEPS and wants to use cpplint canned presubmit check but the cpplint.py errors due at the include guard as it stops at the inner most git repository. Add a new parameter --project_root to cpplint.py. If set, it overrides the automatic detection of the project root that searches the root of the version control repository. The --root parameter cannot be used as it is used after the automatic resolution is performed (and allow chopping the head of the relative path while the need is to expend the path to include ios_internal/). BUG=598090 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/263e92872fd2b9f3aedf3d368f48badc5bb3100f

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

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

Messages

Total messages: 27 (9 generated)
sdefresne
This is another go at https://codereview.chromium.org/1897153003 but this time using an extra parameter not used ...
4 years, 6 months ago (2016-06-02 16:45:55 UTC) #2
iannucci
https://chromiumcodereview.appspot.com/2036773002/diff/1/cpplint.py File cpplint.py (right): https://chromiumcodereview.appspot.com/2036773002/diff/1/cpplint.py#newcode529 cpplint.py:529: _project_root = None I'm assuming that this is supposed ...
4 years, 6 months ago (2016-06-03 19:23:09 UTC) #3
sdefresne
PTAL https://chromiumcodereview.appspot.com/2036773002/diff/1/cpplint.py File cpplint.py (right): https://chromiumcodereview.appspot.com/2036773002/diff/1/cpplint.py#newcode529 cpplint.py:529: _project_root = None On 2016/06/03 19:23:09, iannucci wrote: ...
4 years, 6 months ago (2016-06-04 11:42:35 UTC) #4
sdefresne
Ping?
4 years, 6 months ago (2016-06-09 07:54:57 UTC) #5
sdefresne
Ping. This is blocking enabling PRESUBMIT check in Chrome on iOS downstream repository.
4 years, 6 months ago (2016-06-15 08:55:25 UTC) #6
sdefresne
Ping.
4 years, 6 months ago (2016-06-17 07:12:46 UTC) #7
sdefresne
Ping. This is blocking adding some canned PRESUBMIT checks to the Chrome on iOS downstream ...
4 years, 6 months ago (2016-06-21 16:51:29 UTC) #8
sdefresne
Ping. This is blocking adding some canned PRESUBMIT checks to the Chrome on iOS downstream ...
4 years, 5 months ago (2016-06-27 13:00:58 UTC) #9
sdefresne
Ping?
4 years, 5 months ago (2016-06-30 10:30:24 UTC) #10
sdefresne
Justin: can you take a look?
4 years, 5 months ago (2016-07-11 09:40:00 UTC) #12
justincohen
lgtm
4 years, 5 months ago (2016-07-11 14:15:14 UTC) #15
sdefresne
On 2016/07/11 14:15:14, justincohen wrote: > lgtm iannucci: can you do OWNERS review?
4 years, 5 months ago (2016-07-11 15:39:27 UTC) #16
sdefresne
iannucci: ping
4 years, 5 months ago (2016-07-18 08:57:35 UTC) #17
sdefresne
Dirk, can you do OWNERS review?
4 years, 5 months ago (2016-07-18 16:31:38 UTC) #21
iannucci
Stamp lgtm, though I'm a poor reviewer for this file. That said, the choice of ...
4 years, 5 months ago (2016-07-18 16:34:07 UTC) #22
Dirk Pranke
lgtm
4 years, 5 months ago (2016-07-18 19:40:13 UTC) #23
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/2036773002/20001
4 years, 5 months ago (2016-07-19 09:10:28 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 09:14:27 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/263e92872fd2b9...

Powered by Google App Engine
This is Rietveld 408576698