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

Script task discovery does not work when using .mise/config.toml #1480

Closed
vhdirk opened this issue Jan 18, 2024 · 0 comments · Fixed by #1482
Closed

Script task discovery does not work when using .mise/config.toml #1480

vhdirk opened this issue Jan 18, 2024 · 0 comments · Fixed by #1482
Labels
bug Something isn't working

Comments

@vhdirk
Copy link
Contributor

vhdirk commented Jan 18, 2024

Describe the bug
Script tasks placed in .mise/tasks are not discovered when using .mise/config.toml rather than .mise.toml.

To Reproduce
Place tasks in .mise/tasks
Move .mise.toml to .mise/config.toml

Expected behavior
mise task ls should show all script tasks

mise doctor output

mise version:
  2024.1.22 linux-x64 (9b81b2a 2024-01-17)

build:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Wed, 17 Jan 2024 03:26:43 +0000
  Rust Version: rustc 1.75.0 (82e1608df 2023-12-21)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-debian-linux-gnu)

mise data directory:
  /home/dirk/.local/share/mise

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": true,
    "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": "/home/dirk/.default-python-packages",
    "python_patch_url": null,
    "python_precompiled_os": null,
    "python_patches_directory": null,
    "python_precompiled_arch": null,
    "python_pyenv_repo": "https://github.com/pyenv/pyenv.git",
    "python_venv_auto_create": false,
    "raw": false,
    "shorthands_file": null,
    "task_output": null,
    "trusted_config_paths": [
      "~/devel",
      "~/projects"
    ],
    "quiet": false,
    "verbose": false,
    "yes": false,
    "ci": false,
    "cd": null,
    "debug": false,
    "env_file": null,
    "trace": false,
    "log_level": "info"
  }

config files:
  ~/.config/mise/config.toml
  ~/devel/pulse-mvpi-1.6.5/.mise/config.toml

plugins:
  assh                https://github.com/zekker6/asdf-assh.git#0cd5410
  bat                 https://gitlab.com/wt0f/asdf-bat.git#d5a4f38
  bat-extras          https://github.com/vhdirk/asdf-bat-extras#d7503ed
  bitwarden           https://github.com/vixus0/asdf-bitwarden.git#c3679ff
  bun                 (core)
  chezmoi             https://github.com/joke/asdf-chezmoi.git#8464ebe
  delta               https://github.com/andweeb/asdf-delta.git#501318b
  deno                (core)
  direnv              https://github.com/asdf-community/asdf-direnv.git#a2219c2
  erlang              (core)
  eza                 https://github.com/lwiechec/asdf-eza.git#dedb2d1
  fzf                 https://github.com/kompiro/asdf-fzf.git#d19eb67
  gcc-arm-none-eabi   git@github.com:vhdirk/asdf-gcc-arm-none-eabi.git#1b0434c
  go                  (core)
  goldwarden          https://github.com/vhdirk/asdf-goldwarden#9c06b56
  helm                https://github.com/Antiarchitect/asdf-helm.git#a39e17b
  helm-diff           https://github.com/dex4er/asdf-helm-diff.git#47bb84b
  helmfile            https://github.com/feniix/asdf-helmfile.git#818feac
  java                (core)
  jbang               https://github.com/jbangdev/jbang-asdf.git#96c41a7
  krew                https://github.com/bjw-s/asdf-krew.git#0affc67
  kubectl             https://github.com/asdf-community/asdf-kubectl.git#cbe6df4
  node                (core)
  pdm                 https://github.com/1oglop1/asdf-pdm#e83033a
  poetry              https://github.com/rtx-plugins/rtx-poetry.git#82d11e3
  python              (core)
  ripgrep             https://gitlab.com/wt0f/asdf-ripgrep.git#e836665
  ruby                (core)
  rust                https://github.com/code-lever/asdf-rust.git#95acf4f
  watchexec           https://github.com/nyrst/asdf-watchexec.git#b667a08

toolset:
  chezmoi@latest, assh@latest, eza@latest, bat@latest, fzf@latest, bitwarden@latest, goldwarden@latest, bat-extras@latest, direnv@latest, ripgrep@latest, delta@latest, gcc-arm-none-eabi@8-2018.q4, kubectl@latest, krew@latest, helm@latest, helm-diff@latest, helmfile@latest, poetry@1.6.1, pdm@latest, node@latest, rust@nightly, java@openjdk-20.0.2, jbang@latest, go@latest

No problems found

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant