| Age | Commit message (Collapse) | Author |
|
`brew cleanup` should cleanup formulae which have the older
version scheme.
|
|
|
|
This is warned by the newer MiniTest.
|
|
We’re upgrading SimpleCov to 0.13.0 so let’s update the rest of our
gems while we’re at it.
|
|
|
|
|
|
|
|
|
|
Suggested by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97234536, and
then I added the \A and \Z.
|
|
A common git environment is now used in all tests, so this is no longer
required.
|
|
This will allow the `brew bundle` test to use the default git
environment.
|
|
See https://github.com/Homebrew/brew/pull/1890#discussion_r97229473.
|
|
Proposed by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97210285.
I made one slight adjustment of preserving the previous date string in
case anything was relying on it.
|
|
I was waiting for confirmation that there wasn't a good reason for these
to be stubbed before I removed them.
|
|
|
|
|
|
|
|
|
|
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
|