gitbutlerapp / gitbutler

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
https://gitbutler.com
Other
11.47k stars 467 forks source link

🚀 Feature: Support Azure DevOps #2651

Open cftad opened 4 months ago

cftad commented 4 months ago

Like the existing GitHub integration, support for viewing and raising PRs for Azure DevOps would be great. 😄

https://azure.microsoft.com/en-gb/products/devops/repos/

cddigi commented 2 months ago

So far, I have not had any issue using DevOps with GitButler for Windows, I was able to just add my exiting repo to GB and it worked. It picks up the RSA key on my machine that I've added to my DevOps profile and is able to create and branch and push to remote. However, when trying to open commits that were pushed to Azure DevOps, it is using the wrong URL format.

What GitButler produces: https://ssh.dev.azure.com/v3/<organization>/<project-name>/<repo-name>/commit/<hash>

The actual link to the commit: https://dev.azure.com/<organization>/<project-name>/_git/<repo-name>/commit/<hash>

This is the repo that DevOps has me use for SSH: git@ssh.dev.azure.com:v3/<organization>/<project-name>/<repo-name>

DylanSnel commented 1 month ago

@cddigi How do you create a PR for devops with it? Am i missing a button?

cddigi commented 1 month ago

I never got a button to create the PR from within GitButler like I would for GitHub. It only offers a button to view the commit on DevOps, it's that button which is giving me the invalid URL.