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

Side by Side Diff: buildspec_to_git.py

Issue 417283003: Disable special handling for old reference_build repos. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/deps2git
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Public buildspec to GIT mapping.""" 5 """Public buildspec to GIT mapping."""
6 6
7 import re 7 import re
8 from deps2git import SplitScmUrl 8 from deps2git import SplitScmUrl
9 9
10 GIT_HOST = 'https://chromium.googlesource.com/' 10 GIT_HOST = 'https://chromium.googlesource.com/'
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 svn_url) 221 svn_url)
222 if match: 222 if match:
223 # ios has a special headers-only repo 223 # ios has a special headers-only repo
224 if match.group('path'): 224 if match.group('path'):
225 repo = GIT_HOST + 'chromium/blink-public.git' 225 repo = GIT_HOST + 'chromium/blink-public.git'
226 else: 226 else:
227 repo = GIT_HOST + 'chromium/blink.git' 227 repo = GIT_HOST + 'chromium/blink.git'
228 return (path, repo, GIT_HOST, match.group('branch')) 228 return (path, repo, GIT_HOST, match.group('branch'))
229 229
230 # reference builds 230 # reference builds
231 if svn_url.startswith('/trunk/deps/reference_builds/chrome'): 231 # TODO(mmoss): This is no longer appropriate for current buildspecs, where
232 return (path, GIT_HOST + 'chromium/reference_builds/chrome.git', 232 # each platform has its own repo, as defined in git_updater. Not sure if
233 GIT_HOST) 233 # there's a way to detect and handle the current and the old repo configs at
234 # the same time. Turning off for now, since we care more about current
235 # configs.
236 #if svn_url.startswith('/trunk/deps/reference_builds/chrome'):
237 # return (path, GIT_HOST + 'chromium/reference_builds/chrome.git',
238 # GIT_HOST)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698