Public Access
feat: SourceResolver queries Gitea Manifest API for entry_point (#249) #286
Reference in New Issue
Block a user
Delete Branch "feature/249-source-resolver-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SourceResolver::resolve()now checks the Gitea Manifest APIentry_pointfield before falling back to filesystem detection. This makes the API the single source of truth for source directory resolution in CI.Resolution order:
entry_point) — whenGA_TOKEN/GITEA_TOKEN+GITHUB_REPOSITORYare setsource/,src/,htdocs/)sourcefor new reposNo callers need to change — the existing
SourceResolver::resolve($root)interface is unchanged. The API check is transparent and cached per process.Test plan
GA_TOKENset: verify API is queried andentry_pointusedphp -l lib/Enterprise/SourceResolver.phppassesdeploy_joomla,theme_lint,auto_detect_platform) work unchangedCloses #249