Make cutter report the only generated review report

This commit is contained in:
Melbar
2026-05-08 14:29:49 +02:00
parent e335fffe92
commit 10e27afc8d
3 changed files with 4 additions and 16 deletions
+2 -10
View File
@@ -104,10 +104,6 @@ def _auto_commit_push_reports(project_root: "Path") -> None: # type: ignore[nam
report_globs = [
"CUTTER_REPORT.html",
"CUTTER_REPORT.md",
"output/report/match_report.html",
"output/report/beat_*_compare.mp4",
"output/report/beat_*_src.mp4",
"output/report/beat_*_ref.mp4",
"output/cutter_clips/beat_*_compare.mp4",
"output/cutter_clips/beat_*_source.mp4",
"output/cutter_clips/beat_*_source_seg*.mp4",
@@ -149,12 +145,8 @@ def _regenerate_cutter_report(cfg: "AppConfig") -> None: # type: ignore[name-de
md, html = render_report(project_root, with_stills=True, with_clips=True)
(project_root / "CUTTER_REPORT.md").write_text(md, encoding="utf-8")
(project_root / "CUTTER_REPORT.html").write_text(html, encoding="utf-8")
legacy_report_path = project_root / "output" / "report" / "match_report.html"
legacy_report_path.parent.mkdir(parents=True, exist_ok=True)
legacy_report_path.write_text(html, encoding="utf-8")
logging.getLogger(__name__).info("Cutter report regenerated (md + html + compare clips + legacy match_report.html)")
logging.getLogger(__name__).info("Cutter report regenerated (md + html + compare clips)")
except Exception as exc:
logging.getLogger(__name__).warning("Cutter report regen failed: %s", exc)