From 01d5d960648a0595b93a1edf303ca68f0d4280c5 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Thu, 5 Nov 2026 12:56:05 +0100 Subject: [PATCH] fix: name the export reports as copied files --- scripts/generate_site.py | 4 ++-- tests/test_site_r3_reference.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/generate_site.py b/scripts/generate_site.py index 3ca81db28..875af17c4 100644 --- a/scripts/generate_site.py +++ b/scripts/generate_site.py @@ -2157,8 +2157,8 @@ def generate_data_page(exports: list[dict], measurements_sqlite: Path | None = N "", *(f"- [`{name}`](api/v1/schemas/{name}): {title}" for name, title in _served_schemas()), "", - "`database.json`, `stats.json`, `release.json` and the manifests are not " - "envelopes. Their revision is the `commit` of `catalog.json` that lists " + "`database.json`, `stats.json`, `release.json`, the manifests and the export reports " + "are not envelopes. Their revision is the `commit` of `catalog.json` that lists " "their SHA256.", "", "One emulator profile without the whole list: " diff --git a/tests/test_site_r3_reference.py b/tests/test_site_r3_reference.py index 4b15c11dd..91011a3cf 100644 --- a/tests/test_site_r3_reference.py +++ b/tests/test_site_r3_reference.py @@ -267,7 +267,7 @@ class EveryEnvelopeCarriesTheCommit(unittest.TestCase): raise unittest.SkipTest("not a git checkout") lacking = [ path.relative_to(API).as_posix() for path in sorted(API.rglob("*.json")) - if path.parent.name not in ("schemas", "manifests", "targets") + if path.parent.name not in ("schemas", "manifests", "targets", "exports") and path.name not in ("database.json", "stats.json", "release.json") and "commit" not in json.loads(path.read_text()) ]