Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case sensitivity #28

Closed
cehoffman opened this issue Feb 23, 2018 · 4 comments
Closed

Case sensitivity #28

cehoffman opened this issue Feb 23, 2018 · 4 comments

Comments

@cehoffman
Copy link

The naming of plugins has a bad inconsistency between platforms due to case sensitivity of the filesystem.

On OS X asdf plugin-add luajit works, but on a standard linux install asdf plugin-add luaJIT is requried. I suggest that plugins should all be a single case for consistency between platforms. Since the vast majority of the plugins are currently in lowercase, this should be the default and requirement of future plugins.

@adamu
Copy link

adamu commented Jun 11, 2018

When I install Elixir on OSX, for example, using asdf install elixir 1.6.5, it installs it as capital-E Elixir (visible via asdf list).

If I then do asdf global elixir 1.6.5, the command succeeds and adds a lower-e elixir entry to .tool-versions, but it is ignored by asdf global. It's necessary to use the upper-case version: asdf global Elixir 1.6.5.

update: I realised the required case depends on the argument originally given to asdf plugin-add.

@Stratus3D
Copy link
Member

I'm open to suggestions how we should deal with case sensitivity. @adamu you are correct, the argument you give to asdf plugin-add becomes the directory name, and all later commands must match that directory name exactly.

@jthegedus
Copy link
Contributor

jthegedus commented Dec 14, 2020

I support a change to forcing lowercase. This would get around OS specific handling of casing.

@hyperupcall
Copy link
Contributor

I think this can now be closed - asdf-vm/asdf now validates for proper casing when adding/removing plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants