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

fix: tools installed via cargo:a/b@rev:012 immediately pruned #2685

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

roele
Copy link
Contributor

@roele roele commented Sep 29, 2024

Fixes #2583

@jdx First thought i had was, why not setting the ref: in the TOML file but the cargo tool could not infer the type for installation. So i guess we're stuck with mapping these prefixes back and forth, or do you have any other ideas?

A a small side-effect Version/Requested will differ but that is not unusual as it already does for latest.

mise-debug ls
Tool                     Version                           Config Source               Requested                      
cargo:eza-community/eza  ref:a3b0c8b40ed1f4f1a12c23242bbe  ~/Downloads/mise/.mise.toml rev:a3b0c8b40ed1f4f1a12c23242bb
                         780c391812f3                                                  e780c391812f3                  
cargo:eza-community/eza  ref:main                                                                                     
cargo:eza-community/eza  ref:v0.20.0                                                                                  
go                       1.23.1                            ~/.config/mise/config.toml  latest                         

@jdx jdx merged commit f3528ec into jdx:main Sep 29, 2024
12 checks passed
@roele roele deleted the issues/2583 branch September 29, 2024 17:51
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.

Tools installed via "cargo:a/b@rev:012" immediately pruned
2 participants