fix: keep MinUI core dirs out of the tree view

Without --platform, cross_reference and the site's gap report merged every
platform's standalone set, MinUI, NextUI and MyMinUI coredir: markers
included. A marker says which cores one platform hands a folder, so in the
union every core those three do not list got no layout: px68k showed 0 of
6 files and the global report lost 238 profiles and 1201 files.
merged_standalone_set drops the markers, and both readers use it.
This commit is contained in:
Abdessamad Derraz committed 2026-11-05 19:39:07 +01:00
1 parent 0428588a6c
commit da19bb5755
4 files changed
+48 -7

No files matched your search

+16
View File
@@ -2446,6 +2446,22 @@ def standalone_set(config: dict) -> set[str]:
return names
def merged_standalone_set(configs: Iterable[dict]) -> set[str]:
"""The standalone set of several platforms read as one tree.
A per-core directory marker says which cores one platform hands a folder
and that it hands the others none. Carried into the union, MinUI's 86
markers left every core they do not list without a layout: the global
gap report lost 238 profiles and 1201 files without a word.
"""
return {
tag
for config in configs
for tag in standalone_set(config)
if not tag.startswith(CORE_DIR_PREFIX)
}
def _handed(standalone_cores: Iterable[str]) -> list:
"""The directories a standalone set carries, as launchers built them."""
from launchers import HandedDirectory # noqa: PLC0415