Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] - Add Azure DevOps integration as a Git provider #7645

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

vinisdl
Copy link
Contributor

@vinisdl vinisdl commented Apr 1, 2025

  • 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

image


Give a summary of what the PR does, explaining any non-trivial design decisions.


Link of any specific issues this addresses.

@vinisdl
Copy link
Contributor Author

vinisdl commented Apr 1, 2025

@openhands-agent fix builds

@enyst
Copy link
Collaborator

enyst commented Apr 1, 2025

@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.

@All-Hands-AI All-Hands-AI deleted a comment from openhands-ai bot Apr 1, 2025
@vinisdl vinisdl changed the title [feat] - Add azure devops integration [feat] - Add Azure DevOps integration as a Git provider Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants