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

Issue 2761653003: Add presubmit check that runs dartfmt (Closed)

Created:
3 years, 9 months ago by Jacob
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Add presubmit check that runs dartfmt #

Total comments: 4

Patch Set 3 : Add presubmit check that runs dartfmt #

Patch Set 4 : Switch so we only fail if the file was already formatted #

Total comments: 6

Patch Set 5 : Add presubmit check that runs dartfmt. #

Total comments: 4

Patch Set 6 : Add presubmit check that runs dartfmt. #

Patch Set 7 : Fixed execution on windows #

Patch Set 8 : support windows #

Patch Set 9 : IGNORE_PATCHING_TO_WIN #

Patch Set 10 : Add presubmit check that runs dartfmt. #

Patch Set 11 : Add presubmit check that runs dartfmt. #

Patch Set 12 : Add presubmit check that runs dartfmt. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -7 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +93 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
Jacob
I can wait to submit this until the manual CLs to fixup dartfmt land. Generated ...
3 years, 9 months ago (2017-03-20 17:43:01 UTC) #2
Cutch
lgtm
3 years, 9 months ago (2017-03-20 17:49:13 UTC) #3
Bill Hesse
I'd like to get everyone to agree to this, and we may find out about ...
3 years, 9 months ago (2017-03-20 17:50:00 UTC) #4
Cutch
On 2017/03/20 17:50:00, Bill Hesse wrote: > I'd like to get everyone to agree to ...
3 years, 9 months ago (2017-03-20 17:51:18 UTC) #5
zra
https://codereview.chromium.org/2761653003/diff/20001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2761653003/diff/20001/PRESUBMIT.py#newcode28 PRESUBMIT.py:28: prebuilt_dartfmt = os.path.join(utils.CheckedInSdkPath(), 'bin', 'dartfmt') The presubmit check should ...
3 years, 9 months ago (2017-03-20 19:26:06 UTC) #7
Jacob
https://codereview.chromium.org/2761653003/diff/20001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2761653003/diff/20001/PRESUBMIT.py#newcode28 PRESUBMIT.py:28: prebuilt_dartfmt = os.path.join(utils.CheckedInSdkPath(), 'bin', 'dartfmt') On 2017/03/20 19:26:06, zra ...
3 years, 9 months ago (2017-03-20 19:59:07 UTC) #8
kevmoo
Any concerns about dartfmt version? Bob just landed fixed to dartfmt that will be rolled ...
3 years, 9 months ago (2017-03-20 20:13:25 UTC) #10
rmacnak
I've just noticed that dartfmt does not correctly preserve multitest annotations, so we cannot use ...
3 years, 9 months ago (2017-03-20 20:52:12 UTC) #12
Jacob
On 2017/03/20 20:52:12, rmacnak wrote: > I've just noticed that dartfmt does not correctly preserve ...
3 years, 9 months ago (2017-03-20 21:17:55 UTC) #13
Jacob
Tweaked presubmit so files that already had formatter deltas only generate warning messages instead of ...
3 years, 9 months ago (2017-03-21 19:29:44 UTC) #14
zra
https://codereview.chromium.org/2761653003/diff/60001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2761653003/diff/60001/PRESUBMIT.py#newcode33 PRESUBMIT.py:33: prebuilt_dartfmt = os.path.join(utils.CheckedInSdkPath(), 'bin', 'dartfmt') Please add back the ...
3 years, 9 months ago (2017-03-21 19:51:17 UTC) #15
Jacob
Also cleaned up the error output slightly based on an offline suggestion from nbosch. Running ...
3 years, 9 months ago (2017-03-21 20:34:25 UTC) #16
zra
https://codereview.chromium.org/2761653003/diff/80001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2761653003/diff/80001/PRESUBMIT.py#newcode64 PRESUBMIT.py:64: os.close(fd) It might also be a good idea to ...
3 years, 9 months ago (2017-03-21 20:47:49 UTC) #17
Jacob
verifying on a windows machine now https://codereview.chromium.org/2761653003/diff/80001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2761653003/diff/80001/PRESUBMIT.py#newcode64 PRESUBMIT.py:64: os.close(fd) On 2017/03/21 ...
3 years, 9 months ago (2017-03-21 22:04:22 UTC) #18
zra
lgtm
3 years, 9 months ago (2017-03-21 22:14:35 UTC) #19
Jacob
Fixed behavior on windows.
3 years, 9 months ago (2017-03-21 23:11:12 UTC) #20
Jacob
3 years, 9 months ago (2017-03-21 23:18:54 UTC) #22
Message was sent while issue was closed.
Committed patchset #12 (id:220001) manually as
409150339f9c33d2e7faf3c65a89166d7d4e4dc7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698