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

Issue 251413002: Python fallback for git cache bootstrap (Closed)

Created:
6 years, 8 months ago by Ryan Tseng
Modified:
6 years, 8 months ago
Reviewers:
agable, szager
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Python fallback for git cache bootstrap This is because the version of unzip on osx doesn't support zip64, so it can't unzip large repositories like blink. BUG=261741 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=266151

Patch Set 1 #

Patch Set 2 : Fix #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -24 lines) Patch
M git_cache.py View 1 2 3 3 chunks +26 lines, -24 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ryan Tseng
Tested and work locally by: git cache populate -c ~/tmp https://chromium.googlesource.com/chromium/blink.git on a mac
6 years, 8 months ago (2014-04-24 20:42:49 UTC) #1
Ryan Tseng
[+szager review] I want to land this before we move any more mac/windows bots.
6 years, 8 months ago (2014-04-25 01:06:50 UTC) #2
Ryan Tseng
Context - this is to solve two problems 1. The version of unzip on OSX ...
6 years, 8 months ago (2014-04-25 01:08:17 UTC) #3
agable
LGTM % nits. But I think it may be a better idea to just turn ...
6 years, 8 months ago (2014-04-25 05:41:39 UTC) #4
Ryan Tseng
The CQ bit was checked by hinoka@google.com
6 years, 8 months ago (2014-04-25 07:51:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hinoka@google.com/251413002/50001
6 years, 8 months ago (2014-04-25 07:52:21 UTC) #6
commit-bot: I haz the power
Change committed as 266151
6 years, 8 months ago (2014-04-25 07:54:26 UTC) #7
Ryan Tseng
6 years, 8 months ago (2014-04-25 08:49:47 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/251413002/diff/30002/git_cache.py
File git_cache.py (right):

https://codereview.chromium.org/251413002/diff/30002/git_cache.py#newcode229
git_cache.py:229: if sys.platform.startswith('win'):
On 2014/04/25 05:41:39, agable wrote:
> sys.platform.... and not self.FindExec...

Done.

https://codereview.chromium.org/251413002/diff/30002/git_cache.py#newcode260
git_cache.py:260: if python_fallback:
On 2014/04/25 05:41:39, agable wrote:
> Flop these. Start with "if not python_fallback:"...

Done.

https://codereview.chromium.org/251413002/diff/30002/git_cache.py#newcode263
git_cache.py:263: f.printdir()
On 2014/04/25 05:41:39, agable wrote:
> Is this necessary or is it debugging?

Its not, but its there to match the behavior of 7z and unzip - to print out the
list of files being extracted.

Powered by Google App Engine
This is Rietveld 408576698