don't include refunded orders. check remote matches repo

This commit is contained in:
Matt Venn
2023-04-25 00:50:00 +02:00
parent 8e070aa645
commit 5b631bd279
3 changed files with 15 additions and 3 deletions
+5
View File
@@ -121,6 +121,11 @@ class Projects():
self.projects.append(project)
# now do some sanity checks
for project in self.projects:
if project.get_git_remote() != project.git_url:
logging.warning(f"{project} doesn't match remote: {project.get_git_remote()}")
exit(1)
all_macro_instances = [project.get_macro_instance() for project in self.projects]
self.assert_unique(all_macro_instances)