mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Self-managed GitLab instances on custom domains (e.g., git.company.com) without "gitlab" in the hostname were parsed with 2-segment owner/repo split instead of full-path repo. Users can now declare extra GitLab hostnames in config so the parser treats them like gitlab.com (nested subgroup support). - Add `gitlab_hosts` field to both global and project Config structs - Validate entries at load time (reject scheme, path, port, empty) - Add `ParseOptions` / `ParseSourceWithOptions` to thread hosts into parser - Add `isGitLabHost()` helper combining built-in + custom host detection - Extend `InstallContext` interface with `GitLabHosts()` method - Update all ParseSource call sites (install, search, update, server) - Add JSON schemas for both config files - Add unit tests for config validation and source parsing - Add E2E runbook for devcontainer verification - Document in configuration reference and URL formats appendix