docs: Document that activation scripts are not simply sourced #3506
Merged
Hofer-Julian merged 3 commits intoprefix-dev:mainfrom Apr 4, 2025
Merged
docs: Document that activation scripts are not simply sourced #3506Hofer-Julian merged 3 commits intoprefix-dev:mainfrom
Hofer-Julian merged 3 commits intoprefix-dev:mainfrom
Conversation
Contributor
Author
|
It could probably make sense to cross-reference #3219 that is related, but I could not find any docs for that functionality. |
Hofer-Julian
approved these changes
Apr 4, 2025
Contributor
Hofer-Julian
left a comment
There was a problem hiding this comment.
Looking at the code, this seems like a good summary to me: https://github.com/conda/rattler/blob/ac0df5d796912b92f65e86c42729ba3d4b7e1e16/crates/rattler_shell/src/activation.rs#L358
Thanks @traversaro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the last two weeks it happen two times that I interacted with users that were confused by how
scriptslisted under the activation table were used by pixi (see for example RoboStack/ros-humble#271). I also do not have a full understanding of this, but I tried to document that I understood.