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

Add fallback to root prefix #3435

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Conversation

Hind-M
Copy link
Member

@Hind-M Hind-M commented Sep 9, 2024

Fix part of #3426 (second point).

@Hind-M Hind-M added the release::bug_fixes For PRs fixing bugs label Sep 9, 2024
@Hind-M Hind-M force-pushed the default_root branch 2 times, most recently from d61323f to 99a43da Compare September 9, 2024 15:40
@@ -27,6 +27,7 @@ namespace mamba
bool remove_all = flags & MAMBA_REMOVE_ALL;

config.at("use_target_prefix_fallback").set_value(true);
config.at("use_root_prefix_fallback").set_value(false);
Copy link
Member Author

Choose a reason for hiding this comment

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

I set the flag to false here since it's related to environment removal and could be dangerous (so no fallback in this case).

@SylvainCorlay
Copy link
Member

Wow, all green! 😄

@Hind-M Hind-M marked this pull request as ready for review September 10, 2024 13:03
@JohanMabille JohanMabille merged commit 12fef58 into mamba-org:main Sep 10, 2024
32 checks passed
@Hind-M Hind-M deleted the default_root branch September 10, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release::bug_fixes For PRs fixing bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants