mise icon indicating copy to clipboard operation
mise copied to clipboard

Globs not working for change detection

Open qbedard opened this issue 1 year ago • 0 comments

Describe the bug Changes are not detected when globs are used in the sources key for a task.

To Reproduce

# .mise.toml
[tasks.hi]
sources = ["o*"]
outputs = ["newer"]
run = "echo hi"
> touch older
> touch newer
> mise run hi
[hi] $ echo hi
hi

Expected behavior mise should detect that newer is newer than older and not run the task command.

mise doctor output

version: 2024.8.15 macos-x64 (2024-08-28)
activated: yes
shims_on_path: no

build_info: 
  Target: x86_64-apple-darwin
  Features: DEFAULT, NATIVE_TLS
  Built: Wed, 28 Aug 2024 23:52:52 +0000
  Rust Version: rustc 1.80.1 (3f5fd8dd4 2024-08-06) (Homebrew)
  Profile: release

shell: 
  fish
  fish, version 3.7.1

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

config_files: 
  ~/.config/mise/config.toml
  ~/.mise.toml

backends: 
  cargo
  core
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins: 
  action-validator  https://github.com/mpalmer/action-validator.git#b54fac9
  rust              https://github.com/code-lever/asdf-rust.git#95acf4f
  terraform         https://github.com/asdf-community/asdf-hashicorp.git#197e3ec
  usage             https://github.com/jdx/mise-usage.git#fe3888a

toolset: 
  [email protected]           
  npm:@biomejs/[email protected]  
  npm:[email protected]   
  [email protected]             
  [email protected]         
  [email protected]           
  [email protected]       
  [email protected]           
  cargo:[email protected]       
  pipx:[email protected]         
  cargo:[email protected]  
  npm:[email protected]    
  pipx:[email protected]     
  pipx:[email protected]  
  pipx:[email protected]  
  pipx:[email protected]       

env_vars: 
  MISE_SHELL=fish

settings: 
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf = true
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = true
  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
  http_timeout = 30
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  libgit2 = true
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  pipx_uvx = true
  plugin_autoupdate_last_check_duration = "7d"
  python_default_packages_file = "~/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  raw = false
  trusted_config_paths = []
  quiet = false
  use_versions_host = true
  verbose = false
  vfox = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"
  python_venv_auto_create = false

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

No warnings found
No problems found

qbedard avatar Aug 29 '24 21:08 qbedard