Skip to content

platform_rows: the rows a platform entry serves, derived from its manifest and checked; mcpp.plugins 0.22.1 - #811

Merged
Sunrisepeak merged 2 commits into
mainfrom
eco/platform-rows
Nov 16, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
eco/platform-rows

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

mcpp 2026.11.17.1 answers the target table's platform column from the index for a row its own table has no platform for (SPEC-013 §14): a row it does not know, a planned row, a row no built-in provider serves on the host. A platform entry lists those rows in platform_rows.

  • tools/platform_rows.py write <entry> derives the list from the newest version's manifest: [platform] targets, [[platform.define]], [[platform.provider]] serves (a pattern stands for the rows it matches among the platform's and the engine's, the engine's from builtin.toml at the mcpp release this index pins), and of [platform.hosted] targets only rows the engine does not know or holds as planned. No entry claims a host's own row.
  • The lint job runs tools/platform_rows.py check: each list matches its manifest, and a row has one platform.
  • openkal-platform lists its ten rows. mcpp 2026.11.16.1 parses an entry with the field (mcpp xpkg parse, strict) and ignores it.
  • docs/repository-and-schema.md (en, zh) describe the field.

openkal-platform 0.29.1 joins this PR when it is released.

@Sunrisepeak Sunrisepeak changed the title platform_rows: the rows a platform entry serves, derived from its manifest and checked; openkal-platform 0.29.1 platform_rows: the rows a platform entry serves, derived from its manifest and checked; mcpp.plugins 0.22.1 Nov 16, 2026
@Sunrisepeak
Sunrisepeak merged commit a97b3ec into main Nov 16, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant