feat(.tool-versions): support for a new tool#2265
Conversation
Is there an API that we can query to retrieve the package version? |
I've been thinking of using an ad hoc implementation for some of the known tools, such as Golang, Python, Java, or similar ones. For instance, there are some GitHub actions in charge of configuring some tools and installing the given version or aliases:
I don't know if a similar implementation to what Jenkins does for crawling the tools: Could be an option? What do you think? Am I thinking this too much, and it might not be something worthy to do it? |
I believe an issue with discussion would be needed: ASDF support would be really cool, but we have to plan it all together as there are no centralized package index: it uses plugins for each implementation. Plugin could be used to retrieve informations but it might be a case by case implementation |
See #2274 |
|
@v1v Could I also ask you to create a documentation page on https://github.com/updatecli/website/tree/master/content/en/docs/plugins/resource ? I see a few spelling issues with unknown words, you can add them to "https://github.com/updatecli/updatecli/blob/main/.github/actions/spelling/allow.txt" to ignore those message Feel free to ping if you need some help to finalize this pullrequest |
…ersion' into feature/use-tools-version * refs/remotes/origin/feature/use-tools-version: deps(go): bump module github.com/hashicorp/hcl/v2 (updatecli#2256) deps: Bump Golang version to 1.22.5 (updatecli#2267) fix(npm-source): Deprecated field can be bool (updatecli#2268)
Done, see updatecli/website#1477 |
|
@v1v Are you confident merging this pullrquest? |
Yes. I ran a few local executions with different cases and so far it works as I intended 🙏 |
Support for
.tool-versionsformat, see https://asdf-vm.com/manage/configuration.html#tool-versionsTest
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
Potential improvement
Support for the
autodiscovery?