这是indexloc提供的服务,不要输入任何密码
Skip to content

Add tags to the runtime metadata definition #86

@Angelmmiguel

Description

@Angelmmiguel

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions