Skip to content

Add GitAutomation.AzureDevOps library - #2222

Merged
lbussell merged 5 commits into
mainfrom
lbussell/azure-devops-api-client
Sep 2, 2026
Merged

lbussell merged 5 commits into
mainfrom
lbussell/azure-devops-api-client

Conversation

@lbussell

@lbussell lbussell commented Sep 1, 2026 •

Copy link
Copy Markdown
Member

This PR adds a minimal Azure DevOps HTTP client library. The purpose is to make adding Azure DevOps support to the GitAutomation library as simple as possible.

I chose to implement a new HTTP client library instead of using Microsoft.TeamFoundationServer.Client because that library has a huge dependency tree, when we would only need to use a very small part of it. Additionally, the Azure DevOps API is extremely stable.

Part of:

Stack created with GitHub Stacks CLI • Give Feedback 💬

@lbussell
lbussell requested a review from a team as a code owner September 1, 2026 16:48
@lbussell lbussell changed the title lbussell/azure devops api client Add GitAutomation.AzureDevOps library Sep 1, 2026
lbussell and others added 2 commits September 1, 2026 10:06
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ce8438ef-d788-4eeb-a581-f3df996c8cd1
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 43e0dbdb-c6a4-4dbf-bf78-b620f850990d
lbussell and others added 2 commits September 1, 2026 13:52
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 43e0dbdb-c6a4-4dbf-bf78-b620f850990d
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 43e0dbdb-c6a4-4dbf-bf78-b620f850990d
@lbussell

lbussell commented Sep 1, 2026 •

Copy link
Copy Markdown
Member Author

I removed the AzureDevOps prefix from the model types, because 1) some names were getting unreasonably long, and 2) the GitAutomation.AzureDevOps namespace prevents conflicts downstream.

After double-checking the rest of the API models, I also found that committer email address can be null if 1) the commit doesn't have an email address, or 2) if the http requests are unauthenticated. I updated the model accordingly.

@lbussell
lbussell requested a review from mthalman September 2, 2026 14:29
@lbussell
lbussell merged commit c274d28 into main Sep 2, 2026
11 checks passed
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.

2 participants