| Age | Commit message (Collapse) | Author |
|
expansion"
|
|
Previously, this returned a String, but a Tap instance seems much more
sensible.
I couldn't find anywhere this method was actually used, so the change
shouldn't break anything.
|
|
|
|
This had to be added in #1750 to work around special-casing for tabs
generated with Homebrew versions < 1.1.6. Now that 1.1.6 is the current
version, we can remove this hack.
|
|
Don't use Homebrew/versions in a test and remove them both from the
OFFICIAL_TAPS list (i.e. `brew search`).
|
|
|
|
|
|
|
|
Closes #1525. (See there for a motivation for this change.)
|
|
|
|
In #1497 I switched from Keg#to_formula for comparing kegs to formulae
to comparing the name and tap in the keg's tab to the name and tap of
the formula.
However, this fails to match if the name and tap of the formula have
changed since the keg was installed, so it's clearly better to use
Keg#to_formula where possible, and fall back to the information in the
tab when #to_formula can't be used.
|
|
keg: fall back for dependencies of buggy tabs
|
|
keg: don't return nil dependencies
|
|
keg: fix fallback dependencies with multiple kegs
|
|
This is a proper fix to the problem addressed by #1510.
The problem arises when f_kegs is nil, which can happen if the name and
tap used to install a keg don't match the name and tap currently
associated with its formula (i.e. if it's been renamed or moved).
|
|
ENV: deprecate old methods.
|
|
See https://github.com/Homebrew/brew/pull/1750#discussion_r94243825 for
discussion.
Removes Tab#reliable_runtime_dependencies? in favour of returning nil
from Tab#runtime_dependencies if the list is unreliable.
Because Homebrew 1.1.6 hasn't been tagged yet, tabs created in tests
aren't created with a homebrew_version that marks the
runtime_dependencies in the Tab as reliable, so there are some tests
that fail. To work around this, I've had to add a line to some tests
that explicitly overrides the homebrew_version in the Tab. This is
really ugly though, so they should be removed as soon as possible after
1.1.6 is released.
|
|
These should have been deprecated long ago but we didn’t really have
the necessary framework to do so.
|
|
Fixes #1524.
|
|
|
|
This method isn't used any more
|
|
It didn't occur to me that this would work, but it does! Magic.
|
|
Fixes #1554.
|
|
|
|
|
|
|
|
Add Kaby Lake to Linux hardware list
|
|
formula: don't expand unused optional dependencies
|
|
keg: installed dependencies of unknown formulae
|
|
Because of an accidental use of `=` instead of `==`, the source formula
check would be skipped when determining if a keg depended on another one
(so only the versions would be compared).
Fixed that comparison, and updated the corresponding test.
Glad I caught that!
|
|
Previously, trying to resolve the dependencies of a keg would raise an
exception if the formulae for any of the dependencies could not be found
(e.g. if it had been moved to another tap).
This commit updates the dependency finding logic to catch these
exceptions, and fall back to comparing names and taps of formulae, which
should give the correct behaviour.
Fixes #1586.
|
|
see #1526
|
|
This properly addresses Homebrew/homebrew-core#7826.
|
|
This reverts commit 862c3ba4a2fb76140e46fdf49a1ea6857f140a29.
|
|
Note that no Mac hardware using a Kaby Lake processor has been released
yet, so do not add it to the equivalent list for macOS.
|
|
|
|
|
|
|
|
formula: runtime deps of build deps aren't runtime
|
|
Allow to install any spec
|
|
This is both easier for debugging and to communicate with users what is
being done.
|
|
bash_test: handle race condition.
|
|
Other tests may delete Bash files (e.g. `shcmd.sh`) while tests are
ongoing so ensure this doesn't cause a test failure.
|
|
|
|
This avoids a race condition occurring here.
|
|
|
|
|
|
Fixes #1554 (but only for new installations)
|
|
uses_test: don't rely on output order.
|
|
Allow our Jenkins CI testing for Homebrew/brew to live outside of
`/usr/local` without complaint (as it's not using any binary packages
anyway).
|