-
-
Notifications
You must be signed in to change notification settings - Fork 256
feat(integration): ✨ add support for azure devops #1283
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for opening this pull request! Please check out our contributing guidelines! ⛰️ |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1283 +/- ##
==========================================
+ Coverage 43.46% 45.08% +1.63%
==========================================
Files 22 23 +1
Lines 1972 2083 +111
==========================================
+ Hits 857 939 +82
- Misses 1115 1144 +29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
|
All right, I think I managed to get all the checks in green. Except for one about links but I believe these are unrelated to my changes Please let me know if there anything else that needs changing! |
Introducing integration with Azure DevOps to bridge the gap in obtaining commit information
Provide the necesary fixtures to test the functionality of azure devops
Adding md file for azure dev ops
adding azure devops unit tests
|
I’m not sure many developers are very familiar with Azure DevOps, but if it’s possible to use it freely, I’d be glad to help with reviewing this PR. Since this PR is quite large, I think it might have been easier for reviewers (including @orhun) if an issue was opened first and the changes were split into smaller PRs. Just a thought — I really appreciate the effort that went into this! |
|
Thank you for taking a look.
Microsoft offers a free tier that has some restrictions but enough to use it for small personal projects. You can enter into a subscription for more options later. This is similar to Gitlab's pricing, and there is a git-cliff integration for that source control already.
The test fixture website I've set up is using this free tier: https://dev.azure.com/shiftme/gitcliff/_git/git-cliff-readme-example NGL my intention with this PR was more towards users that use Azure DevOps in organizations where this is the prefered source control. But I get your point.
Edit: I've created an issue for this #1289 I'm unsure if splitting the changes is a good idea. All the changes in the PR, except for the ones I explicitly called out, are net new. And after you review some of the files, you'll notice this is just following a "copy" of the existing patterns... i.e. wherever there was Looking at #663 / #613 I notice more or less the number of same files. But I get it, if splitting makes sense to you all, I can work on chopping this up somehow... |
|
I'll take a look soon. |

Description
This PR adds Azure DevOps integration to git-cliff, enabling changelog generation with metadata from Azure DevOps repositories (commits, pull requests, and contributors).
Motivation and Context
git-cliff currently supports GitHub, GitLab, Gitea, and Bitbucket integrations, but lacks support for Azure DevOps - a widely used Git hosting platform by large enterprises. This change enables users hosting their repositories on Azure DevOps to leverage the same remote integration features available for other platforms.
How Has This Been Tested?
test-azure-devops-integration: Basic integration test with public Azure DevOps repositorytest-azure-devops-integration-custom-range: Tests custom version range (v1.0.0..v1.0.1)Screenshots / Logs (if applicable)
debug-log.txt
Types of Changes
Checklist:
Note: This PR also includes improved error logging in
remote/mod.rsfor all remote integrations, which helps debug API failures by logging the actual error responses. If this is out of scope, I'm happy to revert those changes.