backstage / backstage

Backstage is an open framework for building developer portals
https://backstage.io/
Apache License 2.0
27.89k stars 5.87k forks source link

🚀 Feature: Support git tags in azure integration #25324

Closed yuriy-sng closed 1 month ago

yuriy-sng commented 3 months ago

🔖 Feature description

Support for azure devops git integration for refs others that GB, like GT, for tags.

https://dev.azure.com/(...)/(...)/_git/FrameworkCI?version=GT1.2.0

🎤 Context

I have a CI/CD framework which versions stuff, in order to do it I am using git tags. I've been unable to track locations referring a git tag for a while now, but now I wanted to use "fetch:template" by pointing to a tag and I've encountered the error

Azure URL version must point to a git branch

Checking the blame it looks like it has been like this for 3 years, so if there was any kind of techinical limitation for this, it's probably solved by now.

✌️ Possible Implementation

No response

👀 Have you spent some time to check if this feature request has been raised before?

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

freben commented 3 months ago

In general, we point to trunk / main branch for things, since that ensures that consumers get the latest version of whatever it is that you are pointing at. This is particularly relevant for the catalog, where pointing to a tag gets really really annoying for people working with the catalog and trying to iterate on their catalog data.

But for templates, if you want to point to a specific version of the template data or whatnot? Sure, maybe that's a good use case. Feel free to make a PR to the integrations system if this is helpful.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.