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

Allow empty package sets in package set update payload #611

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

thomashoneyman
Copy link
Member

This loosens our restrictions around processing package set updates. Previously, if you don't specify any packages then the update is not processed (there are no packages to update). However, this prevents us from updating the compiler version used to process package sets without also updating specific packages as seen in purescript/registry#297.

With this PR we will process package set updates even if there are no packages if a) the compiler field is set and b) the specified compiler version is greater than the existing one.

@thomashoneyman thomashoneyman requested a review from f-f June 19, 2023 14:53
@thomashoneyman thomashoneyman merged commit 8a1897f into master Jun 19, 2023
1 check passed
@thomashoneyman thomashoneyman deleted the trh/allow-compiler-only-package-update branch June 19, 2023 18:34
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.

2 participants