Summary
Extend agr to support git hosts beyond GitHub: GitLab, Bitbucket, Azure DevOps, GitHub Enterprise, and self-hosted git servers.
Why
Enterprise users often use internal git hosting. The existing [[source]] config with URL templates already provides the data model for this. The work is in ensuring the fetcher, authentication, and handle resolution all work across hosts.
Scope
- Extend
source.py to support multiple host types with appropriate URL patterns
- Support authentication for each host (tokens, SSH keys)
- Update
git.py to handle host-specific clone/checkout behavior
- Test with GitLab and Bitbucket at minimum
- Consider: auto-detection of host type from URL
🤖 Generated with Claude Code