| Age | Commit message (Collapse) | Author |
|
These locations are now all automatically cleaned up after every test.
|
|
These are no longer necessary.
|
|
(No longer just integration tests.)
|
|
|
|
|
|
This will allow us to have global setup and teardown for tests.
For example, we can automatically clear caches after each test, to avoid
annoying intermittent failures like #1879 and #1886.
|
|
Similar to 6fc1747e0550545b4fe80f5a1854d16dd2b08afe. I hadn't seen any
test failures caused by this, but I noticed it in the process of
trackign that down and it's an accident waiting to happen.
|
|
This was responsible for the sporadic failures I encountered in #1878.
|
|
Instead of `puts`ing when the failure occurs save it until the error
message and print a prose description of what the failure was and the
output from the command. This makes the output from failing tests
significantly easier to read.
|
|
uses: properly handle untapped formulae in recursive dependency expansion (again!)
|
|
tests: test Formula#recursive_requirements
|
|
…rmulae in recursive dependency expansion""
This reverts commit dc9819b86c60b5c6fd10373ff318d8ef60f97d52.
|
|
|
|
minamijoyo/add-feature-github-release-download-strategy
New feature: Allow download from private GitHub repository
|
|
|
|
|
|
|
|
|
|
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`).
|
|
|
|
GitHubReleaseDownloadStrategy downloads tarballs from GitHub Release assets.
To use it, add ":using => GitHubReleaseDownloadStrategy" to the URL section
of your formula. This download strategy uses GitHub access tokens (in the
environment variables GITHUB_TOKEN) to sign the request.
This strategy is suitable for corporate use just like S3DownloadStrategy,
because it lets you use a private GttHub repository for internal distribution.
It works with public one, but in that case simply use CurlDownloadStrategy.
|
|
|
|
|
|
|
|
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!
|