- 17 Apr, 2017 1 commit
-
-
Jochen Eisinger authored
BUG=141253 R=dpranke@chromium.org Change-Id: Iacbc2f0571e725e4f2ccf5ea7878f101972289bb Reviewed-on: https://chromium-review.googlesource.com/476610Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Jochen Eisinger <jochen@chromium.org>
-
- 14 Apr, 2017 1 commit
-
-
Dave Schuyler authored
Previously, the <link lines in HTML are allowed to have longer than 80 characters. This CL adds <g and <path to the HTML lines that may have unlimited characters. (These g and path tags are used in svg image data). These HTML exemptions also have a trailing space. The space is intended to reduce false-positives in matching. There are some occurrences of these tags followed by a \n which will not match (but the line ends there, so it's not an issue). These new tags may be preceded by blank space so .lstrip() was added to the test. I believe this .lstrip() should not be an issue for the other languages and exemptions present. Bug: None Change-Id: Ie9c2bca0e7147033e360ddcfc6eee3b73e167228 Reviewed-on: https://chromium-review.googlesource.com/477371Reviewed-by:
Marc-Antoine Ruel <maruel@chromium.org> Commit-Queue: Dave Schuyler <dschuyler@chromium.org>
-
- 10 Apr, 2017 1 commit
-
-
Jochen Eisinger authored
R=dpranke@chromium.org BUG=694222 Change-Id: I5676db2283dd43378293bc9bb32f71e0a1225806 Reviewed-on: https://chromium-review.googlesource.com/471609Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Jochen Eisinger <jochen@chromium.org>
-
- 29 Mar, 2017 1 commit
-
-
anatoly techtonik authored
Windows paths use backward slash separator, which escapes regular expressions for white and black lists in PRESUBMIT.py filters See https://goo.gl/6c7aku for discussion Bug: Change-Id: Ia1d133c5b6cfa6cb364b1500b7b7abe583bce346 Reviewed-on: https://chromium-review.googlesource.com/461141 Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org> Reviewed-by:
Marc-Antoine Ruel <maruel@chromium.org>
-
- 06 Mar, 2017 1 commit
-
-
Dave Schuyler authored
This CL is a step toward checking for long lines in HTML webui files. Those files may have long <link ...> lines which should be exempted from the max line length. BUG=None Change-Id: I6fa33c004a58ea599651ae03b814fcdefbc887a1 Reviewed-on: https://chromium-review.googlesource.com/448967Reviewed-by:
Marc-Antoine Ruel <maruel@chromium.org> Commit-Queue: Dave Schuyler <dschuyler@chromium.org>
-
- 24 Jan, 2017 2 commits
-
-
Christopher Lam authored
This CL moves JS formatting behind the --js flag for git cl format due to issue with LayoutTests. It also adds an option to check javascript for the presubmit canned formatting check. BUG=567770 Change-Id: I9c080b1136f6ffef9fb1b08d3bfc97ce5b3185dc Reviewed-on: https://chromium-review.googlesource.com/430526Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Christopher Lam <calamity@chromium.org>
-
Dirk Pranke authored
This reverts commit 66c50ea1. Reason for revert: Breaks some OWNERS checks. See https://crbug.com/684270 for details. Original change's description: > Fix OWNERS canned check to avoid duplicate output. > > 1. Update PanProjectChecks() to supply source_filter to CheckOwners(). > This prevents files under e.g. third_party/WebKit being checked both > by the top-level and sub-directory PRESUBMIT rules. > 2. Fix CheckOwners() to list missing-OWNERS only for the sub-directory > it is invoked on, rather than the whole CL. This prevents files under > sub-directories with their own PRESUBMIT rule, within the same repo, > from causing OWNERS to be checked for files outside that directory. > > BUG= > > Reviewed-on: https://chromium-review.googlesource.com/426003 TBR=wez@chromium.org,dcheng@chromium.org BUG=684270 Change-Id: I094818a6fa3e16fbac0d37d2596a40210611ee05 Reviewed-on: https://chromium-review.googlesource.com/431656Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 16 Jan, 2017 1 commit
-
-
Clemens Hammacher authored
On larger CLs, this can be used to see whether all needed LGTMs are there on a dry run. R=tandrii@chromium.org Change-Id: I5fe4022feaca73d08ead9aed14ca270192740675 Reviewed-on: https://chromium-review.googlesource.com/426819 Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by:
smut <smut@chromium.org>
-
- 07 Jan, 2017 1 commit
-
-
Wez authored
1. Update PanProjectChecks() to supply source_filter to CheckOwners(). This prevents files under e.g. third_party/WebKit being checked both by the top-level and sub-directory PRESUBMIT rules. 2. Fix CheckOwners() to list missing-OWNERS only for the sub-directory it is invoked on, rather than the whole CL. This prevents files under sub-directories with their own PRESUBMIT rule, within the same repo, from causing OWNERS to be checked for files outside that directory. BUG= Change-Id: I9bd5677a69efe9c78b4174a917780d6688991a38 Reviewed-on: https://chromium-review.googlesource.com/426003 Commit-Queue: James Weatherall <wez@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
- 16 Dec, 2016 1 commit
-
-
Quinten Yearsley authored
This affects a bunch of files, but only changes comments, and shouldn't make any difference to behavior. The purpose is to slightly improve readability of pylint disable comments. Change-Id: Ic6cd0f8de792b31d91c6125f6da2616450b30f11 Reviewed-on: https://chromium-review.googlesource.com/420412Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
-
- 05 Dec, 2016 1 commit
-
-
Michael Achenbach authored
BUG=v8:5603 Change-Id: Ib7bbdfae070ae4c55f99041befbade942d1d3f9c Reviewed-on: https://chromium-review.googlesource.com/416859 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org>
-
- 22 Nov, 2016 1 commit
-
-
agable authored
R=maruel@chromium.org BUG=475320 Review-Url: https://codereview.chromium.org/2394043002
-
- 29 Aug, 2016 1 commit
-
-
tandrii authored
BUG=641384 R=phajdan.jr@chromium.org Review-Url: https://codereview.chromium.org/2293523002
-
- 24 Aug, 2016 1 commit
-
-
qyearsley authored
This should only change spelling in: - messages that are printed - comments - docstrings Review-Url: https://codereview.chromium.org/2277513002
-
- 05 Aug, 2016 1 commit
-
-
brettw authored
"gn format" changed to remove the --in-place argument. This updates the instructions for formatting and fixes existing usage. git cl format --diff never worked, it just printed the full formatted output unconditionally. This change improves things slightly by indicating there's a diff for a file. A proper diff can be hooked up in a later stage if somebody so desires. Review-Url: https://codereview.chromium.org/2220123002
-
- 17 Jun, 2016 1 commit
-
-
kylechar authored
Ensure consistent formatting for Mojo typemap files that define the build rules to generate StructTraits. BUG=620799 TEST=Tested locally, both presubmit and git cl format work as expected. Review-Url: https://codereview.chromium.org/2074793002
-
- 07 Jun, 2016 1 commit
-
-
seanmccullough authored
Review-Url: https://codereview.chromium.org/2046003002
-
- 09 May, 2016 1 commit
-
-
tandrii@chromium.org authored
Also make _RietveldOwnerAndReviewers have same semantics as before, to resolve immediate bug until chromium checkouts of developers are updated. BUG=609832 R=machenbach@chromium.org Review-Url: https://codereview.chromium.org/1955223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300494 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Apr, 2016 5 commits
-
-
tandrii@chromium.org authored
R=machenbach@chromium.org,phajdan.jr@chromium.org BUG=605563 Review-Url: https://codereview.chromium.org/1927773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300353 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
Revert of Implement owners check in presubmit for Gerrit. (patchset #5 id:80001 of https://codereview.chromium.org/1927773002/ ) Reason for revert: now it doesn't work for gerrit. Damn it. Original issue's description: > Implement owners check in presubmit for Gerrit. > > R=machenbach@chromium.org,phajdan.jr@chromium.org > BUG=605563 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=300350 TBR=machenbach@chromium.org,phajdan.jr@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=605563 Review-Url: https://codereview.chromium.org/1935563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300352 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
R=machenbach@chromium.org,phajdan.jr@chromium.org BUG=605563 Review-Url: https://codereview.chromium.org/1927773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300350 0039d316-1c4b-4281-b951-d872f2087c98
-
machenbach@chromium.org authored
Revert of Implement owners check in presubmit for Gerrit. (patchset #3 id:40001 of https://codereview.chromium.org/1927773002/ ) Reason for revert: Breaks presubmit: https://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/175120/steps/presubmit/logs/stdio Original issue's description: > Implement owners check in presubmit for Gerrit. > > R=machenbach@chromium.org,phajdan.jr@chromium.org > BUG=605563 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=300320 TBR=phajdan.jr@chromium.org,tandrii@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=605563 Review-Url: https://codereview.chromium.org/1928343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300326 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
R=machenbach@chromium.org,phajdan.jr@chromium.org BUG=605563 Review-Url: https://codereview.chromium.org/1927773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300320 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Apr, 2016 2 commits
-
-
tandrii@chromium.org authored
It's now passed using command line flags. This depends on https://codereview.chromium.org/1931633002, which actually uses this command line flag. R=sergiyb@chromium.org,phajdan.jr@chromium.org BUG=601128 Review-Url: https://codereview.chromium.org/1929653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300268 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
Also, implement skipping of CheckOwners presumbit canned check. To be used by run_presubmit recipe in build repo in https://codereview.chromium.org/1931633002 R=sergiyb@chromium.org,phajdan.jr@chromium.org,machenbach@chromium.org BUG=594127 Review-Url: https://codereview.chromium.org/1923623004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300262 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Apr, 2016 1 commit
-
-
tandrii@chromium.org authored
See https://codereview.chromium.org/8353039/ R=maruel@chromium.org BUG=605563 Review URL: https://codereview.chromium.org/1917883004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300238 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Jan, 2016 1 commit
-
-
dtu@chromium.org authored
Revert of Add extensions parameter to Pylint presubmit check. (patchset #1 id:1 of https://codereview.chromium.org/1639493003/ ) Reason for revert: Sorry, turns out this change isn't necessary. You can specify extension-pkg-whitelist in pylintrc. Original issue's description: > Add extensions parameter to Pylint presubmit check. > > This allows Pylint to analyze code that relies on C extensions (like numpy). > https://bitbucket.org/logilab/pylint/issues/58#comment-14920640 > > > BUG= > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298392 TBR=dpranke@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG= Review URL: https://codereview.chromium.org/1646633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298419 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Jan, 2016 1 commit
-
-
dtu@chromium.org authored
This allows Pylint to analyze code that relies on C extensions (like numpy). https://bitbucket.org/logilab/pylint/issues/58#comment-14920640 BUG= Review URL: https://codereview.chromium.org/1639493003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298392 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Jan, 2016 2 commits
-
-
danakj@chromium.org authored
The checks are not reliable for Rvalue references, and only are allowing default/deleted constructors. They are based on the google3 internal rules which do not exactly match our own c++11 rules, and may diverge more over time. Email thread that led to this change here: https://groups.google.com/a/chromium.org/forum/#!topic/cxx/9TZvt8vyeEM R=agable@chromium.org Review URL: https://codereview.chromium.org/1573663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298202 0039d316-1c4b-4281-b951-d872f2087c98
-
danakj@chromium.org authored
Now that we're using real override/final and not also using virtual on the same methods, this transitional blacklist can go away. R=agable, dcheng Review URL: https://codereview.chromium.org/1564403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298201 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Dec, 2015 1 commit
-
-
nednguyen@google.com authored
BUG=564100 Review URL: https://codereview.chromium.org/1491633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297765 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Nov, 2015 1 commit
-
-
thestig@chromium.org authored
Review URL: https://codereview.chromium.org/1435333005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297676 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Nov, 2015 2 commits
-
-
phajdan.jr@chromium.org authored
BUG=553681 Review URL: https://codereview.chromium.org/1449853002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297563 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
BUG=553681 Review URL: https://codereview.chromium.org/1447463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297559 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Oct, 2015 1 commit
-
-
dbeam@chromium.org authored
It's basically like C++'s #include but in JS. Why write 1 language when you can write 2?! R=maruel@chromium.org BUG=540977 Review URL: https://codereview.chromium.org/1394563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297065 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Jul, 2015 1 commit
-
-
aiolos@chromium.org authored
Don't throw "line too long" presubmit error on python import statements or when pylint "line too long" is disabled. BUG= Review URL: https://codereview.chromium.org/1234333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296035 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Jul, 2015 1 commit
-
-
iannucci@chromium.org authored
* make RunTest's multiprocessing.Pool in the constructor of InputApi to avoid getting tripped up by chdir manipulation. * Don't do the split cyclic-import check when the invoker of the Pylint presubmit checks explicitly sends cyclic import check parameters via extra_args * fix pseudobug where ownership of the files variable was unclear, and pass all arguments on stdin (instead of mix of CLI + stdin). * fix bug in pylint which caused it to manipulate sys.path before spawning its subprocesses, which caused multiprocessing to fail on windows. * Note: This may carry a slight semantic change. Before, pylint would add all .py files' directories to sys.path while checking any of them. Now in parallel mode, pylint will only add the path of the single file to sys.path. This behavior actually mirrors Python's own behavior, so the check should be more-correct than before (and should cut down on pylint import scanning time with very large sys.path's). * If someone encounters an issue with this, please note that the GetPylint check also includes an extra_paths_list which is expressly for this purpose. R=dpranke@chromium.org, kbr@chromium.org, maruel@chromium.org BUG=501012 Review URL: https://codereview.chromium.org/1208743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295908 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Jun, 2015 1 commit
-
-
iannucci@chromium.org authored
R=maruel@chromium.org BUG=479837,499650 Review URL: https://codereview.chromium.org/1181103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295664 0039d316-1c4b-4281-b951-d872f2087c98
-
- 21 Apr, 2015 1 commit
-
-
agable@chromium.org authored
R=maruel@chromium.org BUG=475714 Review URL: https://codereview.chromium.org/1092313003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294925 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Apr, 2015 1 commit
-
-
rmistry@google.com authored
The CQ dry run feature was announced in https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/G5-X0_tfmok The primary complain is that the presubmit builders fail because of OWNERS checks or because of "Missing LGTM from someone other than...". This change skips those checks for dry runs. BUG=chromium:477190 Review URL: https://codereview.chromium.org/1090943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294853 0039d316-1c4b-4281-b951-d872f2087c98
-