Make installable with mise

Open
#1,010 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
cli, release

Research direction

Start with the repository's release packaging and the mise entry point, then reproduce the Linux installation shown in the issue. Check how the Linux tar archive names its binary and how the macOS launcher differs; done means mise use github:1jehuang/jcode makes jcode available on Linux.

Written by the indexing model from the issue text.

Description

autonomous: no enhancement triage: needs-decision

Installation through mise currently is not clean on linux because the release tar binary is not named "jcode" but "jcode-linux-x86_64".

Could we change that? (also maybe only ship one binary and get rid of the launcher script like on MacOS)

❯ mise use github:1jehuang/jcode
github:1jehuang/jcode@0.77.1 extract jcode-linux-x86_64.tar.gz                                                                           ✔
mise /tmp/mise.toml tools: github:1jehuang/jcode@0.77.1

/tmp took 8s
❯ which jcode
jcode not found

/tmp
❯ which jcode-linux-x86_64
/home/fiws/.local/share/mise/installs/github-1jehuang-jcode/latest/jcode-linux-x86_64

/tmp
❯ which jcode-linux-x86_64.bin
/home/fiws/.local/share/mise/installs/github-1jehuang-jcode/latest/jcode-linux-x86_64.bin
Dominant language
Rust
Stars
19.9k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 1jehuang/jcode

All issues in 1jehuang/jcode

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.