-
Notifications
You must be signed in to change notification settings - Fork 2k
Allow user to specify --name or --prefix as part of conda config command
#14648
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
Merged
Conversation
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
84bdf47 to
6607a09
Compare
soapy1
commented
Mar 5, 2025
soapy1
commented
Mar 5, 2025
soapy1
commented
Mar 5, 2025
CodSpeed Performance ReportMerging #14648 will not alter performanceComparing Summary
|
dholth
reviewed
Mar 5, 2025
jezdez
requested changes
Mar 5, 2025
Co-authored-by: Daniel Holth <dholth@anaconda.com> Co-authored-by: Jannis Leidel <jannis@leidel.info>
2e20d81 to
5b0ccb5
Compare
5b0ccb5 to
7c37b89
Compare
Contributor
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
jaimergp
reviewed
Mar 6, 2025
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
kenodegard
approved these changes
Mar 6, 2025
jezdez
approved these changes
Mar 13, 2025
Member
|
Huzzah, welcome back @soapy1! |
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.
Description
Fixes #12137
This PR introduces two new flag options to the
conda configcommand:--nameallows users to specify the name of an environment to apply the config to--prefixallows the user to specify the prefix to apply the config toFor example, if a user wants to add a new channel to their environment named
myenvthey may do:This will update the
.condarcfile in<path to conda deir>/envs/myenv/.condarc.For invalid environment names or prefixes provided, an error will be returned to the user:
Users can see the addition of the new flags:
Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?