New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 827345 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Spacey: Don't comment on mixed spaces in Makefiles

Project Member Reported by qyears...@chromium.org, Mar 29 2018

Issue description

Example CL with lots of spammy comments:
https://chromium-review.googlesource.com/c/infra/infra/+/986940/3

Spacey should have different rules for whitespace in Makefiles; or we could have it not run on Makefiles.

Related thought; If there are *lots* of comments in one file, we could consider just adding one file-level comment.
 
@juliehockett, you mentioned thinking about improving Spacey and then uploading a new version; would you be interested in taking this issue?

Comment 2 by phosek@chromium.org, Mar 29 2018

We have seen the same issue in Fuchsia: https://fuchsia-review.googlesource.com/c/zircon/+/136631
Sure, I can take a look.
Project Member

Comment 4 by bugdroid1@chromium.org, Mar 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/3828e040a3836ac4027d43b983a125956282b508

commit 3828e040a3836ac4027d43b983a125956282b508
Author: Julie Hockett <juliehockett@google.com>
Date: Fri Mar 30 01:39:42 2018

[tricium] Updating Spacey to not flag mixed whitespace in Makefiles

Bug:  827345 
Change-Id: I6cfb522d31c35b5db58eb97fe945d74cf215a5b9
Reviewed-on: https://chromium-review.googlesource.com/986624
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>

[modify] https://crrev.com/3828e040a3836ac4027d43b983a125956282b508/go/src/infra/tricium/functions/spacey/spacey.go
[modify] https://crrev.com/3828e040a3836ac4027d43b983a125956282b508/go/src/infra/tricium/functions/spacey/spacey_test.go

Status: Fixed (was: Available)
Deployed new version of Spacey, and verified the fix -- Thanks Julie!
https://chromium-review.googlesource.com/c/playground/gerrit-tricium/+/988292

Sign in to add a comment