Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wenting-zhao committed Oct 30, 2024
1 parent 7efb349 commit 20452e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions commit0/harness/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,12 @@ def make_repo_script_list(self) -> list[str]:
"""
specs = self.instance["setup"]
repo = self.instance["repo"]
env_setup_commit = self.instance["reference_commit"]
base_commit = self.instance["base_commit"]

setup_commands = [
f"git clone -o origin https://github.com/{repo} {self.repo_directory}",
f"chmod -R 777 {self.repo_directory}", # So nonroot user can run tests
f"cd {self.repo_directory}",
f"git reset --hard {env_setup_commit}",
# Remove the remote so the agent won't see newer commits.
"git remote remove origin",
f"uv venv --python {specs['python']}",
Expand Down

0 comments on commit 20452e9

Please sign in to comment.