Conformance Vendor Sync¶
Use scripts/sync_conformance_vendor.py to refresh the vendored upstream
conformance corpora under conformance/toml/vendor/ and
conformance/yaml/vendor/.
What it does¶
- reads the pinned snapshot labels from the per-format manifest provenance
- downloads the matching upstream tarballs from GitHub
- recreates the vendored directories from scratch
- writes
PROVENANCE.mdinside each vendored snapshot
Usage¶
Sync every vendored corpus:
Sync a single corpus:
uv run python scripts/sync_conformance_vendor.py toml
uv run python scripts/sync_conformance_vendor.py yaml
Update flow¶
- Update the
provenance.snapshotvalue in the relevantspec-map.toml. - Run
uv run python scripts/sync_conformance_vendor.py <format>. - Run the conformance-facing test suites.
- Review the regenerated
PROVENANCE.mdand vendoredLICENSEfiles before committing.
Do not edit vendored upstream files by hand unless the change is also reflected in the sync script or the manifest pin.