-
Notifications
You must be signed in to change notification settings - Fork 180
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
test: incremental lock file updates #140
Conversation
tests/install_tests.rs
Outdated
pixi.init().await.unwrap(); | ||
|
||
// Set the channel to something we created | ||
pixi.set_channel(Url::from_directory_path(channel_dir.path()).unwrap()) |
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.
Shouldn't we also add this option to the command line interface? Maybe even something like an add channel option or as argument to init?
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.
Yeah ideally we'd add this to the init
command IMHO. I wasn't sure whether to do this in this PR though.
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.
I would just do it 👍
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.
I added channels to the init command and modified PixiControl to allow you to use it.
} | ||
} | ||
|
||
impl IntoFuture for InitBuilder { |
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.
Maybe add some documentation why this is needed.
This adds a way to generate repodata on the fly.
Not entirely happy with it will refactor on Monday.Refactored this and now pretty happy with it. :)Fix #4