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

Unified Diff: appengine/findit/waterfall/extract_deps_info_pipeline.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reverted unintended change to an __init__ file Created 4 years, 2 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
Index: appengine/findit/waterfall/extract_deps_info_pipeline.py
diff --git a/appengine/findit/waterfall/extract_deps_info_pipeline.py b/appengine/findit/waterfall/extract_deps_info_pipeline.py
index f6c5c9611f0d50c0ffe01393312e9860a3c08830..303a2762e2326f6ef63b359afdc47a22b22689e8 100644
--- a/appengine/findit/waterfall/extract_deps_info_pipeline.py
+++ b/appengine/findit/waterfall/extract_deps_info_pipeline.py
@@ -5,9 +5,9 @@
import logging
from common import chrome_dependency_fetcher
-from common import git_repository
from common.http_client_appengine import HttpClientAppengine
from common.pipeline_wrapper import BasePipeline
+from lib.gitiles import gitiles_repository
def _GetOSPlatformName(master_name, builder_name): # pragma: no cover
@@ -47,7 +47,7 @@ def _GetDependencies(chromium_revision, os_platform):
"""Returns the dependencies used by the specified chromium revision."""
deps = {}
dep_fetcher=chrome_dependency_fetcher.ChromeDependencyFetcher(
- git_repository.GitRepository(http_client=HttpClientAppengine()))
+ gitiles_repository.GitilesRepository(http_client=HttpClientAppengine()))
for path, dependency in dep_fetcher.GetDependency(
chromium_revision, os_platform).iteritems():
deps[path] = {
@@ -81,7 +81,7 @@ def _DetectDependencyRolls(change_logs, os_platform):
"""
deps_rolls = {}
dep_fetcher=chrome_dependency_fetcher.ChromeDependencyFetcher(
- git_repository.GitRepository(http_client=HttpClientAppengine()))
+ gitiles_repository.GitilesRepository(http_client=HttpClientAppengine()))
for revision, change_log in change_logs.iteritems():
# Check DEPS roll only if the chromium DEPS file is changed by the CL.
for touched_file in change_log['touched_files']:

Powered by Google App Engine
This is Rietveld 408576698