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

Improve minimum macOS version audit for casks #14297

Merged
merged 1 commit into from
Dec 28, 2022
Merged

Improve minimum macOS version audit for casks #14297

merged 1 commit into from
Dec 28, 2022

Conversation

Rylan12
Copy link
Member

@Rylan12 Rylan12 commented Dec 27, 2022

This PR improves the audit that checks the minimum macOS version in casks. Now, the audit displays symbols instead of version numbers when explaining what's wrong. Ultimately, the depends_on line uses the OS symbol instead of the number, so it's better to just list that instead of forcing the user to convert between version numbers and symbols.

Also, the edge case where a cask specifies 10.16 as the minimum version has been handled. Now, 10.16 is treated as :big_sur.

For context, see Homebrew/homebrew-cask#138579

@Rylan12 Rylan12 added the critical Critical change which should be shipped as soon as possible. label Dec 27, 2022
@Rylan12 Rylan12 requested a review from p-linnane December 27, 2022 23:27
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

@Rylan12 Rylan12 merged commit f3e5f17 into Homebrew:master Dec 28, 2022
@Rylan12 Rylan12 deleted the minimum-macos-version-audit branch December 28, 2022 01:21
@github-actions github-actions bot added the outdated PR was locked due to age label Jan 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants