refactor: move profile kinds to their own module

model.systems kept an inline copy of reads_own_files because model.profiles imports it. The predicates live in model.profilekinds, which both import, and model.profiles re-exports them. sitegen.build reads lists_files instead of its own launcher/alias tuple.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 10:29:37 +01:00
1 parent 780d40fb7b
commit 71776198e9
5 files changed
+31 -24

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ on:
- "scripts/model/nodedup.py"
- "scripts/model/platforms.py"
- "scripts/model/profiles.py"
- "scripts/model/profilekinds.py"
- "scripts/model/region.py"
- "scripts/model/registry.py"
- "scripts/model/releaserecord.py"