mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
* fix(azure-devops): recognize vs-ssh.visualstudio.com SSH remotes Organizations on the older visualstudio.com URLs clone over SSH with <org>@vs-ssh.visualstudio.com:v3/<org>/<project>/<repo>. The repository parser only accepted ssh.dev.azure.com, so these remotes parsed to null and the repo got no Azure DevOps pull request or status features. Accept vs-ssh.visualstudio.com in both the SCP and ssh:// forms, and resolve it to the same reference the org's https://<org>.visualstudio.com remote already gets. Fixes #ISSUE * fix(azure-devops): validate vs-ssh org names and fix renderer PR links A vs-ssh remote's org becomes the API hostname that receives the Azure DevOps PAT, so reject anything but a plain org name. The renderer's manual PR link parser also missed vs-ssh remotes and built a link on vs-ssh.visualstudio.com; resolve it to the org's visualstudio.com repo. --------- Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>