refactor: reorganize backend module boundaries

This commit is contained in:
jxxghp
2026-08-14 19:53:33 +08:00
parent fe0b444ceb
commit 369d7d6448
584 changed files with 2423 additions and 2275 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ python <skill_dir>/scripts/submit_feedback_issue.py \
--username "<current admin username if known>"
```
The script automatically imports MoviePilot's `app.platform.config.settings`
The script automatically imports MoviePilot's `app.runtime.config.settings`
and reads the system-configured `GITHUB_TOKEN` / `settings.GITHUB_HEADERS`
from the running MoviePilot environment. Do not ask the user to provide
a GitHub token in chat, and never accept or echo a token from the user.
@@ -28,7 +28,7 @@ REPO_ROOT = _find_repo_root()
if str(REPO_ROOT) not in sys.path:
sys.path.insert(0, str(REPO_ROOT))
from app.platform.config import settings # noqa: E402
from app.runtime.config import settings # noqa: E402
FEEDBACK_REPO_OWNER = "jxxghp"
@@ -36,7 +36,7 @@ from feedback_issue_common import (
validate_enum,
validate_target_repo_for_issue,
)
from app.foundation.http import RequestUtils
from app.adapters.network.http import RequestUtils
REQUIRED_PAYLOAD_FIELDS = (