Index: projects.py |
=================================================================== |
--- projects.py (revision 219274) |
+++ projects.py (working copy) |
@@ -469,13 +469,15 @@ |
* TreeStatusVerifier |
* TryRunnerRietveld (runs compile trybots) |
""" |
- naked_url = '://skia.googlecode.com/svn/trunk' |
- local_checkout = checkout.SvnCheckout( |
- root_dir, |
- 'skia', |
- user, |
- None, |
- 'https' + naked_url) |
+ # TODO(rmistry): Update this to use the real Skia Git repository. Right now it |
+ # is pointed to the skiabot-test repository. |
+ skia_git_url = 'https://skia.googlesource.com/skiabot-test' |
+ local_checkout = checkout.GitCheckout( |
+ root_dir=root_dir, |
+ project_name='skia', |
+ remote_branch='master', |
+ git_url=skia_git_url, |
+ commit_user=user) |
context_obj = context.Context( |
rietveld_obj, |
local_checkout, |
@@ -485,7 +487,7 @@ |
server_hooks_missing=True) |
project_bases = [ |
- '^%s(|/.*)$' % re.escape(base + naked_url) for base in ('http', 'https') |
+ '^%s(?:\.git)?%s$' % (re.escape(skia_git_url), BRANCH_MATCH) |
] |
verifiers_no_patch = [ |
project_base.ProjectBaseUrlVerifier(project_bases), |