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

Issue 10034011: Check the existence and executability of scm commands (Closed)

Created:
8 years, 8 months ago by Jun Mukai
Modified:
8 years, 8 months ago
Reviewers:
satorux1, oshima, M-A Ruel
CC:
Emmanuel Saint-loubert-BiƩ
Visibility:
Public.

Description

Check the existence and executability of scm commands BUG=114483 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132446

Patch Set 1 #

Total comments: 2

Patch Set 2 : use os.pathsep #

Total comments: 8

Patch Set 3 : fix #

Patch Set 4 : Fix a silly typo #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -4 lines) Patch
M gclient_scm.py View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M gclient_utils.py View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M tests/gclient_scm_test.py View 1 2 3 4 5 6 7 26 chunks +28 lines, -0 lines 0 comments Download
M tests/gclient_utils_test.py View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Jun Mukai
8 years, 8 months ago (2012-04-11 09:21:48 UTC) #1
oshima
lgtm, although I'm not python expert, and there may be better way to handle this. ...
8 years, 8 months ago (2012-04-11 17:00:24 UTC) #2
satorux1
http://codereview.chromium.org/10034011/diff/1/gclient_scm.py File gclient_scm.py (right): http://codereview.chromium.org/10034011/diff/1/gclient_scm.py#newcode82 gclient_scm.py:82: paths = os.getenv('PATH').split(':') this fails if PATH is not ...
8 years, 8 months ago (2012-04-11 17:09:14 UTC) #3
Jun Mukai
http://codereview.chromium.org/10034011/diff/1/gclient_scm.py File gclient_scm.py (right): http://codereview.chromium.org/10034011/diff/1/gclient_scm.py#newcode82 gclient_scm.py:82: paths = os.getenv('PATH').split(':') On 2012/04/11 17:09:14, satorux1 wrote: > ...
8 years, 8 months ago (2012-04-12 09:51:14 UTC) #4
satorux1
looks good to me, but per svn log, maruel@ seems to be the right reviewer.
8 years, 8 months ago (2012-04-12 17:32:40 UTC) #5
M-A Ruel
http://codereview.chromium.org/10034011/diff/4001/gclient_scm.py File gclient_scm.py (right): http://codereview.chromium.org/10034011/diff/4001/gclient_scm.py#newcode79 gclient_scm.py:79: def CheckCommandExecutable(cmd): This belongs to gclient_utils. http://codereview.chromium.org/10034011/diff/4001/gclient_scm.py#newcode82 gclient_scm.py:82: paths ...
8 years, 8 months ago (2012-04-12 17:37:38 UTC) #6
Jun Mukai
http://codereview.chromium.org/10034011/diff/4001/gclient_scm.py File gclient_scm.py (right): http://codereview.chromium.org/10034011/diff/4001/gclient_scm.py#newcode79 gclient_scm.py:79: def CheckCommandExecutable(cmd): On 2012/04/12 17:37:38, Marc-Antoine Ruel wrote: > ...
8 years, 8 months ago (2012-04-13 06:00:53 UTC) #7
M-A Ruel
lgtm http://codereview.chromium.org/10034011/diff/12001/gclient_utils.py File gclient_utils.py (right): http://codereview.chromium.org/10034011/diff/12001/gclient_utils.py#newcode200 gclient_utils.py:200: for path in paths: for path in os.environ['PATH'].split(os.pathsep): ...
8 years, 8 months ago (2012-04-13 18:55:25 UTC) #8
Jun Mukai
Thanks. Will submit soon... http://codereview.chromium.org/10034011/diff/12001/gclient_utils.py File gclient_utils.py (right): http://codereview.chromium.org/10034011/diff/12001/gclient_utils.py#newcode200 gclient_utils.py:200: for path in paths: On ...
8 years, 8 months ago (2012-04-16 05:39:22 UTC) #9
Jun Mukai
Oops, sorry, my patch will break existing tests, so added fixes on test.py files. Please ...
8 years, 8 months ago (2012-04-16 09:13:51 UTC) #10
M-A Ruel
lgtm
8 years, 8 months ago (2012-04-16 12:16:08 UTC) #11
Jun Mukai
manuel, Sorry but could you submit this on behalf of me? I'm at home right ...
8 years, 8 months ago (2012-04-16 15:14:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/10034011/19009
8 years, 8 months ago (2012-04-16 19:28:45 UTC) #13
commit-bot: I haz the power
8 years, 8 months ago (2012-04-16 19:35:06 UTC) #14
Change committed as 132446

Powered by Google App Engine
This is Rietveld 408576698