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

Issue 269013009: Update cpplint.py to r119. (Closed)

Created:
6 years, 7 months ago by Raphael Kubo da Costa (rakuco)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Update cpplint.py to r119. The only difference compared to upstream[1] is the shebang line from depot_tools r136603. [1] https://code.google.com/p/google-styleguide/source/browse/trunk/cpplint/cpplint.py?spec=svn131&r=119 R=maruel@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=269187

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1052 lines, -322 lines) Patch
M cpplint.py View 72 chunks +1052 lines, -322 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Raphael Kubo da Costa (rakuco)
6 years, 7 months ago (2014-05-06 10:49:12 UTC) #1
cmp
+iannucci, agable, szager for review
6 years, 7 months ago (2014-05-07 19:09:02 UTC) #2
szager1
In the description, can you add a link to the upstream soure?
6 years, 7 months ago (2014-05-07 19:15:32 UTC) #3
Raphael Kubo da Costa (rakuco)
done
6 years, 7 months ago (2014-05-07 21:17:30 UTC) #4
szager1
My only concerns are: - Basic nervousness around landing untrusted executable code. - Will this ...
6 years, 7 months ago (2014-05-08 17:01:01 UTC) #5
Raphael Kubo da Costa (rakuco)
I don't see the same concern in the CLs updating cpplint to other revisions. I ...
6 years, 7 months ago (2014-05-08 17:13:55 UTC) #6
szager1
On 2014/05/08 17:13:55, Raphael Kubo da Costa (rakuco) wrote: > I don't see the same ...
6 years, 7 months ago (2014-05-08 17:15:43 UTC) #7
Raphael Kubo da Costa (rakuco)
Fair enough, let me know if there's any way I can help with this.
6 years, 7 months ago (2014-05-08 17:19:42 UTC) #8
iannucci
As rakuco@ says, the only difference from the original is the shebang line :) lgtm
6 years, 7 months ago (2014-05-08 23:23:36 UTC) #9
szager1
lgtm
6 years, 7 months ago (2014-05-08 23:42:36 UTC) #10
Raphael Kubo da Costa (rakuco)
The CQ bit was checked by raphael.kubo.da.costa@intel.com
6 years, 7 months ago (2014-05-09 08:45:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raphael.kubo.da.costa@intel.com/269013009/1
6 years, 7 months ago (2014-05-09 08:46:31 UTC) #12
commit-bot: I haz the power
Change committed as 269187
6 years, 7 months ago (2014-05-09 08:48:21 UTC) #13
Andrew Low
6 years, 6 months ago (2014-06-06 16:49:21 UTC) #14
Message was sent while issue was closed.
On 2014/05/06 10:49:12, Raphael Kubo da Costa (rakuco) wrote:

Unfortunately this commit broke V8 3.14 (and probably other earlier versions of
the code). It may be that the V8 project as a whole doesn't care about back
levels. However, this is evidence that this patch set introduced more changes
than something simple.

To test this (on Linux)

git clone -b 3.14 https://github.com/v8/v8.git
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=`pwd`/depot_tools:$PATH
cd depot_tools
git checkout -b broken 331fbc43e3e461a77cb45019575d9481c690d57e
cd ../v8
tools/presubmit.py

This should result in 113 failures

Now if we go back and try again with the depot_tools at the previous commit
level

cd ../depot_tools
git checkout -b working 5912063e0d64949d031f4bdf497fed68c26fd1f7
cd ../v8
rm .cpplint-cache
tools/presubmit.py

Now things run clean.

As the errors (113 with this patch, and 123 with 'master' as of today) are
across many common files (as well as platform specific files) - for people
working against 3.14 level code bases, it doesn't seem to make sense to
introduce a lot of new changes. However, the trade off here is that we cannot
benefit from additional code-correctness.

Powered by Google App Engine
This is Rietveld 408576698