diff --git a/infra/bisector.py b/infra/bisector.py index b1b690d50..dc4a470d5 100644 --- a/infra/bisector.py +++ b/infra/bisector.py @@ -187,7 +187,7 @@ def _bisect(bisect_type, old_commit, new_commit, test_case_path, fuzz_target, host_src_dir = build_specified_commit.copy_src_from_docker( build_data.project_name, tmp_dir) - bisect_repo_manager = repo_manager.BaseRepoManager( + bisect_repo_manager = repo_manager.RepoManager( os.path.join(host_src_dir, os.path.basename(repo_path))) commit_list = bisect_repo_manager.get_commit_list(new_commit, old_commit) @@ -299,7 +299,7 @@ def bisect(bisect_type, old_commit, new_commit, test_case_path, fuzz_target, fuzz_target, build_data) finally: # Clean up projects/ as _bisect may have modified it. - oss_fuzz_repo_manager = repo_manager.BaseRepoManager(helper.OSS_FUZZ_DIR) + oss_fuzz_repo_manager = repo_manager.RepoManager(helper.OSS_FUZZ_DIR) oss_fuzz_repo_manager.git(['reset', 'projects']) oss_fuzz_repo_manager.git(['checkout', 'projects']) oss_fuzz_repo_manager.git(['clean', '-fxd', 'projects']) diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py index a4ff70f7a..722917fce 100644 --- a/infra/build_specified_commit.py +++ b/infra/build_specified_commit.py @@ -192,7 +192,7 @@ def build_fuzzers_from_commit(commit, Returns: 0 on successful build or error code on failure. """ - oss_fuzz_repo_manager = repo_manager.BaseRepoManager(helper.OSS_FUZZ_DIR) + oss_fuzz_repo_manager = repo_manager.RepoManager(helper.OSS_FUZZ_DIR) num_retry = 1 def cleanup(): @@ -385,7 +385,7 @@ def main(): with tempfile.TemporaryDirectory() as tmp_dir: host_src_dir = copy_src_from_docker(args.project_name, tmp_dir) - build_repo_manager = repo_manager.BaseRepoManager( + build_repo_manager = repo_manager.RepoManager( os.path.join(host_src_dir, os.path.basename(repo_path))) base_builder_repo = load_base_builder_repo()