jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
9.95k stars 287 forks source link

Erlang core plugin not being used #1673

Closed benvp closed 5 months ago

benvp commented 8 months ago

Describe the bug When trying to use the core erlang plugin mise asks to install the community based plugin.

To Reproduce Without any plugins installed, run mise ls-remote erlang. It will prompt for the community based asdf-plugin to be used.

Expected behavior I expect mise to use the mise core plugin if the community plugin is not installed already.

mise doctor output

mise version:
  2024.2.16 macos-arm64 (2024-02-15)

build:
  Target: aarch64-apple-darwin
  Features: DEFAULT, NATIVE_TLS
  Built: Thu, 15 Feb 2024 02:24:55 +0000
  Rust Version: rustc 1.75.0 (82e1608df 2023-12-21) (Homebrew)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-apple-darwin23.0)

mise dirs:
  data: /Users/benvp/.local/share/mise
  config: /Users/benvp/.config/mise
  cache: /Users/benvp/Library/Caches/mise
  state: /Users/benvp/.local/state/mise
  shims: /Users/benvp/.local/share/mise/shims

mise environment variables:
  MISE_SHELL=zsh

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = false
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_compile = false
  python_default_packages_file = "/Users/benvp/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  python_venv_auto_create = false
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false

activated: yes
shims_on_path: yes
config files:
  ~/.config/mise/config.toml

plugins:
  bun      (core)
  deno     (core)
  elixir   https://github.com/asdf-vm/asdf-elixir.git#a4c42e1
  go       (core)
  java     (core)
  node     (core)
  python   (core)
  ruby     (core)

toolset:
  node@lts, elixir@1.16.1-otp-26, ruby@3.3.0, python@3.10.4 python@2.7.18, erlang@26

No problems found

Additional context In addition mise does not seem to have the Erlang plugin listed under the core plugins

mise plugin ls --core
bun
deno
go
java
node
python
ruby
jdx commented 8 months ago

it's still experimental so you need to enable experimental mode

booniepepper commented 8 months ago

To only use this experimental plugin and no other experimental features:

MISE_EXPERIMENTAL=1 mise use -g erlang@26

To opt in to all experimental features, export MISE_EXPERIMENTAL=1 in your shell sessions. For example in ~/.bashrc or ~/.zshrc

export MISE_EXPERIMENTAL=1

https://mise.jdx.dev/configuration.html#mise-experimental-1

booniepepper commented 8 months ago

Maybe one easy thing to reduce this kind of issue is to update the <Badge ...> for experimental things in the docs to also have links to the MISE_EXPERIMENTAL env variable docs