Summary
Add the morphir CLI to the mise tool registry so users can install with:
Instead of the current longer form:
mise install github:finos/morphir-rust@v0.1.0
Steps
1. Add to Aqua Registry (Recommended First Step)
The aqua registry is preferred by mise for security features. Submit a PR to:
https://github.com/aquaproj/aqua-registry
Create a file pkgs/finos/morphir-rust/registry.yaml:
packages:
- type: github_release
repo_owner: finos
repo_name: morphir-rust
asset: morphir-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tgz
replacements:
darwin: apple-darwin
linux: unknown-linux-gnu
amd64: x86_64
arm64: aarch64
overrides:
- goos: windows
format: zip
asset: morphir-{{.Version}}-{{.Arch}}-pc-windows-msvc.zip
2. Add to Mise Registry
Once in aqua (or directly using github backend), submit a PR to:
https://github.com/jdx/mise - edit registry.toml
Add entry:
[tools.morphir]
description = "CLI for working with Morphir IR - functional domain modeling and business logic"
backends = ["aqua:finos/morphir-rust", "github:finos/morphir-rust"]
test = ["morphir --version", "morphir {{version}}"]
Requirements Checklist
Alternative: GitHub Backend Only
If skipping aqua, submit directly to mise with just the github backend:
[tools.morphir]
description = "CLI for working with Morphir IR - functional domain modeling and business logic"
backends = ["github:finos/morphir-rust"]
test = ["morphir --version", "morphir {{version}}"]
References
Summary
Add the morphir CLI to the mise tool registry so users can install with:
Instead of the current longer form:
Steps
1. Add to Aqua Registry (Recommended First Step)
The aqua registry is preferred by mise for security features. Submit a PR to:
https://github.com/aquaproj/aqua-registry
Create a file
pkgs/finos/morphir-rust/registry.yaml:2. Add to Mise Registry
Once in aqua (or directly using github backend), submit a PR to:
https://github.com/jdx/mise - edit
registry.tomlAdd entry:
Requirements Checklist
morphir --versionoutputs versionAlternative: GitHub Backend Only
If skipping aqua, submit directly to mise with just the github backend:
References