Skip to content

Introduce latest versioned formulae #20196

Open
@quackerex

Description

@quackerex

Verification

Provide a detailed description of the proposed feature

For versioned formulae seperate it from its non versioned formula.

For example currently [email protected] is aliased with ruby.
If I do brew install [email protected], it's install ruby. So when ruby 3.5 is released Homebrew will upgrade it.
However we can make brew install [email protected] install [email protected]. So when ruby 3.5 is released it is still pinned to ruby 3.4.x releases.

What is the motivation for the feature?

The idea is to match formula dependencies behaviour to formulae installation.

For example if I add [email protected] as a dependency the formula stays pointed to @3.4 and not ruby

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

Less confusion with versioned formulae. As there is no difference between installing latest versioned formulae and old versioned formulae.

What alternatives to the feature have been considered?

Accept the current behaviour :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions