refactor: move three dev commands into devtools

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 14:58:47 +01:00
1 parent 2486c06932
commit cadca657a3
12 files changed
+834 -757

No files matched your search

+3
View File
@@ -64,6 +64,9 @@ COMMANDS = {
"generate_installer_doc.py": ("installer_build/installerdoc.py",),
"commit_rules.py": ("devtools/commitrules.py",),
"pr_checks.py": ("devtools/prchecks.py",),
"cleanup_disk.py": ("devtools/diskcleanup.py",),
"migrate.py": ("devtools/biosclassify.py", "devtools/biosmigrate.py"),
"run_tests.py": ("devtools/testrunner.py",),
"check_buildbot_system.py": ("scraper/buildbot_system.py",),
"refresh_stale.py": (
"freshness/stalejob.py", "freshness/stalefindings.py", "freshness/stalecommands.py",
+1 -1
View File
@@ -34,7 +34,7 @@ from core import hostguard
from core import statefile
from collection import integrity as bib
from collection.gitrestore import GitFailed
import cleanup_disk as cd
from devtools import diskcleanup as cd
from release import sync
REPO_ROOT = Path(__file__).resolve().parents[1]
+2 -2
View File
@@ -43,8 +43,8 @@ SIBLING_IMPORTS: dict[str, frozenset[str]] = {
"release": frozenset({"packs"}),
# The launcher archives are written by the pack member writer.
"installer_build": frozenset({"packs"}),
"devtools": frozenset(),
"collection": frozenset(),
# The bios/ migration reads the legacy branches through acquire's fetch.
"devtools": frozenset({"acquire"}),
# A job's commit subjects are checked against the repository's commit rules.
"unattended": frozenset({"devtools"}),
# The installer event schema is checked against the one the build writes.