Skip to content

Avoid outputting Rosetta 2 caveats on Intel machines #18365

Open
@giapoldo

Description

@giapoldo

Verification

Provide a detailed description of the proposed feature

Check for system type (Intel or Silicon) to filter which Caveats are shown. I'm on an Intel mac and I get the following Caveat:

"{cask} is built for Intel macOS and so requires Rosetta 2 to be installed.
You can install Rosetta 2 with:
softwareupdate --install-rosetta --agree-to-license
Note that it is very difficult to remove Rosetta 2 once it is installed."

This particular time it was for the "session" cask, but I have gotten it for other installs too.

What is the motivation for the feature?

This caveat is a warning that is simply unnecessary for Intel systems.

How will the feature be relevant to at least 90% of Homebrew users?

Less visual clutter and cleaner user experience. The first time I got it I had to investigate a little bit as to why I was getting this warning since I am on an Intel system and I had no clue what "Rosetta 2" was, nor did it imply anything about the warning being only for Silicon systems. My first though was that something in my system was misconfigured since the warning showed up.

What alternatives to the feature have been considered?

An alternative is to modify the caveat text to:

"For Apple Silicon systems:
{cask} is built for Intel macOS and so requires Rosetta 2 to be installed.
You can install Rosetta 2 with:
softwareupdate --install-rosetta --agree-to-license
Note that it is very difficult to remove Rosetta 2 once it is installed."

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuresNew featureshelp wantedWe want help addressing this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions