The refusal hint in prebuilt mode points to the source list, which holds names the prebuilt install refuses
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
In prebuilt mode (USE_PREBUILT_OTP set), a name that the prebuilt list does not hold is refused with the hint "Run vfox search erlang to see the names that can be installed". That command lists the source releases unless the variable is set, and the source list holds names that the prebuilt list does not.
Reproduction, with vfox 1.1.0 on Linux x86-64 and the plugin v1.2.4 (83b2826), in a fresh HOME with the plugin added:
vfox search erlang # source list: 546 lines, includes 17.0
USE_PREBUILT_OTP=ubuntu-24.04 vfox install --yes [email protected]
Actual: the install is refused before the download:
Erlang/OTP 17.0 is not in the version list, so it cannot be installed. Run `vfox search erlang` to see the names that can be installed. A partial name, such as 28, is not one of them.
Plain vfox search erlang, without the variable, lists 17.0 again. In a fresh HOME, USE_PREBUILT_OTP=ubuntu-24.04 vfox search erlang lists the prebuilt names instead (179 lines).
Expected: when the variable is set, the hint names the command for the prebuilt list, for example USE_PREBUILT_OTP=ubuntu-24.04 vfox search erlang.
Related: with a warm search cache, the variable does not change the list that the search shows (see #33). The hint would need to match that too once #33 is fixed.
Severity: low. The refusal is correct. Only the hint sends the user to the wrong list.
Code: lib/erlang_utils.lua line 355 (the error with the hint in check_version_listed).
- Dominant language
- Lua
- Stars
- 8
- Forks
- 2
- Avg merge
- 4h 47m
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from version-fox/vfox-erlang
-
Warm search cache accepts an invalid USE_PREBUILT_OTP: waiting for a vfox releasePossibly taken @linghengqian claimed this 1 day ago. Openbug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
version-fox/vfox-erlang#33 · 1 comment ·
Maintainers usually reply within 1 day
All issues in version-fox/vfox-erlang
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugOpenbug discord guide:tailoring locale:enUS triage v4.2.1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
version-fox/vfox#825 ·
Maintainers usually reply within 1 day
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersOpenbug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bookorbit/bookorbit#2314 · 1 comment ·
Maintainers usually reply within 2 days
-
bug P2 tools
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day