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

Issue 1324003: Add wtf tool to provide a quick summary of pending changes. (Closed)

Created:
10 years, 9 months ago by Bill Richardson
Modified:
9 years, 6 months ago
Reviewers:
M-A Ruel
CC:
chromium-os-reviews_chromium.org, M-A Ruel
Visibility:
Public.

Description

Add wtf tool to provide a quick summary of pending changes. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=42797

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add copyright, remove extra space, minor formatting tweaks. #

Total comments: 12

Patch Set 3 : Many changes in response to feedback. Also found gpylint, which helps. #

Total comments: 2

Patch Set 4 : Final tweaks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -0 lines) Patch
A wtf View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bill Richardson
10 years, 9 months ago (2010-03-24 23:27:09 UTC) #1
M-A Ruel
http://codereview.chromium.org/1324003/diff/1/2 File wtf (right): http://codereview.chromium.org/1324003/diff/1/2#newcode1 wtf:1: #!/usr/bin/python Please add copyright. Some *bsd people prefer to ...
10 years, 9 months ago (2010-03-25 00:53:50 UTC) #2
Bill Richardson
http://codereview.chromium.org/1324003/diff/1/2 File wtf (right): http://codereview.chromium.org/1324003/diff/1/2#newcode90 wtf:90: raw = [k for k,v in env['entries'].items() if not ...
10 years, 9 months ago (2010-03-25 17:11:34 UTC) #3
Bill Richardson
10 years, 9 months ago (2010-03-25 17:13:27 UTC) #4
M-A Ruel
http://codereview.chromium.org/1324003/diff/5001/1002 File wtf (right): http://codereview.chromium.org/1324003/diff/5001/1002#newcode2 wtf:2: # Copyright (c) 2009 The Chromium Authors. All rights ...
10 years, 9 months ago (2010-03-25 17:25:59 UTC) #5
Bill Richardson
10 years, 9 months ago (2010-03-25 23:40:26 UTC) #6
M-A Ruel
10 years, 9 months ago (2010-03-26 00:26:15 UTC) #7
lgtm with two optional changes

http://codereview.chromium.org/1324003/diff/9001/10001
File wtf (right):

http://codereview.chromium.org/1324003/diff/9001/10001#newcode56
wtf:56: path = filename
nit: you'd save 2 lines :)

path = filename
while os.getcwd().split('/'):
  ...

http://codereview.chromium.org/1324003/diff/9001/10001#newcode94
wtf:94: for full_path, relative_path in zip(fulldirs, reldirs):
nit: That's interesting. I'd probably have written:

for path in raw:
  show_dir(os.path.normpath(os.path.join(root, path)),
           re.sub('^' + base, '.', path),
           color)

I don't know which is more readable. I don't mind either way.

Powered by Google App Engine
This is Rietveld 408576698