bug: Can't add plugin R
shionryuu opened this issue · 2 comments
shionryuu commented
Describe the Bug
$ asdf plugin list-all | grep ^R
R https://github.com/asdf-community/asdf-r.git
$ asdf plugin add R
R is invalid. Name may only contain lowercase letters, numbers, '_', and '-'
$ asdf plugin add r
plugin r not found in repository
$ asdf info
OS:
Linux nerv 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
BASH VERSION:
5.1.16(1)-release
ASDF VERSION:
v0.13.1-0586b37
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/user/.asdf
ASDF_DIR=/home/user/.asdf
ASDF_CONFIG_FILE=/home/user/.asdfrc
ASDF INSTALLED PLUGINS:
cmake https://github.com/srivathsanmurali/asdf-cmake.git master 3811ad7
Steps to Reproduce
asdf plugin add R
Expected Behaviour
add plugin R
Actual Behaviour
add plugin fail with error: R is invalid. Name may only contain lowercase letters, numbers, '_', and '-'
Environment
OS:
Linux nerv 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
BASH VERSION:
5.1.16(1)-release
ASDF VERSION:
v0.13.1-0586b37
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/user/.asdf
ASDF_DIR=/home/user/.asdf
ASDF_CONFIG_FILE=/home/user/.asdfrc
ASDF INSTALLED PLUGINS:
cmake https://github.com/srivathsanmurali/asdf-cmake.git master 3811ad7
asdf plugins affected (if relevant)
No response
hyperupcall commented
This was caused by #1400
Workaround: asdf plugin add r https://github.com/asdf-community/asdf-r.git
jthegedus commented
Fixed in asdf-vm/asdf-plugins@2319648
I fixed this by adding the same plugin URL under a new plugin entry r
. I have left R
for historical purposes. No new plugins can be added with uppercase names to cause this again, so I will mark this issue as closed. Thanks.