[feat] - Add Azure DevOps integration as a Git provider
- [ ] This change is worth documenting at https://docs.all-hands.dev/
- [ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below
End-user friendly description of the problem this fixes or functionality that this introduces.
This PR adds support for Azure DevOps as a Git provider, allowing users to authenticate with Azure DevOps and access their repositories through the OpenHands platform.
- Added ProviderType.AZUREDEVOPS to service_types.py enum
- Created azuredevops_service.py implementing GitService protocol
- Updated provider.py to import and use AzureDevOpsServiceImpl
- Added Azure DevOps domain to provider_domains dictionary
- Implemented custom URL construction for Azure DevOps repositories
Git Provider Settings UI
Give a summary of what the PR does, explaining any non-trivial design decisions.
Link of any specific issues this addresses.
@openhands-agent fix builds
@vinisdl Sorry, openhands-agent works only on branches from the repo and caller with permissions, it doesn't on external branches (a limitation because it's called from github actions).
An alternative is to set it up and run it on your forked repo, if you wish, or to run it locally (it has a headless entry point). Another alternative may be to use the @OpenHands tag, which works on the company cloud service.
I'm very interested in this feature. Need any help?
Also, does this enable OpenHands to be able to publish Azure DevOps PRs? A quick glance of the code looks like it doesn't, or I missed it.
Edit: Doesn't look like it, as that would need to go in a new openhands/resolver/interfaces/azuredevops.py.
Hey @kentyman23, I’m moving kinda slow on this since I don’t have much time, but if you want, I can add you to help out with the pull request.
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
I'm looking into something similar here: #8573
Hi there folks! I just wanted to check in to see what the general status of this PR is? I know it's a big one but is there plan to eventually continue this?
Hello! @kentyman23 and I have been working on this one, which is a bit more current, so I think we'll probably transition to this one: https://github.com/All-Hands-AI/OpenHands/pull/8573
But thanks for the contribution @vinisdl !