Skip to content

Handle missing formulae in runtime_dependencies#4483

Merged
MikeMcQuaid merged 1 commit intoHomebrew:masterfrom
MikeMcQuaid:runtime-dependencies-missing-formulae
Jul 16, 2018
Merged

Handle missing formulae in runtime_dependencies#4483
MikeMcQuaid merged 1 commit intoHomebrew:masterfrom
MikeMcQuaid:runtime-dependencies-missing-formulae

Conversation

@MikeMcQuaid
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid commented Jul 16, 2018

Hopefully put this to bed for once and for all. Add a new method runtime_formula_dependencies which returns the runtime_dependencies which have only the Formula objects that exist. I've checked all the runtime_dependencies callers and updated them accordingly.

Also, fix a few cases where runtime dependencies were being read from the tab when this wasn't desirable.

Fixes #4482.

  • 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 style with your changes locally?
  • Have you successfully run brew tests with your changes locally?

@ghost ghost assigned MikeMcQuaid Jul 16, 2018
@ghost ghost added the in progress Maintainers are working on this label Jul 16, 2018
@MikeMcQuaid MikeMcQuaid requested a review from ilovezfs July 16, 2018 14:07
Hopefully put this to bed for once and for all. Add a new method
`runtime_formulae_dependencies` which returns the `runtime_dependencies`
which have only the `Formula` objects that exist. I've checked all the
`runtime_dependencies` callers and updated them accordingly.

Also, fix a few cases where runtime dependencies were being read from
the tab when this wasn't desirable.
@MikeMcQuaid MikeMcQuaid merged commit 87c3ce2 into Homebrew:master Jul 16, 2018
@ghost ghost removed the in progress Maintainers are working on this label Jul 16, 2018
@lock lock bot added the outdated PR was locked due to age label Aug 15, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated PR was locked due to age

Projects

None yet

Development

Successfully merging this pull request may close these issues.

brew upgrade fails if old version has formula dependencies that no longer exist

2 participants