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

Issue 355883002: The toolchain_build git cache is now referenced as a git-alternate. (Closed)

Created:
6 years, 6 months ago by David Yen
Modified:
6 years, 6 months ago
Reviewers:
Derek Schuff
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

The toolchain_build git cache is now referenced as a git-alternate. Having the origin fetch/push URL modified to point directly to the git cache had some minor repercussions which forced us to implement various work-arounds. By simply keeping the fetch/push URL to be the same and using git-alternates to point to the git_cache, allows us to utilize and turn off git_cache usage at will, and also makes our work-arounds redundant. R=dschuff@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=3852 TEST= toolchain_build trybots Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=13411

Patch Set 1 #

Patch Set 2 : Added git set repo alternates logging #

Patch Set 3 : Use posixpath for URL manipulation #

Patch Set 4 : Make sure windows git cache URLs are always posix paths #

Total comments: 1

Patch Set 5 : No longer need to check for git_Cache url when validating git repos #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -31 lines) Patch
M pynacl/repo_tools.py View 1 2 3 5 chunks +87 lines, -18 lines 0 comments Download
M toolchain_build/command.py View 1 2 3 4 2 chunks +3 lines, -10 lines 0 comments Download
M toolchain_build/substituter.py View 2 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
David Yen
6 years, 6 months ago (2014-06-25 20:49:30 UTC) #1
Derek Schuff
https://codereview.chromium.org/355883002/diff/60001/toolchain_build/substituter.py File toolchain_build/substituter.py (right): https://codereview.chromium.org/355883002/diff/60001/toolchain_build/substituter.py#newcode76 toolchain_build/substituter.py:76: if value: how are empty paths getting in here? ...
6 years, 6 months ago (2014-06-26 00:00:47 UTC) #2
David Yen
On 2014/06/26 00:00:47, Derek Schuff wrote: > https://codereview.chromium.org/355883002/diff/60001/toolchain_build/substituter.py > File toolchain_build/substituter.py (right): > > https://codereview.chromium.org/355883002/diff/60001/toolchain_build/substituter.py#newcode76 ...
6 years, 6 months ago (2014-06-26 00:12:53 UTC) #3
Derek Schuff
On 2014/06/26 at 00:12:53, dyen wrote: > Empty paths is how we are disabling the ...
6 years, 6 months ago (2014-06-26 18:17:56 UTC) #4
David Yen
On 2014/06/26 18:17:56, Derek Schuff wrote: > On 2014/06/26 at 00:12:53, dyen wrote: > > ...
6 years, 6 months ago (2014-06-26 19:03:20 UTC) #5
Derek Schuff
On 2014/06/26 at 19:03:20, dyen wrote: > On 2014/06/26 18:17:56, Derek Schuff wrote: > > ...
6 years, 6 months ago (2014-06-26 20:31:31 UTC) #6
Derek Schuff
lgtm
6 years, 6 months ago (2014-06-26 21:24:43 UTC) #7
David Yen
6 years, 6 months ago (2014-06-26 21:52:57 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 manually as r13411 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698