Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(registry): added ast-grep #4519

Merged
merged 1 commit into from
Feb 26, 2025
Merged

feat(registry): added ast-grep #4519

merged 1 commit into from
Feb 26, 2025

Conversation

tony-sol
Copy link
Contributor

@tony-sol tony-sol commented Feb 25, 2025

ast-grep A CLI tool for code structural search, lint and rewriting

Tests :

$ cargo run --bin mise -- tool ast-grep                                                                                                  *1 [main] 12:19:10
   Compiling mise v2025.2.7 (/Users/tony/Projects/oss/mise)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.47s
     Running `target/debug/mise tool ast-grep`
Backend:            aqua:ast-grep/ast-grep
Installed Versions:
Tool Options:       [none]

$ cargo run --bin mise -- use -g ast-grep                                                                                                *1 [main] 12:19:34
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s
     Running `target/debug/mise use -g ast-grep`
mise [email protected]    install
mise [email protected]    download app-aarch64-apple-darwin.zip
mise [email protected]    generate checksum app-aarch64-apple-darwin.zip
mise [email protected]    extract app-aarch64-apple-darwin.zip
mise [email protected]  ✓ installed
mise ~/.config/mise/config.toml tools: [email protected]

$ cargo run --bin mise -- tool ast-grep                                                                                                  *1 [main] 12:25:42
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s
     Running `target/debug/mise tool ast-grep`
Backend:            aqua:ast-grep/ast-grep
Description:        A CLI tool for code structural search, lint and rewriting. Written in Rust
Installed Versions: 0.35.0
Active Version:     0.35.0
Requested Version:  latest
Config Source:      ~/.config/mise/config.toml
Tool Options:       [none]

@tony-sol tony-sol force-pushed the main branch 4 times, most recently from 94c758e to b851516 Compare February 25, 2025 07:59
@tony-sol tony-sol changed the title feat: added ast-grep feat(registry): added ast-grep Feb 25, 2025
@@ -100,6 +100,12 @@ argocd.backends = [
]
asciidoctorj.backends = ["asdf:mise-plugins/mise-asciidoctorj"]
assh.backends = ["asdf:mise-plugins/mise-assh"]
ast-grep.backends = [
Copy link
Owner

Choose a reason for hiding this comment

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

missing a test

@jdx jdx enabled auto-merge (squash) February 26, 2025 13:27
@jdx jdx merged commit 2924ded into jdx:main Feb 26, 2025
18 checks passed
jdx pushed a commit that referenced this pull request Feb 26, 2025
### 🚀 Features

- **(registry)** add cocogitto by [@reitzig](https://github.com/reitzig)
in [#4513](#4513)
- **(registry)** Added foundry by [@suicide](https://github.com/suicide)
in [#4455](#4455)
- **(registry)** added ast-grep by
[@tony-sol](https://github.com/tony-sol) in
[#4519](#4519)

### 🐛 Bug Fixes

- non-utf8 external process handling by [@jdx](https://github.com/jdx)
in [#4538](#4538)

### 📚 Documentation

- **(cookbook)** add shell powerline-go config env recipe by
[@scop](https://github.com/scop) in
[#4532](#4532)
- update mise.el repo link by [@tecoholic](https://github.com/tecoholic)
in [#4534](#4534)

### Chore

- bump rust version for releases by [@jdx](https://github.com/jdx) in
[f4e5970](f4e5970)
- bump rust version for releases by [@jdx](https://github.com/jdx) in
[52cff1c](52cff1c)
- bump rust version for releases by [@jdx](https://github.com/jdx) in
[9121c5e](9121c5e)
- bump msrv for edition compatibility by [@jdx](https://github.com/jdx)
in
[3a222dd](3a222dd)
- remove unused deny rule by [@jdx](https://github.com/jdx) in
[053f5c1](053f5c1)

### New Contributors

- @tony-sol made their first contribution in
[#4519](#4519)
- @tecoholic made their first contribution in
[#4534](#4534)
- @suicide made their first contribution in
[#4455](#4455)
- @reitzig made their first contribution in
[#4513](#4513)
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