Skip to content

Conversation

@botantony
Copy link
Member

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

Needed for gcloud-cli cask

installer may be either a :script or :manual. There is nothing that block supporting installer scripts on Linux. Manual installation may be a problem, it might be worth check for install :manual usage or change the output message

Needed for `gcloud-cli` cask

`installer` may be either a `:script` or `:manual`. There is nothing
that block supporting installer scripts on Linux. Manual installation
may be a problem, it might be worth check for `install :manual` usage or
change the output message

Signed-off-by: botantony <antonsm21@gmail.com>
Copilot AI review requested due to automatic review settings December 24, 2025 17:34
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 enables the installer artifact to be used in casks that run on Linux, needed specifically for the gcloud-cli cask. The change removes the installer artifact from the macOS-only restrictions since installer scripts (using :script) can run on Linux systems.

  • Removes ::Cask::Artifact::Installer from the MACOS_ONLY_ARTIFACTS array
  • Allows casks with installer artifacts to indicate Linux support via supports_linux?
  • Prevents installation errors on Linux for casks using installer scripts

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

@MikeMcQuaid
Copy link
Member

it might be worth check for install :manual usage or change the output message

I think that should probably be done in this PR?

Signed-off-by: botantony <antonsm21@gmail.com>
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!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 27, 2025
Merged via the queue into main with commit d61f229 Dec 27, 2025
37 checks passed
@MikeMcQuaid MikeMcQuaid deleted the cask-linux-installer-stanza branch December 27, 2025 09:54
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