Skip to content

Multiple git hosts: support GitLab, Bitbucket, Azure DevOps, and self-hosted #501

@kasperjunge

Description

@kasperjunge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions