Skip to content

refactor: use a struct for install options#6561

Merged
zanieb merged 3 commits intoastral-sh:mainfrom
mkniewallner:refactor/add-install-options-struct
Aug 27, 2024
Merged

refactor: use a struct for install options#6561
zanieb merged 3 commits intoastral-sh:mainfrom
mkniewallner:refactor/add-install-options-struct

Conversation

@mkniewallner
Copy link
Copy Markdown
Contributor

Summary

Closes #6545.

Test Plan

Relying on existing tests.

Ok(())
}

fn apply_install_options(
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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