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

Unified Diff: projects.py

Issue 22859063: Converting Skia's SVNCheckout into GitCheckout. (Closed) Base URL: https://src.chromium.org/chrome/trunk/tools/commit-queue/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pending_manager.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « pending_manager.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698