Skip to content

Commit

Permalink
Get base, left, right, and programmer merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored and benedikt-schesch committed May 19, 2024
1 parent b17ed92 commit 204635d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ clean-local:
check-merges-reproducibility:
@echo "Running replay_merge for each idx in parallel using GNU Parallel..."
@set -e; \
tail -n +2 $(CSV_RESULTS) | awk -F, '{print $$1}' | parallel --halt now,fail=1 -j 50% python3 src/python/replay_merge.py --merges_csv $(CSV_RESULTS) -skip_build -delete_workdir --idx {}
tail -n +2 $(CSV_RESULTS) | awk -F, '{print $$1}' | parallel --halt now,fail=1 -j 50% python3 src/python/replay_merge.py -delete_workdir --idx {}

protect-repos:
find repos -mindepth 1 -type d -exec chmod a-w {} +
Expand Down
8 changes: 8 additions & 0 deletions src/python/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,14 @@ def clone_repo(self) -> None:
with lock:
if self.repo_path.exists():
return
print(
"Cloning",
self.repo_slug,
"to",
self.repo_path,
"because:",
self.repo_path.exists(),
)
try:
clone_repo(self.repo_slug, self.repo_path)
except Exception as e:
Expand Down

0 comments on commit 204635d

Please sign in to comment.