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

Issue 933383002: Run dartfmt when invoking git cl format. (Closed)

Created:
5 years, 10 months ago by Elliot Glaysher
Modified:
5 years, 10 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

Run dartfmt when invoking git cl format. If the repository has third_party/dart-sdk/ unpacked, use that to format dart files modified in the current patch. BUG=459376 R=maruel@chromium.org, zra@google.com Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=294179

Patch Set 1 #

Total comments: 3

Patch Set 2 : Make the presubmit checks fail on unformatted dart files. #

Patch Set 3 : Don't error on dart sdk not being installed. #

Total comments: 9

Patch Set 4 : style nits #

Total comments: 1

Patch Set 5 : more style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -45 lines) Patch
A dart_format.py View 1 2 3 4 1 chunk +58 lines, -0 lines 0 comments Download
M gclient_utils.py View 2 chunks +18 lines, -10 lines 0 comments Download
M git_cl.py View 1 2 3 6 chunks +62 lines, -34 lines 0 comments Download
M presubmit_canned_checks.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (8 generated)
Elliot Glaysher
enne: I have a specific question about something you wrote. zra: review https://codereview.chromium.org/933383002/diff/1/git_cl.py File git_cl.py ...
5 years, 10 months ago (2015-02-18 20:41:42 UTC) #2
enne (OOO)
https://codereview.chromium.org/933383002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/933383002/diff/1/git_cl.py#newcode2997 git_cl.py:2997: return 2 On 2015/02/18 20:41:42, Elliot Glaysher wrote: > ...
5 years, 10 months ago (2015-02-18 20:56:46 UTC) #3
Elliot Glaysher
https://codereview.chromium.org/933383002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/933383002/diff/1/git_cl.py#newcode2997 git_cl.py:2997: return 2 On 2015/02/18 20:56:46, enne wrote: > On ...
5 years, 10 months ago (2015-02-18 21:16:17 UTC) #4
zra
Am I reading this correctly that if you have Dart code, but don't have the ...
5 years, 10 months ago (2015-02-18 22:05:15 UTC) #5
Elliot Glaysher
On 2015/02/18 22:05:15, zra wrote: > Am I reading this correctly that if you have ...
5 years, 10 months ago (2015-02-18 22:35:27 UTC) #6
zra
lgtm
5 years, 10 months ago (2015-02-18 22:42:36 UTC) #7
Elliot Glaysher
iannucci: owners review Context: At least the mojo repository (and soon other not-the-main-chromium repos) need ...
5 years, 10 months ago (2015-02-18 22:46:12 UTC) #9
Elliot Glaysher
+maruel: owners review since Robbie seems busy.
5 years, 10 months ago (2015-02-19 20:58:03 UTC) #11
Elliot Glaysher
On 2015/02/19 20:58:03, Elliot Glaysher wrote: > +maruel: owners review since Robbie seems busy. Ping
5 years, 10 months ago (2015-02-23 18:33:37 UTC) #12
M-A Ruel
On 2015/02/23 18:33:37, Elliot Glaysher wrote: > On 2015/02/19 20:58:03, Elliot Glaysher wrote: > > ...
5 years, 10 months ago (2015-02-23 18:35:31 UTC) #13
Elliot Glaysher
On 2015/02/23 18:35:31, M-A Ruel wrote: > On 2015/02/23 18:33:37, Elliot Glaysher wrote: > > ...
5 years, 10 months ago (2015-02-23 18:37:43 UTC) #14
M-A Ruel
On 2015/02/23 18:37:43, Elliot Glaysher wrote: > On 2015/02/23 18:35:31, M-A Ruel wrote: > > ...
5 years, 10 months ago (2015-02-23 18:40:02 UTC) #15
M-A Ruel
stylistic nits. I think there's a layering issue here but I guess the ship has ...
5 years, 10 months ago (2015-02-23 18:47:26 UTC) #17
Elliot Glaysher
ptal
5 years, 10 months ago (2015-02-23 18:56:29 UTC) #19
M-A Ruel
lgtm https://codereview.chromium.org/933383002/diff/60001/dart_format.py File dart_format.py (right): https://codereview.chromium.org/933383002/diff/60001/dart_format.py#newcode13 dart_format.py:13: import gclient_utils In general, import stdlib first, only ...
5 years, 10 months ago (2015-02-23 19:03:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933383002/80001
5 years, 10 months ago (2015-02-23 19:08:54 UTC) #23
commit-bot: I haz the power
Failed to apply patch for depot_tools/dart_format.py: While running svn add depot_tools/dart_format.py --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
5 years, 10 months ago (2015-02-23 19:09:00 UTC) #25
Elliot Glaysher
5 years, 10 months ago (2015-02-23 20:30:11 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 294179.

Powered by Google App Engine
This is Rietveld 408576698