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

test: incremental lock file updates #140

Merged
merged 13 commits into from
Jun 29, 2023

Conversation

baszalmstra
Copy link
Contributor

@baszalmstra baszalmstra commented Jun 23, 2023

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

@baszalmstra baszalmstra marked this pull request as ready for review June 26, 2023 14:18
@baszalmstra baszalmstra changed the title Feat/fake repodata test: incremental lock file updates Jun 26, 2023
pixi.init().await.unwrap();

// Set the channel to something we created
pixi.set_channel(Url::from_directory_path(channel_dir.path()).unwrap())
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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 👍

Copy link
Contributor Author

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 {
Copy link
Contributor

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.

@tdejager tdejager merged commit d52f177 into prefix-dev:main Jun 29, 2023
9 checks passed
@tdejager tdejager deleted the feat/fake_repodata branch June 29, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incremental lockfile updates
2 participants