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: manually exposed executables are removed after pixi global update #3109

Merged
merged 7 commits into from
Feb 12, 2025

Conversation

Hofer-Julian
Copy link
Contributor

@Hofer-Julian Hofer-Julian commented Feb 11, 2025

Fixes #3014

  • Add test (with updated channels)
  • Refactor the ExposedType logic since there were a few incorrect assumptions

@Hofer-Julian Hofer-Julian marked this pull request as ready for review February 12, 2025 09:00
@Hofer-Julian Hofer-Julian requested a review from nichmor February 12, 2025 09:00
@@ -662,8 +662,22 @@ impl Project {
Ok(state_changes)
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// Get all installed executables of all dependencies of a specific environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adapted

@@ -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(
Copy link
Contributor

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@Hofer-Julian Hofer-Julian merged commit a0aaf0c into prefix-dev:main Feb 12, 2025
29 checks passed
@Hofer-Julian Hofer-Julian deleted the fix/global-exposed-removed branch February 12, 2025 15:10
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.

Manually exposed executables are removed after pixi global update
2 participants