-
Notifications
You must be signed in to change notification settings - Fork 226
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: manually exposed executables are removed after pixi global update
#3109
fix: manually exposed executables are removed after pixi global update
#3109
Conversation
@@ -662,8 +662,22 @@ impl Project { | |||
Ok(state_changes) | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Get all installed executables of all dependencies of a specific environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adapted
src/global/project/mod.rs
Outdated
@@ -662,8 +662,22 @@ impl Project { | |||
Ok(state_changes) | |||
} | |||
|
|||
/// Get all installed executables for specific environment. | |||
pub async fn executables( | |||
pub async fn executables_all_dependencies( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry if it's nitpicking
maybe we can name it
pub async fn executables_from_all_dependencies
and
pub async fn executables_from_direct_dependencies
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Fixes #3014
ExposedType
logic since there were a few incorrect assumptions