Skip to content

formula, ARGV: don't output duplicate formulae.#1758

Merged
MikeMcQuaid merged 1 commit into
Homebrew:masterfrom
MikeMcQuaid:no-duplicate-formulae
Dec 31, 2016
Merged

formula, ARGV: don't output duplicate formulae.#1758
MikeMcQuaid merged 1 commit into
Homebrew:masterfrom
MikeMcQuaid:no-duplicate-formulae

Conversation

@MikeMcQuaid

@MikeMcQuaid MikeMcQuaid commented Dec 31, 2016

Copy link
Copy Markdown
Member

If you specify a formula more than once or it exists in the Cellar with an alias name and the main name (e.g. qt and qt5) you can see the same formula showing up more than once.
Instead, resolve these output lists of formulae such that they are unique based on their name. This doesn't use full_name as it's name that's use for the Cellar.

CC @RandomDSdevel

Fixes Homebrew/homebrew-core#8342

If you specify a formula more than once or it exists in the Cellar with
an alias name and the main name (e.g. `qt` and `qt5`) you can see the
same formula showing up more than once. Instead, resolve these output
lists of formulae such that they are unique based on their `name`. This
doesn't use `full_name` as it's `name` that's use for the `Cellar`.
@MikeMcQuaid MikeMcQuaid added the in progress Maintainers are working on this label Dec 31, 2016
@MikeMcQuaid MikeMcQuaid merged commit 9fa95d7 into Homebrew:master Dec 31, 2016
@MikeMcQuaid MikeMcQuaid deleted the no-duplicate-formulae branch December 31, 2016 17:36
@MikeMcQuaid MikeMcQuaid removed the in progress Maintainers are working on this label Dec 31, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate Registration of Qt 5 After Removal Of Qt 4 From Homebrew Core

1 participant