Repository navigation
Commit 585665c
committed
fix(xpkg): survive the full mcpp-index corpus — 42/42 descriptors parse strict
Dry-running the new lint over every existing mcpp-index descriptor found
three gaps, all fixed:
- list_xpkg_versions only accepted double-quoted version keys; tensorvia's
['0.1.1'] spelling made its versions invisible. Accept both quotes.
- linux/macosx/windows per-platform sub-tables are KNOWN schema keys (the
current platform's body is merged before the key loop); they no longer
read as unknown on other platforms.
- Form A descriptors (no mcpp segment; build info from the source's own
mcpp.toml) are a valid form: `xpkg parse` reports form A and passes
instead of failing on the missing segment.
Corpus check: all 42 pkgs/*.lua in mcpp-index now pass `xpkg parse`
(strict) with zero warnings.1 parent 8cc8e46 commit 585665c
2 files changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
98 | 114 | | |
99 | 115 | | |
100 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
| 706 | + | |
706 | 707 | | |
707 | 708 | | |
708 | | - | |
709 | | - | |
| 709 | + | |
| 710 | + | |
710 | 711 | | |
711 | 712 | | |
712 | 713 | | |
| |||
1182 | 1183 | | |
1183 | 1184 | | |
1184 | 1185 | | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
1185 | 1192 | | |
1186 | 1193 | | |
1187 | 1194 | | |
| |||
0 commit comments