Skip to content

Conversation

hasansezertasan
Copy link
Contributor

Add hatch to the registry.

Copy link

If you are adding a new tool to mise, note the following:

  • New asdf plugins are not accepted
  • Tools may be rejected if they are not notable
  • A test is required in registry.toml

@jdx
Copy link
Owner

jdx commented Jul 25, 2025

why default to pipx?

@hasansezertasan
Copy link
Contributor Author

why default to pipx?

My mistake, let me fix it 🤓.

@risu729
Copy link
Contributor

risu729 commented Jul 25, 2025

extract_all and bin_path will fix the ubi error, but since it has python in its bin directory, I think we should not use it.
It would cause a similar issue with #4675.

$ mise x ubi:pypa/hatch[extract_all=true,bin_path=bin] -- hatch --version
Hatch, version 1.14.1
$ mise x ubi:pypa/hatch[extract_all=true,bin_path=bin] -- which python
/home/risu/.local/share/mise/installs/ubi-pypa-hatch/hatch-v1.14.1/bin/python

@jdx
Copy link
Owner

jdx commented Jul 25, 2025

notably that's going to be an issue for the github backend. Maybe we should have a tool option like "filter_bins=" or something to avoid that later

@jdx jdx merged commit b631d1f into jdx:main Jul 27, 2025
27 of 28 checks passed
jdx pushed a commit that referenced this pull request Jul 27, 2025
### 🚀 Features

- **(http)** show retry after for github rate limit by
[@risu729](https://github.com/risu729) in
[#5803](#5803)
- **(registry)** add carapace by [@jahands](https://github.com/jahands)
in [#5804](#5804)
- **(registry)** add `hatch` by
[@hasansezertasan](https://github.com/hasansezertasan) in
[#5788](#5788)
- tool-stubs by [@jdx](https://github.com/jdx) in
[#5795](#5795)
- used shared cache for http backend by [@jdx](https://github.com/jdx)
in [#5808](#5808)

### 🐛 Bug Fixes

- **(aqua)** avoid unnecessary head requests in version resolution by
[@risu729](https://github.com/risu729) in
[#5800](#5800)
- **(toolset)** use join_paths for MISE_ADD_PATH by
[@risu729](https://github.com/risu729) in
[#5785](#5785)
- check lib64 directories for .disable-self-update file by
[@jdx](https://github.com/jdx) in
[#5809](#5809)

### 🚜 Refactor

- **(aqua)** move alternative backend suggestions into validate by
[@risu729](https://github.com/risu729) in
[#5794](#5794)

### 📚 Documentation

- **(tool-stubs)** added shebangs by [@jdx](https://github.com/jdx) in
[2d37500](2d37500)
- **(tool-stubs)** corrected url syntax by
[@jdx](https://github.com/jdx) in
[32627be](32627be)
- fix plugin-lua-modules docs to match the vfox lua_mod functions by
[@syhol](https://github.com/syhol) in
[#5792](#5792)
- fix http backend tool options example by
[@roele](https://github.com/roele) in
[#5802](#5802)

### 📦️ Dependency Updates

- update taiki-e/install-action digest to 7fbb30f by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#5786](#5786)
- pin actions/checkout action to 11bd719 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#5783](#5783)

### New Contributors

- @hasansezertasan made their first contribution in
[#5788](#5788)
jdx pushed a commit that referenced this pull request Aug 1, 2025
Resolves #5855.

However, the `bin` directory contains `node` itself, so it might
override other `node` installations.
See #5788 (comment) and
#4675.

We can use `npm:balena-cli` instead, but it didn't work with
`npm.bun=true`.
I think adding a tool option to override it per tool would be a
solution, as in #4816, but it
would cause another issue in `list_bin_paths`.

For the asdf plugin, they transffered the repository from an
organization to an indivisual, so I followed it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants