Skip to content

Conversation

@bevanjkay
Copy link
Member

@bevanjkay bevanjkay commented Jan 9, 2026

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

When a pkg does not contain an info.plist file we are currently not checking for a minimum supported os version.
The pkg installer itself can have a minimum specified in its distribution, so check it.

I am not sure how we want to preference this, as we we may want it to only take effect if the existing method doesn't find anything. At the moment it utilises the new check first.

Copilot AI review requested due to automatic review settings January 9, 2026 01:45
@bevanjkay bevanjkay force-pushed the check-pkg-for-min-os branch from 27959a4 to aa2cb14 Compare January 9, 2026 01:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds functionality to check pkg artifacts for minimum supported macOS versions by examining their Distribution files. Previously, pkg artifacts without Info.plist files were not checked for minimum OS version requirements.

Key Changes:

  • Adds pkg expansion and Distribution file parsing to extract os-version min attribute
  • Implements cleanup of temporary directories using ensure blocks
  • Skips Info.plist checking for pkg artifacts after Distribution file check

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Thanks! Small style comment but happy to ship when it's working for you.

@bevanjkay bevanjkay force-pushed the check-pkg-for-min-os branch from dc32cf4 to db86073 Compare January 9, 2026 12:40
@bevanjkay bevanjkay enabled auto-merge January 9, 2026 12:40
@bevanjkay bevanjkay added this pull request to the merge queue Jan 9, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 9, 2026
@bevanjkay bevanjkay added this pull request to the merge queue Jan 9, 2026
Merged via the queue into main with commit d4b292b Jan 9, 2026
37 checks passed
@bevanjkay bevanjkay deleted the check-pkg-for-min-os branch January 9, 2026 20:52
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