refactor: move profile selection into profiling

select_profiles and version_selection go to profiling.selection, the flag
refusals to profiling.flagchecks. main calls selection, quota and the
profile loader through their modules, so tests patch them there.
generate_truth's parse_args becomes build_parser.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 15:47:20 +01:00
1 parent 8afccc3d0f
commit b520e48798
8 files changed
+241 -219

No files matched your search

+2 -1
View File
@@ -154,8 +154,9 @@ COMMANDS = {
"profiling/yamledit.py", "profiling/proseedit.py", "profiling/rebase.py",
"profiling/bump.py", "profiling/realign.py", "profiling/run.py", "profiling/worktree.py",
"profiling/quota.py", "profiling/sourcepaths.py", "profiling/realignpass.py",
"profiling/versioncheck.py",
"profiling/versioncheck.py", "profiling/selection.py", "profiling/flagchecks.py",
),
"generate_truth.py": ("resolve/truth.py",),
"diff_truth.py": ("exporter/truthdiff.py", "exporter/diffreport.py"),
"fetch_site_images.py": ("sitegen/imagefetch.py", "sitegen/imagenormalize.py"),
"make_site_icons.py": ("sitegen/brand.py", "sitegen/chromium.py"),