Skip to content

registry: make aube more resilient (cargo:aube)#10092

Merged
jdx merged 1 commit into
jdx:mainfrom
bgeron:patch-1
May 27, 2026
Merged

registry: make aube more resilient (cargo:aube)#10092
jdx merged 1 commit into
jdx:mainfrom
bgeron:patch-1

Conversation

@bgeron
Copy link
Copy Markdown
Contributor

@bgeron bgeron commented May 27, 2026

Aube isn't mise-installable in docker on mac (linux arm). This fixes that.

mise use cargo:aube does fail on arm mac native, because there seems to be an issue with the binstall binaries for aube:

> mise use -g cargo:aube
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
mise ERROR cargo-binstall failed
 INFO resolve: Resolving package: 'aube@=1.15.0'
ERROR resolve: When resolving aube bin aubr is not found. This binary is not optional so it must be included in the archive, please contact with upstream to fix this issue.
 WARN resolve: Error while downloading and extracting from fetcher github.com: failed to find or install binaries: bin file /Users/bram/.local/share/mise/installs/cargo-aube/1.15.0/cargo-binstallxysmDP/bin-aube-aarch64-apple-darwin-GhCrateMeta/aubr not found
 WARN The package aube v1.15.0 will be installed from source (with cargo)
ERROR Cargo errored! ExitStatus(unix_wait_status(256))
ERROR Fatal error:
  × For crate aube: subprocess cargo install aube --version 1.15.0 --locked
  │ --root /Users/bram/.local/share/mise/installs/cargo-aube/1.15.0 errored
  │ with exit status: 1
  ╰─▶ subprocess cargo install aube --version 1.15.0 --locked --root /Users/
      bram/.local/share/mise/installs/cargo-aube/1.15.0 errored with exit
      status: 1

cargo:aube@1.15.0            status: 1

However, presumably either the github download works, or mise will completely fall back to compiling from source. So I think this makes aube mise-installable in all cases.

Aube isn't mise-installable in docker on mac (linux arm). This fixes that.

`mise use cargo:aube` does fail on arm mac native, because there seems to be an issue with the binstall binaries for aube:

```
> mise use -g cargo:aube
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
mise ERROR cargo-binstall failed
 INFO resolve: Resolving package: 'aube@=1.15.0'
ERROR resolve: When resolving aube bin aubr is not found. This binary is not optional so it must be included in the archive, please contact with upstream to fix this issue.
 WARN resolve: Error while downloading and extracting from fetcher github.com: failed to find or install binaries: bin file /Users/bram/.local/share/mise/installs/cargo-aube/1.15.0/cargo-binstallxysmDP/bin-aube-aarch64-apple-darwin-GhCrateMeta/aubr not found
 WARN The package aube v1.15.0 will be installed from source (with cargo)
ERROR Cargo errored! ExitStatus(unix_wait_status(256))
ERROR Fatal error:
  × For crate aube: subprocess cargo install aube --version 1.15.0 --locked
  │ --root /Users/bram/.local/share/mise/installs/cargo-aube/1.15.0 errored
  │ with exit status: 1
  ╰─▶ subprocess cargo install aube --version 1.15.0 --locked --root /Users/
      bram/.local/share/mise/installs/cargo-aube/1.15.0 errored with exit
      status: 1

cargo:aube@1.15.0            status: 1
```

However, presumably either the github download works, or mise will completely fall back to compiling from source. So I think this makes aube mise-installable in all cases.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the registry configuration for 'aube' by adding 'cargo:aube' to the list of supported backends. There are no review comments, so I have no additional feedback to provide.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 27, 2026

Greptile Summary

Adds cargo:aube as a fallback backend in registry/aube.toml to work around a broken binstall archive that is missing the aubr binary on arm linux (including Docker on Apple Silicon). The github:endevco/aube entry stays as the primary backend; cargo:aube is tried when the github download fails, so mise will compile from source rather than hard-error.

  • Follows the same two-backend ["github:…", "cargo:…"] pattern already used for tools like atuin.
  • No logic changes — purely a registry config update.

Confidence Score: 5/5

Single-line registry config change that adds a well-established fallback pattern; no logic is touched.

The change is a one-line addition to a TOML registry file, mirrors an existing pattern used throughout the repo, and directly addresses a documented installation failure on arm linux.

No files require special attention.

Important Files Changed

Filename Overview
registry/aube.toml Adds cargo:aube as a second fallback backend alongside the existing github:endevco/aube entry, following the same multi-backend pattern used by other tools like atuin.

Reviews (1): Last reviewed commit: "registry: make aube more resilient (carg..." | Re-trigger Greptile

@bgeron
Copy link
Copy Markdown
Contributor Author

bgeron commented May 27, 2026

No idea why CI is failing. It seems to be a generic issue with CI, not related to my registry change.

@jdx jdx merged commit 8b5148b into jdx:main May 27, 2026
31 of 33 checks passed
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.

2 participants