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

feat: add features to channel add command #700

Merged

Conversation

ruben-arts
Copy link
Contributor

@ruben-arts ruben-arts commented Jan 24, 2024

Adds more testing as well as this cli command:

pixi project add -f/--feature cuda nvidia

@ruben-arts ruben-arts added this to the Multi-env milestone Jan 24, 2024
Copy link
Contributor

@baszalmstra baszalmstra left a comment

Choose a reason for hiding this comment

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

LGTM! I left one small comment but that can also be addressed later.

@@ -481,7 +557,7 @@ impl Manifest {
}

// remove the channels from the toml
let channels_array = self.channels_array_mut()?;
let channels_array = self.channels_array_mut(&FeatureName::Default)?;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe also add the feature name to this function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will be done in a future PR 😃

@ruben-arts ruben-arts merged commit dceeb79 into prefix-dev:main Jan 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants