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

Add tags to the runtime metadata definition #86

Closed
Tracked by #63
Angelmmiguel opened this issue Feb 13, 2023 · 0 comments · Fixed by #87
Closed
Tracked by #63

Add tags to the runtime metadata definition #86

Angelmmiguel opened this issue Feb 13, 2023 · 0 comments · Fixed by #87
Assignees
Labels
🚀 enhancement New feature or request
Milestone

Comments

@Angelmmiguel
Copy link
Contributor

Angelmmiguel commented Feb 13, 2023

Tags will simplify the installation of language runtimes. It allows repositories to set aliases to the runtime versions to simplify the naming. For example, you may name a specific version as latest or by the major version (3).

Aliases must be unique per repository + name, although they may change. You may have multiple latest for different runtime names. You can also update aliases when a new version is released. We will provide tooling in the future to validate it. For now, if an alias is duplicated, wws will use the first one.

Note that when a runtime is installed, the metadata is stored in the .wws.toml file. This locks the version of the runtime at that time. If a developer wants to use the latest version for a given alias, they may need to reinstall the runtime it.

New field

Property Type Description
tags String[] Version aliases to simplify installation

I also updated #65 with the new field

@Angelmmiguel Angelmmiguel self-assigned this Feb 13, 2023
@Angelmmiguel Angelmmiguel added the 🚀 enhancement New feature or request label Feb 13, 2023
@Angelmmiguel Angelmmiguel added this to the v1.0.0 milestone Feb 13, 2023
@Angelmmiguel Angelmmiguel changed the title Add aliases to the runtime metadata definition Add tags to the runtime metadata definition Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant