Problem
The GitHub client supports a configurable API base URL internally, but the CLI and service do not expose it. Users of GitHub Enterprise Server therefore cannot point ContribCheck at their organization instance without writing Python code. The reference parser is also hard-coded to github.com, so even a configured base URL would not accept enterprise issue URLs.
Proposed change
Expose the API endpoint through a CLI option and environment variable, and make issue-reference parsing accept any host.
contribcheck inspect owner/repository#123 --base-url https://github.example.com/api/v3
Acceptance criteria
Security note
Tests and examples must use placeholder hosts and tokens. Do not include credentials or private organization URLs.
Problem
The GitHub client supports a configurable API base URL internally, but the CLI and service do not expose it. Users of GitHub Enterprise Server therefore cannot point ContribCheck at their organization instance without writing Python code. The reference parser is also hard-coded to github.com, so even a configured base URL would not accept enterprise issue URLs.
Proposed change
Expose the API endpoint through a CLI option and environment variable, and make issue-reference parsing accept any host.
Acceptance criteria
--base-urlis supported by theinspectcommand.GITHUB_API_URLconfigures the CLI and FastAPI service when the option is absent.https://api.github.com.parse_issue_referenceinsrc/contribcheck/parsing.pyaccepts issue URLs on any host (currently it rejects every host exceptgithub.com/www.github.com), while still requiring the/owner/repository/issues/Npath shape.Security note
Tests and examples must use placeholder hosts and tokens. Do not include credentials or private organization URLs.