Skip to content

registry: add github backend for graphite#6455

Merged
jdx merged 1 commit intomainfrom
graphite-github-backend
Sep 28, 2025
Merged

registry: add github backend for graphite#6455
jdx merged 1 commit intomainfrom
graphite-github-backend

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Sep 28, 2025

Summary

  • Add github:withgraphite/homebrew-tap as the primary backend for graphite
  • Keep npm backend as a fallback option
  • The GitHub backend downloads pre-built binaries directly from releases

Test plan

  • Tested installation with mise test-tool graphite
  • Verified GitHub backend works: mise install github:withgraphite/homebrew-tap@latest
  • Confirmed gt command executes: mise exec graphite -- gt --version

🤖 Generated with Claude Code


Note

Adds a GitHub Homebrew tap backend for tools.graphite, retaining the existing npm backend.

  • Registry
    • tools.graphite:
      • Add github:withgraphite/homebrew-tap[exe=gt] to backends.
      • Keep npm:@withgraphite/graphite-cli as a fallback backend.

Written by Cursor Bugbot for commit af1e7b2. This will update automatically on new commits. Configure here.

Add github:withgraphite/homebrew-tap backend as the primary backend
for graphite, keeping npm as a fallback. The GitHub backend downloads
pre-built binaries directly from their releases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 28, 2025 10:46
@jdx jdx enabled auto-merge (squash) September 28, 2025 10:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a GitHub backend as the primary installation method for the Graphite tool, providing direct access to pre-built binaries from releases while maintaining npm as a fallback option.

  • Added GitHub backend github:withgraphite/homebrew-tap[exe=gt] as the primary option
  • Kept existing npm backend as fallback for compatibility
  • Updated backend configuration to use array format for multiple options

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jdx jdx merged commit df7b7db into main Sep 28, 2025
32 of 36 checks passed
@jdx jdx deleted the graphite-github-backend branch September 28, 2025 10:56
@github-actions
Copy link

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.21 x -- echo 20.5 ± 0.2 19.9 23.0 1.00
mise x -- echo 21.3 ± 0.5 20.1 27.8 1.04 ± 0.03

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.21 env 19.9 ± 0.4 19.3 25.7 1.00
mise env 20.6 ± 0.3 19.8 23.3 1.04 ± 0.03

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.21 hook-env 19.6 ± 0.2 19.1 20.4 1.00
mise hook-env 20.2 ± 0.3 19.4 21.4 1.03 ± 0.02

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.21 ls 17.5 ± 0.2 16.9 18.9 1.00
mise ls 18.1 ± 0.3 17.2 19.6 1.04 ± 0.02

xtasks/test/perf

Command mise-2025.9.21 mise Variance
install (cached) 172ms ✅ 107ms +60%
ls (cached) 65ms 64ms +1%
bin-paths (cached) 71ms 71ms +0%
task-ls (cached) 498ms 486ms +2%

✅ Performance improvement: install cached is 60%

@jdx jdx mentioned this pull request Sep 28, 2025
jdx added a commit that referenced this pull request Sep 28, 2025
### 📦 Registry

- re-enable tests by @risu729 in
[#6454](#6454)
- restore comments and tests by @risu729 in
[#6378](#6378)
- add github backend for graphite by @jdx in
[#6455](#6455)

### 🚀 Features

- **(backend)** add environment variable override for tool backends by
@jdx in [#6456](#6456)
- add a http_retries setting to define number of retry attempts by
@roele in [#6444](#6444)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Bump version to 2025.9.22 with updated completions cache keys,
registry tweak for CycloneDX assets, doc star count update, and
usage-cli tool bump.
> 
> - **Release/versioning**
> - Bump `mise` to `2025.9.22` in `Cargo.toml`, `Cargo.lock`,
`default.nix`, `packaging/rpm/mise.spec`, and update version in
`README.md`.
>   - Add `CHANGELOG.md` entry for `2025.9.22`.
> - **Completions**
> - Update cached usage spec keys in `completions/_mise`,
`completions/mise.bash`, and `completions/mise.fish` to `2025_9_22`.
> - **Registry**
> - Adjust CycloneDX `cyclonedx-cli` assets in
`crates/.../cyclonedx-cli/registry.yaml` (remove linux musl overrides in
version overrides).
> - **Tooling/lockfile**
>   - Bump `cargo:usage-cli` to `2.3.0` in `mise.lock`.
> - **Docs**
>   - Update stars count in `docs/.vitepress/stars.data.ts` to `19.6k`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
5b3be09. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: mise-en-dev <release@mise.jdx.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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