Check version being installed is in `list-all`
- Dominant language
- Go
- Stars
- 25.6k
- Forks
- 941
- Avg merge
- 9h 24m
- Merged PRs (30d)
- 3
Description
**Is your feature request related to a problem? Please describe.**
Users will install versions not listed in `list-all` for their tool assuming it will install the latest minor/patch for that tool, when in actual fact it creates an erroneous installation. It is difficult to debug what is happening and what the solution is.
**Describe the solution you'd like**
`asdf install ` should validate `` is a complete match for an item returned by `asdf list-all `
**Describe similar asdf features and why they are not sufficient**
NA
**Describe workarounds you've considered**
NA
**Additional context**
This would mean an installation hits the network each time. Caching of the `list-all` results may mitigate this inconvenience.
This comes up in the core and in plugin repos: related https://github.com/asdf-community/asdf-kubectl/issues/1
Contributor guide
Research direction
Start with the `asdf install ` command and compare its version handling with `asdf list-all `; the issue names no files or tests. Trace the core and plugin behavior, then verify that an install rejects versions absent from `list-all` while considering the stated network and caching impact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100