praeclarum / FuGetGallery

An alternative web UI for browsing nuget packages
https://www.fuget.org
MIT License
683 stars 121 forks source link

Fix commit url for Azure Devops repos #185

Open AchimStuy opened 10 months ago

AchimStuy commented 10 months ago

We are managing source code through Azure Devops. This uses another url scheme when browsing commits:

https://dev.azure.com/organization/project/_git/repo?version=GCcommit

instead of

https://github.com/user/project/tree/commit

See https://www.nuget.org/packages/Visi.Extensions as example.

AchimStuy commented 10 months ago

Silly me, sorry! It's GCcommit. Edited my PR description.

AchimStuy commented 10 months ago

~I just saw, where th GBcommit came from: We have an on premise Azure Devops Server. There the link is built with GBcommit. But https://dev.azure.com is definitely built with GCcommit.~

No it's not. At on premise Azure Devops Server, it's also built with GCcommit. But GBbranch is used for branches.