-
Notifications
You must be signed in to change notification settings - Fork 19
bug fix: enhance conda environment management with sourcing status and updated shell activation support #693
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
base: main
Are you sure you want to change the base?
Conversation
…d updated shell activation support
07ab05c
to
0bd3547
Compare
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.
Pull Request Overview
This PR enhances conda environment management by adding sourcing status detection and improving shell activation support. The changes introduce a new system to determine whether conda is already active in the current shell and provide better shell-specific activation commands.
- Adds
CondaSourcingStatus
class to track conda initialization state - Refactors shell activation command generation to use sourcing information
- Introduces detection of global and shell-specific conda activation scripts
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
File | Description |
---|---|
src/managers/conda/main.ts | Adds sourcing status construction and assignment to environment manager |
src/managers/conda/condaUtils.ts | Refactors shell activation logic to use sourcing status and removes duplicate code |
src/managers/conda/condaSourcingUtils.ts | New utility for detecting conda sourcing status and activation scripts |
src/managers/conda/condaEnvManager.ts | Adds sourcingInformation property to store sourcing status |
If the changes appear safe, you can manually trigger the pipeline by commenting |
No description provided.