Skip to content
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

Record template install version for flagging upgrades #1126

Open
itowlson opened this issue Feb 8, 2023 · 0 comments
Open

Record template install version for flagging upgrades #1126

itowlson opened this issue Feb 8, 2023 · 0 comments
Labels
area/CLI CLI good first issue Good for newcomers

Comments

@itowlson
Copy link
Contributor

itowlson commented Feb 8, 2023

We currently record where templates originated from, but not any info that identifies their version (such as the inferred version tag they were installed from, or the Spin version that installed them).

If we did this, we would add something to spin new where it could say, "Hey, that template you're instantiating came from a different version of Spin than what you're using. Do you want to get the matching one?" Which would be annoying, though not as annoying as an ABI mismatch error.

That said, this still uses the Spin version as a proxy for compatibility. There's no value to the user in nagging them to rev their templates from 3.1 to 3.2 if there are no changes in the guest interfaces between those versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CLI CLI good first issue Good for newcomers
Projects
Status: 📋 Investigating / Open for Comment
Development

No branches or pull requests

1 participant