diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2020-12-08 10:01:38 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 10:01:38 +1100 |
commit | a23d9bc6fb84a5607f8aff8e3261e999b50c62d6 (patch) | |
tree | 3fe4162e25e83bc6abf9a24fa38624106bf8281a /infra | |
parent | e193d591485ccbfdb845dff5e6024c7842477827 (diff) | |
download | oss-fuzz-a23d9bc6fb84a5607f8aff8e3261e999b50c62d6.tar.gz |
Rename BaseRepoManager -> RepoManager. (#4800)
This was renamed in b0b99d5ccdf5e2e49cfe3138fbcf64e6fef6ea7f
Diffstat (limited to 'infra')
-rw-r--r-- | infra/bisector.py | 4 | ||||
-rw-r--r-- | infra/build_specified_commit.py | 4 |
2 files changed, 4 insertions, 4 deletions
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() |