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

Issue 68213010: Clearer help in gclient-new-workdir.py (Closed)

Created:
7 years, 1 month ago by pgervais
Modified:
7 years, 1 month ago
Reviewers:
iannucci, M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Clearer help in gclient-new-workdir.py This modification make gclient-new-workdir.py display explicit error messages instead of cryptic Python backtraces. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=235408

Patch Set 1 #

Total comments: 4

Patch Set 2 : Modification after maruel review #

Total comments: 4

Patch Set 3 : Made help clearer, style updates #

Total comments: 5

Patch Set 4 : Clearer help messages #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -41 lines) Patch
M gclient-new-workdir.py View 1 2 3 2 chunks +59 lines, -41 lines 2 comments Download

Messages

Total messages: 17 (0 generated)
pgervais
7 years, 1 month ago (2013-11-12 17:27:39 UTC) #1
M-A Ruel
https://codereview.chromium.org/68213010/diff/1/gclient-new-workdir.py File gclient-new-workdir.py (right): https://codereview.chromium.org/68213010/diff/1/gclient-new-workdir.py#newcode11 gclient-new-workdir.py:11: import os.path Not needed. https://codereview.chromium.org/68213010/diff/1/gclient-new-workdir.py#newcode18 gclient-new-workdir.py:18: if sys.platform.startswith("win"): On ...
7 years, 1 month ago (2013-11-12 17:40:06 UTC) #2
pgervais
On 2013/11/12 17:40:06, M-A Ruel wrote: > you should print to sys.stderr. I see the ...
7 years, 1 month ago (2013-11-12 20:08:42 UTC) #3
M-A Ruel
I don't expect Stefan to do reviews in general, so sending CL to Robbie, as ...
7 years, 1 month ago (2013-11-13 17:17:32 UTC) #4
iannucci
On 2013/11/13 17:17:32, M-A Ruel wrote: > I don't expect Stefan to do reviews in ...
7 years, 1 month ago (2013-11-13 17:52:35 UTC) #5
iannucci
https://codereview.chromium.org/68213010/diff/50001/gclient-new-workdir.py File gclient-new-workdir.py (right): https://codereview.chromium.org/68213010/diff/50001/gclient-new-workdir.py#newcode19 gclient-new-workdir.py:19: "symlinks.") As M-A pointed out, could convert all "" ...
7 years, 1 month ago (2013-11-13 17:57:29 UTC) #6
atreat
On 2013/11/13 17:52:35, iannucci wrote: > On 2013/11/13 17:17:32, M-A Ruel wrote: > > I ...
7 years, 1 month ago (2013-11-13 17:59:23 UTC) #7
iannucci
On 2013/11/13 17:59:23, atreat wrote: > On 2013/11/13 17:52:35, iannucci wrote: > > On 2013/11/13 ...
7 years, 1 month ago (2013-11-13 18:15:45 UTC) #8
pgervais
I fixed the code following your remarks (also replaced one invocation of os.mkdir by os.makedirs) ...
7 years, 1 month ago (2013-11-13 19:25:06 UTC) #9
iannucci
last round! https://codereview.chromium.org/68213010/diff/140001/gclient-new-workdir.py File gclient-new-workdir.py (right): https://codereview.chromium.org/68213010/diff/140001/gclient-new-workdir.py#newcode38 gclient-new-workdir.py:38: sys.exit(1) move this whole if statement body ...
7 years, 1 month ago (2013-11-13 20:29:09 UTC) #10
pgervais
https://codereview.chromium.org/68213010/diff/140001/gclient-new-workdir.py File gclient-new-workdir.py (right): https://codereview.chromium.org/68213010/diff/140001/gclient-new-workdir.py#newcode38 gclient-new-workdir.py:38: sys.exit(1) On 2013/11/13 20:29:10, iannucci wrote: > move this ...
7 years, 1 month ago (2013-11-13 23:27:54 UTC) #11
pgervais
Last patch uploaded!
7 years, 1 month ago (2013-11-13 23:39:38 UTC) #12
iannucci
lgtm % comment (I could be convinced to leave it as-is if the UX is ...
7 years, 1 month ago (2013-11-14 01:45:30 UTC) #13
pgervais
One last round of discussion, before committing, because I think your point is valid: https://codereview.chromium.org/68213010/diff/190001/gclient-new-workdir.py ...
7 years, 1 month ago (2013-11-15 19:38:00 UTC) #14
iannucci
On 2013/11/15 19:38:00, pgervais wrote: > One last round of discussion, before committing, because I ...
7 years, 1 month ago (2013-11-15 20:05:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgervais@chromium.org/68213010/190001
7 years, 1 month ago (2013-11-15 20:07:34 UTC) #16
commit-bot: I haz the power
7 years, 1 month ago (2013-11-15 20:09:27 UTC) #17
Message was sent while issue was closed.
Change committed as 235408

Powered by Google App Engine
This is Rietveld 408576698