Commit Graph

3872 Commits

Author SHA1 Message Date
Navy_D f801215ba2
fix: Failed to create venv at the same time by multiple uv processes (#4640)
During the first installation for multiple pipx packages to be
installed, it is possible to run multiple uv processes to create the
venv directory and cause an error: `Failed to create virtualenv: The
directory .venv exists, but it's not a virtual environment`

This commit uses file locks to avoid running multiple processes to
create venv
2025-03-15 05:11:09 -04:00
mise-en-dev 6aff4a5c5d
chore: release 2025.3.3 (#4592) 2025-03-14 13:25:11 -04:00
Navy_D b32bd67d66
fix: Unable to find uv when first creating py venv (#4591)
See discussion #4430
2025-03-14 08:40:22 -04:00
Roland Schaer ce94c5f34f
fix: quiet in file task not working (#4588)
Fixes #4586 

Adds missing fields (`raw`, `quiet`, `silent`) to task TOML parsing and
aligns order with struct.
2025-03-14 08:38:42 -04:00
Risu 24dd570afb
refactor: use method to get the default inline shell instead of accessing the fields (#4621) 2025-03-14 08:38:23 -04:00
Pedro Piñera Buendía 19de615e6f
fix: SwiftPM backend not working with the Swift 6 toolchain (#4632)
Addresses [this
discussion](https://github.com/jdx/mise/discussions/4613)

Swift introduced a breaking change in the package manifest dumped
through stdout from the Swift toolchain version 6.0. That's causing the
installation of packages through the `spm` backend to fail.

This PR fixes it.
2025-03-14 08:37:57 -04:00
Roland Schaer 80f60857db
fix: handle error when getting modified duration in file::modified_duration (#4624) 2025-03-14 03:47:17 -04:00
Raphael 323b8bd5bb
feat(registry): add curlie (#4599)
Adding [rs/curlie][1] (binary filename: `curlie`) to the registry.

[1]: https://github.com/rs/curlie

---------

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-12 19:25:32 -04:00
Erick Navarro 56656b583f
feat: Add flag to fmt command to read from stdin (#4594)
This allow to take input from stdin so it can be integrated in editors
or shell pipelines

Also move format process into a function to be reusable for stdin
process and regular file based process

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-12 19:05:04 -04:00
KITAGAWA Yasutaka 788b1e25ab
feat(registry): add harper-ls and harper-cli (#4615)
Add harper-ls and harper-cli released by
[harper](https://github.com/Automattic/harper) to registry using aqua
backend.
I comment out the test for harper-cli, because harper-cli intentionally
prints diffrent version. (see
https://github.com/Automattic/harper/issues/557#issuecomment-2635037944)
2025-03-12 19:03:36 -04:00
Risu 157c79bbb1
refactor: migrate humantime to jiff (#4616)
Follow up of #4612. `humantime` crate is now outdated, so migrate to
[jiff](https://crates.io/crates/jiff) instead as `cargo-deny` suggests.

`jiff` is almost compatible with `humantime`, but is not 100% compatible
as documented.

https://docs.rs/jiff/latest/jiff/fmt/friendly/index.html#comparison-with-the-humantime-crate
Notably, `1M` is parsed as `1 month` by `humantime` but cannot be parsed
by `jiff`.

I used `2025-01-01` when converting `Span` to `SignedDuration` since we
need a relative date to convert `months` or `years`, in which the
duration differs depending on dates.

https://docs.rs/jiff/latest/jiff/struct.Span.html#integration-with-stdtimeduration-and-signedduration

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-12 19:03:04 -04:00
Boris Smidt 74738dbbcc
feat: cleanup the mutex use. (#4540)
refactor: the condition on when the task runner finishes.
refactor: use the insert boolean instead of a !contains
feature: infinitive loop detection
2025-03-12 19:02:41 -04:00
Risu d7e992e512
feat(env): support env files in toml (#4618)
Resolves https://github.com/jdx/mise/discussions/4372.

Since sops doesn't yet support toml
(https://github.com/getsops/sops/pull/812), I ignored it for `toml`.
2025-03-12 19:01:14 -04:00
vemoo 97d53053e5
perf: speed up self-update by calling /releases/latest api instead of /releases (#4619)
Using `ReleaseList` ends up calling
`https://api.github.com/repos/jdx/mise/releases` but it was only being
used to get the latest version.

Now `Update` is reused which has a `get_latest_release` that calls
`https://api.github.com/repos/jdx/mise/releases/latest`.

As reference this are the sizes of the responses of each of the
endpoints

 - https://api.github.com/repos/jdx/mise/releases 2,4M
 - https://api.github.com/repos/jdx/mise/releases/latest 77k

This are the results before and after in my case:

before:
```
➤ time mise self-update
Checking target-arch... mise-v2025.3.2-linux-x64.tar.gz
Checking current version... v2025.3.2
Checking latest released version... mise is already up to date
mise plugin:dotnet   ✓ https://github.com/mise-plugins/mise-dotnet.git#162124c
________________________________________________________
Executed in    7.17 secs      fish           external
   usr time  146.07 millis    0.65 millis  145.42 millis
   sys time   82.81 millis    1.22 millis   81.58 millis
```

after:
```
➤ time mise self-update
Checking target-arch... mise-v2025.3.2-linux-x64.tar.gz
Checking current version... v2025.3.2
Checking latest released version... mise is already up to date
mise plugin:dotnet   ✓ https://github.com/mise-plugins/mise-dotnet.git#162124c
________________________________________________________
Executed in    1.96 secs      fish           external
   usr time   67.64 millis  891.00 micros   66.74 millis
   sys time   52.84 millis  939.00 micros   51.90 millis
```

It still takes longer than what I would expect, considering the time
`mise upgrade` takes:
```
➤ mise ls --current
Tool   Version  Source                      Requested
bun    1.2.5    ~/.config/mise/config.toml  latest
deno   2.2.3    ~/.config/mise/config.toml  latest
node   22.14.0  ~/.config/mise/config.toml  lts
usage  2.0.5    ~/.config/mise/config.toml  latest
➤ rm -r ~/.cache/mise/
➤ time mise upgrade
mise All tools are up to date

________________________________________________________
Executed in  171.74 millis    fish           external
   usr time   19.08 millis    0.00 micros   19.08 millis
   sys time   17.74 millis  737.00 micros   17.00 millis
```
2025-03-12 18:14:34 -04:00
Risu 5a57032276
chore: remove rustup update in github actions (#4617) 2025-03-12 17:40:10 -04:00
Risu 26d203a5aa
fix(uv): avoid deadlocks while initializing UV_VENV (#4609) 2025-03-11 20:32:39 -04:00
Risu 9f84c3e510
test(registry): fix test of lazyjournal (#4610) 2025-03-11 20:47:31 +00:00
Risu 15a1332ec8
chore: ignore humantime unmaintained advisory (#4612) 2025-03-11 16:34:42 -04:00
gbloquel 67f5ea8317
docs(settings): clarify the usage of disable_default_registry (#4589) 2025-03-07 14:29:09 -06:00
jdx 17d7c6ee5e
chore: deny fixes 2025-03-07 11:26:10 -05:00
mise-en-dev a9fa1db92e
chore: release 2025.3.2 (#4585) 2025-03-07 11:24:37 -05:00
mise-en-dev 9dc0f0c795
chore: release 2025.3.1 (#4564)
### 🚀 Features

- **(registry)** added sampler by
[@tony-sol](https://github.com/tony-sol) in
[#4577](https://github.com/jdx/mise/pull/4577)
- add support for components property in rust-toolchain.toml by
[@roele](https://github.com/roele) in
[#4579](https://github.com/jdx/mise/pull/4579)
- add --local flag for ls by [@tony-sol](https://github.com/tony-sol) in
[#4565](https://github.com/jdx/mise/pull/4565)

### 🐛 Bug Fixes

- favor aqua backend over asdf by [@dud225](https://github.com/dud225)
in [#4558](https://github.com/jdx/mise/pull/4558)

### 📚 Documentation

- continuous-integration.md: fix gitlab caching example by
[@nafg](https://github.com/nafg) in
[#4576](https://github.com/jdx/mise/pull/4576)

### Chore

- edition 2024 by [@jdx](https://github.com/jdx) in
[#4541](https://github.com/jdx/mise/pull/4541)

### New Contributors

- @nafg made their first contribution in
[#4576](https://github.com/jdx/mise/pull/4576)
- @dud225 made their first contribution in
[#4558](https://github.com/jdx/mise/pull/4558)
2025-03-06 06:18:53 -06:00
Tony Soloveyv 8cdea397dc
feat(registry): added lazyjournal (#4584)
Lazyjournal - A TUI for reading logs from journalctl, file system,
Docker and Podman containers, as well Kubernetes pods for quick viewing
and filtering with fuzzy find, regex support and coloring the output,
written in Go with the gocui.

```
$ cargo run --bin mise -- tool lazyjournal                                                                                       *1 (lazyjournal) 13:43:04
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s
     Running `target/debug/mise tool lazyjournal`
Backend:            aqua:Lifailon/lazyjournal
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g lazyjournal                                                                                     *1 (lazyjournal) 13:43:13
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s
     Running `target/debug/mise use -g lazyjournal`
mise lazyjournal@0.7.4 install
mise lazyjournal@0.7.4 download lazyjournal-0.7.4-darwin-arm64
mise lazyjournal@0.7.4 generate checksum lazyjournal-0.7.4-darwin-arm64
mise lazyjournal@0.7.4 extract lazyjournal-0.7.4-darwin-arm64
mise lazyjournal@0.7.4 ✓ installed
mise ~/.config/mise/config.toml tools: lazyjournal@0.7.4

$ cargo run --bin mise -- tool lazyjournal                                                                                       *1 (lazyjournal) 13:44:22
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s
     Running `target/debug/mise tool lazyjournal`
Backend:            aqua:Lifailon/lazyjournal
Description:        TUI for journalctl, file system logs, as well Docker and Podman containers for quick viewing and filtering with fuzzy find, regex support (like fzf and g
                    rep) and coloring the output, written in Go with the gocui library
Installed Versions: 0.7.4
Active Version:     0.7.4
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-03-06 06:18:18 -06:00
Tony Soloveyv 14b3222ec1
feat: add --local flag for ls (#4565)
Related to https://github.com/jdx/mise/discussions/4411 

Allow to get tools list, defined only in local mise.toml

```
~/Projects/oss/mise ✔ $ cargo run --bin mise -- ls                                                                                      (ls-local) 17:27:58
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
     Running `target/debug/mise ls`
Tool                    Version            Source                            Requested
bat                     0.25.0             ~/.config/mise/config.toml        latest
bun                     1.2.2 (missing)    ~/Projects/oss/mise/mise.toml     latest
cargo-binstall          1.10.22 (missing)  ~/Projects/oss/mise/mise.toml     latest
cargo:cargo-edit        0.13.1 (missing)   ~/Projects/oss/mise/mise.toml     latest
cargo:cargo-insta       1.42.1 (missing)   ~/Projects/oss/mise/mise.toml     latest
cargo:git-cliff         2.8.0 (missing)    ~/Projects/oss/mise/mise.toml     latest
cargo:toml-cli          0.2.3 (missing)    ~/Projects/oss/mise/mise.toml     latest
cargo:usage-cli         2.0.4 (missing)    ~/Projects/oss/mise/mise.toml     latest
doggo                   1.0.5              ~/.config/mise/config.toml        latest
fd                      10.2.0             ~/.config/mise/config.toml        latest
fzf                     0.60.2             ~/.config/mise/config.toml        latest
go                      1.24.0             ~/.config/mise/config.toml        latest
helm                    3.17.1             ~/.config/mise/config.toml        latest
jq                      1.7.1 (missing)    ~/Projects/oss/mise/mise.toml     latest
krew                    0.4.4              ~/.config/mise/config.toml        latest
kubectl                 1.32.2             ~/.config/mise/config.toml        latest
lua                     5.1.5              ~/.config/mise/config.toml        latest
neovim                  0.10.4             ~/.config/mise/config.local.toml  latest
node                    23.9.0             ~/.config/mise/config.toml        latest
npm:markdownlint-cli    0.44.0 (missing)   ~/Projects/oss/mise/mise.toml     latest
npm:prettier            3.4.2 (missing)    ~/Projects/oss/mise/mise.toml     3
pipx:toml-sort          0.24.2 (missing)   ~/Projects/oss/mise/mise.toml     latest
pnpm                    10.5.2             ~/.config/mise/config.toml        latest
poetry                  2.1.1              ~/.config/mise/config.toml        latest
pre-commit              4.1.0 (missing)    ~/Projects/oss/mise/mise.toml     latest
rg                      14.1.1             ~/.config/mise/config.toml        latest
ripgrep                 14.1.1 (missing)   ~/Projects/oss/mise/mise.toml     latest
ruby                    3.4.2 (missing)    ~/.config/mise/config.toml        latest
rust                    1.85.0 (symlink)   ~/.config/mise/config.toml        latest
shellcheck              0.10.0 (missing)   ~/Projects/oss/mise/mise.toml     latest
shfmt                   3.10.0 (missing)   ~/Projects/oss/mise/mise.toml     latest
slsa-verifier           2.6.0 (missing)    ~/Projects/oss/mise/mise.toml     latest
taplo                   0.9.3 (missing)    ~/Projects/oss/mise/mise.toml     latest
task                    3.41.0             ~/.config/mise/config.toml        latest
usage                   2.0.5              ~/.config/mise/config.toml        latest
wait-for-gh-rate-limit  0.1.8 (missing)    ~/Projects/oss/mise/mise.toml     latest
yq                      4.45.1             ~/.config/mise/config.toml        latest

~/Projects/oss/mise ✔ $ cargo run --bin mise -- ls --local                                                                              (ls-local) 17:27:49
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
     Running `target/debug/mise ls --local`
Tool                    Version            Source                         Requested
actionlint              1.7.7 (missing)    ~/Projects/oss/mise/mise.toml  latest
bun                     1.2.2 (missing)    ~/Projects/oss/mise/mise.toml  latest
cargo-binstall          1.10.22 (missing)  ~/Projects/oss/mise/mise.toml  latest
cargo:cargo-edit        0.13.1 (missing)   ~/Projects/oss/mise/mise.toml  latest
cargo:cargo-insta       1.42.1 (missing)   ~/Projects/oss/mise/mise.toml  latest
cargo:git-cliff         2.8.0 (missing)    ~/Projects/oss/mise/mise.toml  latest
cargo:toml-cli          0.2.3 (missing)    ~/Projects/oss/mise/mise.toml  latest
cargo:usage-cli         2.0.4 (missing)    ~/Projects/oss/mise/mise.toml  latest
cosign                  2.4.1 (missing)    ~/Projects/oss/mise/mise.toml  latest
jq                      1.7.1 (missing)    ~/Projects/oss/mise/mise.toml  latest
npm:markdownlint-cli    0.44.0 (missing)   ~/Projects/oss/mise/mise.toml  latest
npm:prettier            3.4.2 (missing)    ~/Projects/oss/mise/mise.toml  3
pipx:toml-sort          0.24.2 (missing)   ~/Projects/oss/mise/mise.toml  latest
pre-commit              4.1.0 (missing)    ~/Projects/oss/mise/mise.toml  latest
ripgrep                 14.1.1 (missing)   ~/Projects/oss/mise/mise.toml  latest
shellcheck              0.10.0 (missing)   ~/Projects/oss/mise/mise.toml  latest
shfmt                   3.10.0 (missing)   ~/Projects/oss/mise/mise.toml  latest
slsa-verifier           2.6.0 (missing)    ~/Projects/oss/mise/mise.toml  latest
taplo                   0.9.3 (missing)    ~/Projects/oss/mise/mise.toml  latest
wait-for-gh-rate-limit  0.1.8 (missing)    ~/Projects/oss/mise/mise.toml  latest

~/Projects/oss/mise ✔ $ cargo run --bin mise -- ls --global --local                                                                     (ls-local) 17:28:24
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
     Running `target/debug/mise ls --global --local`
error: the argument '--global' cannot be used with '--local'

Usage: mise ls --global [INSTALLED_TOOL]...

For more information, try '--help'.
~/Projects/oss/mise ✘ $ cargo run --bin mise -- ls --local --global                                                                   (ls-local) 2 17:31:54
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
     Running `target/debug/mise ls --local --global`
error: the argument '--local' cannot be used with '--global'

Usage: mise ls --local [INSTALLED_TOOL]...

For more information, try '--help'.
```

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-05 09:38:13 -06:00
Tony Soloveyv f39ec046d4
feat(registry): added sampler (#4577)
Test
```
$ cargo run --bin mise -- tool sampler                                                                                               *1 (sampler) 18:20:14
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.12s
     Running `target/debug/mise tool sampler`
Backend:            aqua:sqshq/sampler
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g sampler                                                                                             *1 (sampler) 18:22:18
   Compiling mise v2025.3.0 (/Users/tony/Projects/oss/mise)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.76s
     Running `target/debug/mise use -g sampler`
mise sampler@1.1.0   install
mise sampler@1.1.0   download sampler-1.1.0-darwin-amd64
mise sampler@1.1.0   generate checksum sampler-1.1.0-darwin-amd64
mise sampler@1.1.0   extract sampler-1.1.0-darwin-amd64
mise sampler@1.1.0 ✓ installed
mise ~/.config/mise/config.toml tools: sampler@1.1.0

$ cargo run --bin mise -- tool sampler                                                                                               *1 (sampler) 18:23:15
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s
     Running `target/debug/mise tool sampler`
Backend:            aqua:sqshq/sampler
Description:        Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file
Installed Versions: 1.1.0
Active Version:     1.1.0
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-03-05 09:37:54 -06:00
Roland Schaer 27d18b5406
feat: add support for components property in rust-toolchain.toml (#4579)
This is an enhancement as per discussion in #4573.

Adds support for the `components`, `profile` and `targets` properties of
the `rust-toolchain.toml` idiomatic file. Additionally adds the
`components` and `targets` as (comma separated) tool options in the
`mise.toml` file.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-05 09:37:28 -06:00
Naftoli Gugenheim a8440d0d0f
docs: continuous-integration.md: fix gitlab caching example (#4576)
It seems MISE_DATA_DIR needs to be absolute, as per
https://github.com/jdx/mise/discussions/4313

This change fixed it in my CI so perhaps the docs need to be updated.
2025-03-04 07:02:23 -06:00
jdx 8186b3d625
chore: edition 2024 (#4541)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-02 13:54:08 +00:00
Hervé e385702e59
fix: favor aqua backend over asdf (#4558) 2025-03-02 07:53:02 -06:00
mise-en-dev 9de694ec21
chore: release 2025.3.0 (#4543)
### 🚀 Features

- **(registry)** added helmwave by
[@tony-sol](https://github.com/tony-sol) in
[#4542](https://github.com/jdx/mise/pull/4542)
- **(registry)** added doggo by [@tony-sol](https://github.com/tony-sol)
in [#4545](https://github.com/jdx/mise/pull/4545)
- **(registry)** Add Boilerplate by
[@ZachGoldberg](https://github.com/ZachGoldberg) in
[#4530](https://github.com/jdx/mise/pull/4530)
- **(registry)** added htmlq by [@tony-sol](https://github.com/tony-sol)
in [#4548](https://github.com/jdx/mise/pull/4548)
- **(registry)** added gokey by [@tony-sol](https://github.com/tony-sol)
in [#4546](https://github.com/jdx/mise/pull/4546)
- **(registry)** added octosql by
[@tony-sol](https://github.com/tony-sol) in
[#4549](https://github.com/jdx/mise/pull/4549)
- **(registry)** added hexyl by [@tony-sol](https://github.com/tony-sol)
in [#4547](https://github.com/jdx/mise/pull/4547)
- **(registry)** added kubeone by
[@tony-sol](https://github.com/tony-sol) in
[#4550](https://github.com/jdx/mise/pull/4550)
- task confirmation by [@roele](https://github.com/roele) in
[#4328](https://github.com/jdx/mise/pull/4328)

### 🐛 Bug Fixes

- remote tasks and devcontainer by
[@acesyde](https://github.com/acesyde) in
[#4557](https://github.com/jdx/mise/pull/4557)

### 📚 Documentation

- **(shim)** add faq for vscode windows spawn EINVAL & format value to
list by [@qianlongzt](https://github.com/qianlongzt) in
[#4544](https://github.com/jdx/mise/pull/4544)

### New Contributors

- @ZachGoldberg made their first contribution in
[#4530](https://github.com/jdx/mise/pull/4530)
2025-03-01 20:51:53 +00:00
Tony Soloveyv 76609e4127
feat(registry): added kubeone (#4550)
kubeone automate cluster operations on all your cloud, on-prem, edge,
and IoT environments

Test
```
$ cargo run --bin mise -- tool kubeone
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
     Running `target/debug/mise tool kubeone`
Backend:            aqua:kubermatic/kubeone
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g kubeone
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s
     Running `target/debug/mise use -g kubeone`
mise kubeone@1.8.6      install
mise kubeone@1.8.6      download kubeone_1.8.6_darwin_arm64.zip
mise kubeone@1.8.6      checksum kubeone_1.8.6_darwin_arm64.zip
mise kubeone@1.8.6      extract kubeone_1.8.6_darwin_arm64.zip
mise kubeone@1.8.6    ✓ installed
mise ~/.config/mise/config.toml tools: kubeone@1.8.6

$ cargo run --bin mise -- tool kubeone
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.90s
     Running `target/debug/mise tool kubeone`
Backend:            aqua:kubermatic/kubeone
Description:        Kubermatic KubeOne automate cluster operations on all your cloud, on-prem, edge, and IoT environments
Installed Versions: 1.8.6
Active Version:     1.8.6
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-03-01 14:30:41 -06:00
Tony Soloveyv 7aeac74e71
feat(registry): added hexyl (#4547)
hexyl - A command-line hex viewer

Test
```
$ cargo run --bin mise -- tool hexyl
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s
     Running `target/debug/mise tool hexyl`
Backend:            aqua:sharkdp/hexyl
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g hexyl
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s
     Running `target/debug/mise use -g hexyl`
mise hexyl@0.16.0       install
mise hexyl@0.16.0       download hexyl-v0.16.0-x86_64-apple-darwin.tar.gz
mise hexyl@0.16.0       generate checksum hexyl-v0.16.0-x86_64-apple-darwin.tar.gz
mise hexyl@0.16.0       extract hexyl-v0.16.0-x86_64-apple-darwin.tar.gz
mise hexyl@0.16.0     ✓ installed
mise ~/.config/mise/config.toml tools: hexyl@0.16.0

$ cargo run --bin mise -- tool hexyl
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s
     Running `target/debug/mise tool hexyl`
Backend:            aqua:sharkdp/hexyl
Description:        A command-line hex viewer
Installed Versions: 0.16.0
Active Version:     0.16.0
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-03-01 14:30:16 -06:00
Pierre-Emmanuel Mercier 6ba5d3be1f
fix: remote tasks and devcontainer (#4557)
- 🐛 Fix devcontainer parent folder creation
- 🐛 Fix remote tasks when using gix or libgit2
2025-02-28 17:56:36 -06:00
Roland Schaer 097660beac
feat: task confirmation (#4328) 2025-02-28 06:43:24 -06:00
Tony Soloveyv 059232cdf6
feat(registry): added octosql (#4549)
octosql - a query tool that allows you to join, analyse and transform
data from multiple databases and file formats using SQL.

Test
```
$ cargo run --bin mise -- tool octosql
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.08s
     Running `target/debug/mise tool octosql`
Backend:            ubi:cube2222/octosql
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g octosql
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s
     Running `target/debug/mise use -g octosql`
mise octosql@0.13.0     install
mise Installed executable into /Users/tony/.local/share/mise/installs/octosql/0.13.0/octosql
mise octosql@0.13.0     checksum generate octosql-macos-aarch64
mise octosql@0.13.0   ✓ installed
mise ~/.config/mise/config.toml tools: octosql@0.13.0

$ cargo run --bin mise -- tool octosql
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s
     Running `target/debug/mise tool octosql`
Backend:            ubi:cube2222/octosql
Installed Versions: 0.13.0
Active Version:     0.13.0
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-02-27 13:05:53 -06:00
Tony Soloveyv 8e876fa8c4
feat(registry): added gokey (#4546)
gokey - A simple vaultless password manager in Go

Test
```
$ cargo run --bin mise -- tool gokey
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s
     Running `target/debug/mise tool gokey`
Backend:            ubi:cloudflare/gokey
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g gokey
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s
     Running `target/debug/mise use -g gokey`
mise gokey@0.1.3        install
mise Installed executable into /Users/anton.solovev/.local/share/mise/installs/gokey/0.1.3/gokey
mise gokey@0.1.3        checksum generate gokey-macos-aarch64
mise gokey@0.1.3      ✓ installed
mise ~/.config/mise/config.toml tools: gokey@0.1.3

$ cargo run --bin mise -- tool gokey
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s
     Running `target/debug/mise tool gokey`
Backend:            ubi:cloudflare/gokey
Installed Versions: 0.1.3
Active Version:     0.1.3
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-02-27 11:50:03 -06:00
Tony Soloveyv e76cd16f3f
feat(registry): added htmlq (#4548)
htmlq - Like jq, but for HTML.

Test
```
$ cargo run --bin mise -- tool htmlq
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s
     Running `target/debug/mise tool htmlq`
Backend:            aqua:mgdm/htmlq
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g htmlq
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
     Running `target/debug/mise use -g htmlq`
mise htmlq@0.4.0        install
mise htmlq@0.4.0        download htmlq-x86_64-darwin.tar.gz
mise htmlq@0.4.0        generate checksum htmlq-x86_64-darwin.tar.gz
mise htmlq@0.4.0        extract htmlq-x86_64-darwin.tar.gz
mise htmlq@0.4.0      ✓ installed
mise ~/.config/mise/config.toml tools: htmlq@0.4.0

$ cargo run --bin mise -- tool htmlq
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s
     Running `target/debug/mise tool htmlq`
Backend:            aqua:mgdm/htmlq
Description:        Like jq, but for HTML
Installed Versions: 0.4.0
Active Version:     0.4.0
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-02-27 17:31:58 +00:00
Zach Goldberg ca1b8de3b5
feat(registry): Add Boilerplate (#4530)
```
cargo run --bin mise -- tool boilerplate
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
     Running `target/debug/mise tool boilerplate`
Backend:            asdf:boilerplate          
Installed Versions: 0.5.12 0.5.19 0.6.0       
Active Version:     0.6.0                     
Requested Version:  0.6.0                     
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]                    

 cargo run --bin mise -- test-tool boilerplate
   Compiling mise v2025.2.8 (/home/zgoldberg/workspace/gruntwork/mise)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.36s
     Running `target/debug/mise test-tool boilerplate`
mise $ /home/zgoldberg/.local/share/mise/installs/boilerplate/0.6.0/bin/boilerplate --version
boilerplate version v0.6.0
mise boilerplate: OK
```

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-27 11:19:34 -06:00
Tony Soloveyv cefa092ee3
feat(registry): added doggo (#4545)
doggo - Command-line DNS Client for Humans. Written in Golang

Test

```
$ cargo run --bin mise -- tool doggo
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s
     Running `target/debug/mise tool doggo`
Backend:            aqua:mr-karan/doggo
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g doggo
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
     Running `target/debug/mise use -g doggo`
mise doggo@1.0.5        install
mise doggo@1.0.5        download doggo_1.0.5_Darwin_arm64.tar.gz
mise doggo@1.0.5        checksum doggo_1.0.5_Darwin_arm64.tar.gz
mise doggo@1.0.5        extract doggo_1.0.5_Darwin_arm64.tar.gz
mise doggo@1.0.5      ✓ installed
mise ~/.config/mise/config.toml tools: doggo@1.0.5

$ cargo run --bin mise -- tool doggo                                                                                                   *1 (doggo) 19:03:44
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s
     Running `target/debug/mise tool doggo`
Backend:            aqua:mr-karan/doggo
Description:        🐶 Command-line DNS Client for Humans. Written in Golang
Installed Versions: 1.0.5
Active Version:     1.0.5
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-02-27 11:17:14 -06:00
qianlongzt 3a2fec50e9
docs(shim): add faq for vscode windows spawn EINVAL & format value to list (#4544)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-27 08:02:06 -06:00
Tony Soloveyv bf251bd82b
feat(registry): added helmwave (#4542)
Helmwave is helm3-native tool for deploy your Helm Charts. HelmWave is
like docker-compose for helm.

```
$ cargo run --bin mise -- tool helmwave
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s
     Running `target/debug/mise tool helmwave`
Backend:            aqua:helmwave/helmwave
Installed Versions:
Active Version:     0.41.8
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]

$ cargo run --bin mise -- use -g helmwave
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s
     Running `target/debug/mise use -g helmwave`
mise helmwave@0.41.8    install
mise helmwave@0.41.8    download helmwave_0.41.8_darwin_arm64.tar.gz
mise helmwave@0.41.8    checksum helmwave_0.41.8_darwin_arm64.tar.gz
mise helmwave@0.41.8    extract helmwave_0.41.8_darwin_arm64.tar.gz
mise helmwave@0.41.8  ✓ installed
mise ~/.config/mise/config.toml tools: helmwave@0.41.8

$ cargo run --bin mise -- tool helmwave
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s
     Running `target/debug/mise tool helmwave`
Backend:            aqua:helmwave/helmwave
Description:        New  wave for @helm
Installed Versions: 0.41.8
Active Version:     0.41.8
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```
2025-02-26 17:09:43 +00:00
mise-en-dev 3ac007a07d
chore: release 2025.2.9 (#4524)
### 🚀 Features

- **(registry)** add cocogitto by [@reitzig](https://github.com/reitzig)
in [#4513](https://github.com/jdx/mise/pull/4513)
- **(registry)** Added foundry by [@suicide](https://github.com/suicide)
in [#4455](https://github.com/jdx/mise/pull/4455)
- **(registry)** added ast-grep by
[@tony-sol](https://github.com/tony-sol) in
[#4519](https://github.com/jdx/mise/pull/4519)

### 🐛 Bug Fixes

- non-utf8 external process handling by [@jdx](https://github.com/jdx)
in [#4538](https://github.com/jdx/mise/pull/4538)

### 📚 Documentation

- **(cookbook)** add shell powerline-go config env recipe by
[@scop](https://github.com/scop) in
[#4532](https://github.com/jdx/mise/pull/4532)
- update mise.el repo link by [@tecoholic](https://github.com/tecoholic)
in [#4534](https://github.com/jdx/mise/pull/4534)

### Chore

- bump rust version for releases by [@jdx](https://github.com/jdx) in
[f4e5970](f4e5970f00)
- bump rust version for releases by [@jdx](https://github.com/jdx) in
[52cff1c](52cff1c00b)
- bump rust version for releases by [@jdx](https://github.com/jdx) in
[9121c5e](9121c5e927)
- bump msrv for edition compatibility by [@jdx](https://github.com/jdx)
in
[3a222dd](3a222ddf27)
- remove unused deny rule by [@jdx](https://github.com/jdx) in
[053f5c1](053f5c1c07)

### New Contributors

- @tony-sol made their first contribution in
[#4519](https://github.com/jdx/mise/pull/4519)
- @tecoholic made their first contribution in
[#4534](https://github.com/jdx/mise/pull/4534)
- @suicide made their first contribution in
[#4455](https://github.com/jdx/mise/pull/4455)
- @reitzig made their first contribution in
[#4513](https://github.com/jdx/mise/pull/4513)
2025-02-26 09:50:56 -06:00
jdx 053f5c1c07
chore: remove unused deny rule 2025-02-26 07:57:12 -06:00
jdx 3a222ddf27
chore: bump msrv for edition compatibility 2025-02-26 07:49:49 -06:00
Tony Soloveyv 2924ded0fb
feat(registry): added ast-grep (#4519)
[ast-grep](https://github.com/ast-grep/ast-grep) A CLI tool for code
structural search, lint and rewriting

Tests :
```
$ cargo run --bin mise -- tool ast-grep                                                                                                  *1 [main] 12:19:10
   Compiling mise v2025.2.7 (/Users/tony/Projects/oss/mise)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.47s
     Running `target/debug/mise tool ast-grep`
Backend:            aqua:ast-grep/ast-grep
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g ast-grep                                                                                                *1 [main] 12:19:34
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
     Running `target/debug/mise use -g ast-grep`
mise ast-grep@0.35.0    install
mise ast-grep@0.35.0    download app-aarch64-apple-darwin.zip
mise ast-grep@0.35.0    generate checksum app-aarch64-apple-darwin.zip
mise ast-grep@0.35.0    extract app-aarch64-apple-darwin.zip
mise ast-grep@0.35.0  ✓ installed
mise ~/.config/mise/config.toml tools: ast-grep@0.35.0

$ cargo run --bin mise -- tool ast-grep                                                                                                  *1 [main] 12:25:42
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s
     Running `target/debug/mise tool ast-grep`
Backend:            aqua:ast-grep/ast-grep
Description:        A CLI tool for code structural search, lint and rewriting. Written in Rust
Installed Versions: 0.35.0
Active Version:     0.35.0
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]
```

Signed-off-by: Tony-Sol <tony.kent.nar.earth@gmail.com>
2025-02-26 13:27:48 +00:00
jdx 9121c5e927
chore: bump rust version for releases 2025-02-26 07:23:59 -06:00
jdx 52cff1c00b
chore: bump rust version for releases 2025-02-26 07:21:52 -06:00
Ville Skyttä 701bc8b916
docs(cookbook): add shell powerline-go config env recipe (#4532)
Fairly specific and mostly trivial, but there was a gotcha so I thought
I'd share and document this after setting it up today.

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
2025-02-26 13:10:06 +00:00
Arunmozhi e8d88a1ab2
docs: update mise.el repo link (#4534)
The link to the "mise.el" repository seems to have changed after the
user changed their username. This PR updates the links in the
"ide-integration" page.

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
2025-02-26 13:08:42 +00:00
jdx f4e5970f00
chore: bump rust version for releases 2025-02-26 07:08:10 -06:00