Skip to content

Only generate cask variations for supported macOS configurations #20080

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

Rylan12
Copy link
Member

@Rylan12 Rylan12 commented Jun 11, 2025

Follow-up to #20075

This PR fixes the issue where Cask#to_hash_from_variations includes variations that are not allowable given the depends_on macos: or depends_on arch: rules. Now, we also check whether the current variation OS is allowable after refreshing the Cask, as we cannot determine whether the given OS is supported otherwise.

CC: @EricFromCanada

@Rylan12 Rylan12 force-pushed the cask-variations-only-supported branch from b2b4b1a to f82d365 Compare June 11, 2025 19:39
Copy link
Member

@EricFromCanada EricFromCanada left a comment

Choose a reason for hiding this comment

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

Nice!

@Rylan12 Rylan12 force-pushed the cask-variations-only-supported branch from f82d365 to 510e189 Compare June 12, 2025 00:29
@Rylan12 Rylan12 force-pushed the cask-variations-only-supported branch from 510e189 to e5667cb Compare June 12, 2025 00:30
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Makes sense to me, thanks!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jun 12, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Jun 12, 2025
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jun 12, 2025
Merged via the queue into master with commit 50bdb40 Jun 12, 2025
33 checks passed
@MikeMcQuaid MikeMcQuaid deleted the cask-variations-only-supported branch June 12, 2025 13:35
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.

3 participants