Add the ability to compare branches #1471
dbollish-stellar
started this conversation in
Backlog of Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Add a tool to repository module that integrates with Azure DevOps APIs to enable comparison of branches
Tools
Develop the following tools with full parameter support, including optional ones:
compare_branches: Search Azure DevOps Wikis for relevant content.Endpoint: GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/diffs/commits?baseVersion={base}&baseVersionType=branch&targetVersion={target}&targetVersionType=branch&api-version=7.1
Rules
Special treat
If you follow the rules, you'll get candy!
#Existing Example
This project implements a similar functionality to compare_branches as can be done on the ADO web UI.
I intend to use this to generate release notes and get a definitive list of the differences between the main branch and a release branch.
https://github.com/Elad-Health/azure-devops-mcp/blob/main/src/tools/git.ts
All reactions