Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Dec 3, 2025

  • 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?

Deprecating CodesignRequirement as it is no longer used. The previous usage included:

Strict typing is part of

Copilot AI review requested due to automatic review settings December 3, 2025 20:05
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 PR deprecates the CodesignRequirement class and upgrades it to typed: strict Sorbet mode. The class is no longer used in Homebrew (previously used by llvm and radare2 formulae but removed in 2019).

Key changes:

  • Upgrades Sorbet typing from typed: true to typed: strict
  • Adds type signatures for all methods and instance variables
  • Adds deprecation warning in the satisfy block

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

@cho-m cho-m force-pushed the codesign_requirement-type-and-deprecate branch from 9c77842 to 237af66 Compare December 3, 2025 20:12
Deprecating CodesignRequirement as it is no longer used. The previous
usage included:
* llvm - Homebrew/homebrew-core#36278
* radare2 - Homebrew/homebrew-core#36289
@cho-m cho-m force-pushed the codesign_requirement-type-and-deprecate branch from 237af66 to 0d25b32 Compare December 3, 2025 20:29
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, let's try the deprecation and we can always disable if anyone complains loudly.

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 4, 2025
Merged via the queue into main with commit 0530b45 Dec 4, 2025
37 checks passed
@MikeMcQuaid MikeMcQuaid deleted the codesign_requirement-type-and-deprecate branch December 4, 2025 11:04
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.

4 participants