incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Feature][Azuredevops] Support on prem devops server

Open wouldd opened this issue 1 year ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Use case

We use Azure devops on premise with server addition but currently devlake only supports the cloud version. However the differences required to support on prem are relatively small

Description

I hard coded a fix locally for this. The azuredevops plugin hard codes the cloud url, and it expects to query an end point to find out what organisations your pat token can see and from their enumerate the projects. However if you allow setting the base url for your on prem system and just explicitly telling it which org to look at. then all the rest of the api calls work identically on premise. For my local purposes I rebuilt a version that hard coded the base url to our internal system etc. I don't have a sense of how much work it is to support taking this configuration via the UI. I do notice that the is a radio button for on-premise which is just disabled as unsupported. so possible some of the ground work is already there?

Related issues

there is a related issue in the gitextractor logic - I'm not sure how it determins that it is talking to an azurerepo. There is a logic check for it that sets a protocol option that is required which did not trigger for me. I wound up just removing the check altogether because I'm only integrating with azure devops server. However there may need to be some work to ensure that same if block fires for onprem created repos.

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

wouldd avatar Mar 05 '24 09:03 wouldd

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar May 05 '24 00:05 github-actions[bot]

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.

github-actions[bot] avatar May 12 '24 00:05 github-actions[bot]