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

refactor: use a struct for install options #6561

Merged

Conversation

mkniewallner
Copy link
Contributor

Summary

Closes #6545.

Test Plan

Relying on existing tests.

@@ -297,6 +285,23 @@ pub(super) async fn do_sync(
Ok(())
}

fn apply_install_options(
Copy link
Member

Choose a reason for hiding this comment

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

Should this be InstallOptions::filter_resolution(...) or something? (and the helpers would all become private members?)

@zanieb
Copy link
Member

zanieb commented Aug 23, 2024

Awesome thank you!

@mkniewallner mkniewallner marked this pull request as ready for review August 24, 2024 00:11
Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

Thank you!

@zanieb zanieb merged commit 6a988ac into astral-sh:main Aug 27, 2024
57 checks passed
@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Aug 27, 2024
@mkniewallner mkniewallner deleted the refactor/add-install-options-struct branch August 27, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create struct to group install options during sync
2 participants