Commit aee4d87
committed
feat(sources): pin all four ECMA-376 parts in the manifest
Replace the single `ecma-376` placeholder with four part-specific
entries (`ecma-376-part1` through `ecma-376-part4`), each pinned with
URL, edition (5th), publication date, and sha256. Part 2 is the 2021
revision; Part 3 is from 2015; Parts 1 and 4 are 2016 - reflected in
each entry's version field.
The Part 4 zip URL is shared with the existing ecma-376-transitional
entry (the XSD zip is extracted from inside Part 4); both rows pin the
same outer-zip sha256.
scripts/sources-sync.ts now backfills spec_content.source_id by
part_number, mapping each row to the matching ecma-376-partN source.
The previous backfill targeted a single `ecma-376` source which no
longer exists.
Migration 0005 cleans up the legacy `ecma-376` placeholder row from
reference_sources, but only if no spec_content row references it
(safe for a developer who had already backfilled to the placeholder
id; idempotent).
44 / 0 tests still passing.1 parent b313a9e commit aee4d87
3 files changed
Lines changed: 64 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
10 | 37 | | |
11 | | - | |
| 38 | + | |
12 | 39 | | |
13 | 40 | | |
14 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | | - | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
0 commit comments