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

Issue 14093004: Ensure that we pick up 'git.bat' and 'svn.bat' on Windows. (Closed)

Created:
7 years, 8 months ago by Dirk Pranke
Modified:
7 years, 8 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, iannucci
Visibility:
Public.

Description

Ensure that we pick up 'git.bat' and 'svn.bat' on Windows. R=maruel@chromium.org BUG=227526 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=193865

Patch Set 1 #

Patch Set 2 : be much more careful about finding scripts and binaries #

Total comments: 1

Patch Set 3 : fix path for git on win using _binary_subdirs #

Patch Set 4 : fix typo on win, reformat, and clarify an unrelated TODO #

Total comments: 11

Patch Set 5 : more simplification per szager #

Patch Set 6 : fix typos and handle msys properly by using the git in the path #

Patch Set 7 : clean up whitespace diffs #

Total comments: 6

Patch Set 8 : simplify even further #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -11 lines) Patch
M fetch.py View 1 2 3 4 5 6 7 2 chunks +23 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Do Not Use -- Aaron Gable
Having shell=True be the default behavior is dangerous and undesirable. Would be much better to ...
7 years, 8 months ago (2013-04-10 21:42:44 UTC) #1
Dirk Pranke
On 2013/04/10 21:42:44, Do Not Use -- Aaron Gable wrote: > Having shell=True be the ...
7 years, 8 months ago (2013-04-10 21:51:02 UTC) #2
Dirk Pranke
Okay, please take another look ... this should be significantly more robust.
7 years, 8 months ago (2013-04-11 02:46:55 UTC) #3
agable
https://codereview.chromium.org/14093004/diff/4001/fetch.py File fetch.py (right): https://codereview.chromium.org/14093004/diff/4001/fetch.py#newcode69 fetch.py:69: return spawn.find_executable(os.path.join(SCRIPT_PATH, binary_name + '_bin', Isn't git installed to ...
7 years, 8 months ago (2013-04-11 18:21:09 UTC) #4
Dirk Pranke
On 2013/04/11 18:21:09, Aaron Gable wrote: > https://codereview.chromium.org/14093004/diff/4001/fetch.py > File fetch.py (right): > > https://codereview.chromium.org/14093004/diff/4001/fetch.py#newcode69 ...
7 years, 8 months ago (2013-04-11 18:40:49 UTC) #5
Dirk Pranke
I think this is actually working now. Please take another look?
7 years, 8 months ago (2013-04-11 19:04:26 UTC) #6
agable
On 2013/04/11 19:04:26, Dirk Pranke wrote: > I think this is actually working now. Please ...
7 years, 8 months ago (2013-04-11 20:10:59 UTC) #7
szager1
https://codereview.chromium.org/14093004/diff/12001/fetch.py File fetch.py (right): https://codereview.chromium.org/14093004/diff/12001/fetch.py#newcode65 fetch.py:65: if sys.platform == 'win32': This is unnecessary; spawn.find_executable will ...
7 years, 8 months ago (2013-04-11 21:30:01 UTC) #8
Dirk Pranke
https://codereview.chromium.org/14093004/diff/12001/fetch.py File fetch.py (right): https://codereview.chromium.org/14093004/diff/12001/fetch.py#newcode65 fetch.py:65: if sys.platform == 'win32': On 2013/04/11 21:30:01, szager1 wrote: ...
7 years, 8 months ago (2013-04-11 21:52:08 UTC) #9
szager1
Frankly, this code still doesn't feel quite right to me. You have this _find_executable() method ...
7 years, 8 months ago (2013-04-11 22:18:43 UTC) #10
Dirk Pranke
On 2013/04/11 22:18:43, szager1 wrote: > Frankly, this code still doesn't feel quite right to ...
7 years, 8 months ago (2013-04-11 23:13:35 UTC) #11
Dirk Pranke
On 2013/04/11 23:13:35, Dirk Pranke wrote: > Let me try another approach and see where ...
7 years, 8 months ago (2013-04-12 00:43:10 UTC) #12
szager1
https://codereview.chromium.org/14093004/diff/25001/fetch.py File fetch.py (right): https://codereview.chromium.org/14093004/diff/25001/fetch.py#newcode62 fetch.py:62: print 'Running: %s %s' % (tool, Just curious, why ...
7 years, 8 months ago (2013-04-12 03:47:06 UTC) #13
Dirk Pranke
https://codereview.chromium.org/14093004/diff/25001/fetch.py File fetch.py (right): https://codereview.chromium.org/14093004/diff/25001/fetch.py#newcode62 fetch.py:62: print 'Running: %s %s' % (tool, On 2013/04/12 03:47:07, ...
7 years, 8 months ago (2013-04-12 03:56:43 UTC) #14
Dirk Pranke
one more once?
7 years, 8 months ago (2013-04-12 04:34:55 UTC) #15
szager1
lgtm, thanks for the improvements
7 years, 8 months ago (2013-04-12 05:35:08 UTC) #16
Dirk Pranke
On 2013/04/12 05:35:08, szager1 wrote: > lgtm, thanks for the improvements Thanks for the great ...
7 years, 8 months ago (2013-04-12 06:13:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/14093004/30001
7 years, 8 months ago (2013-04-12 06:13:46 UTC) #18
commit-bot: I haz the power
7 years, 8 months ago (2013-04-12 06:15:59 UTC) #19
Message was sent while issue was closed.
Change committed as 193865

Powered by Google App Engine
This is Rietveld 408576698