| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
A temporary measure before we decide whether vendor git or not.
|
|
This means linkage checks will be invoked during `brew install` and `brew audit`
Closes #470.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
In case of download failure and retry, altering `@url` can cause side
effect like repeatedly applying `HOMEBREW_ARTIFACT_DOMAIN`.
|
|
Regex is way slower than normal String#include? and String#start_with?.
Also, we often forget to proper escape them. So avoid using them if it
is not necessary.
Closes #503.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
If set, this environment variable instructs Homebrew to use the given URL as a
download mirror (e.g. an Artifactory instance) for bottles and binaries.
Closes #387.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
`.` need to be escaped, otherwise it will match any character.
Also improve code style for handling string s.
|
|
|
|
Closes #495.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
|
|
|
|
Don't unset things that are already set as executable for the generic path.
OS X overrides this behaviour and detects if it's an MachO executable but
there's no cross-OS generic equivalent so just fall back to whatever the build
system has set.
|
|
* global: add RUBY_TWO global variable.
* test-bot: use RUBY_TWO global variable.
* github: produce better curl error messages.
If we don't know why curl has failed then ensure that the error messages
that it produced are included as part of the user output.
|
|
Would have made it easier to debug
https://github.com/Homebrew/homebrew-core/issues/2804 where wasn't clear which
directory was causing the issue.
|
|
|
|
|
|
|
|
|
|
Changes to our style configuration:
- Consolidate all rules related to Ruby 1.8 compatibility in one place.
- Codify our de-facto preference for `alias_method` over `alias` (drops
offense count by 54 after turning this on).
- Drop `Style/SignalException` as `only_raise` has been the new default
for quite a while (since RuboCop 0.37.0).
|
|
|
|
vendor ruby
|
|
|
|
* Use vendor Ruby if it's present
* Install vendor Ruby for system without Ruby 2.x
|
|
|
|
Requirement tweaks
|
|
The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`,
with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it.
In addition, a `Library/Homebrew/vendor/portable-ruby-version` will
track the latest version of vendor binaries.
This gives us version control on vendor Ruby and enables us to bump vendor
Ruby whenever needed such as security update.
|
|
Most of our formulae do compilation so let's do it here too.
|
|
We’re just supporting the Cask now.
|
|
We’re just supporting the Cask now.
|
|
Nicer to split this onto two lines.
|
|
Previously this was only using the last line.
|
|
Make it more obvious which class was unsatisfied to produce this error
message.
|
|
Or how many taps are private when summarizing all installed taps.
|
|
|
|
Closes #488.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
|
|
|
|
Fix minor regression in b55250c44eacd49646407b26a73753965d4d36d0. The
bottle is placed in the current working directory, is unaffected by the
the single teardown introduced in #475, and thus needs manual handling.
Closes #483.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
The latter was replacing the former due to an identical method name.
|
|
Test was added in 61614d35294c8faffaeb5c7f0ec6dea78dbbc30f, but never
had any effect because it was replaced by a method of the same name a
few lines further down.
|
|
Closes #481.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
We might as well be consistent about it, since it's not obvious to people
what the next step is after we've pointed out the directory isn't writable.
Fixes #476.
|