13054 Commits

Author SHA1 Message Date
Shaun Jackman
3ebf282269 pour_bottle?: Fix when formula.bottle is nil
formula.bottle is nil when bottle.compatible_cellar? is false.
Use formula.bottle_specification.compatible_cellar? rather
than formula.bottle.compatible_cellar?.
2017-09-28 12:29:22 -07:00
Maxim Belkin
b8d8049f70
install.rb: stop early if there are no formulae to be installed 2017-09-28 14:17:42 -05:00
Mike McQuaid
7974ce24b6 Fix regex style 2017-09-28 20:10:06 +01:00
Ben Muschol
2d6bd04007 Merge branch 'master' into check-for-master-no-refactor 2017-09-27 16:36:10 -04:00
Ben Muschol
fe5c885da0 Implement changes 2017-09-27 16:32:13 -04:00
Shaun Jackman
1e57445eca receipt_path: Ensure the bottle contains INSTALL_RECEIPT.json 2017-09-27 09:36:41 -07:00
commitay
208135f59f Cask dsl caveats: bump java version to 9 2017-09-27 21:03:23 +10:00
ilovezfs
5377a42f7f Revert "Added tests for os/mac/keg" 2017-09-27 02:57:12 -07:00
ilovezfs
e8da9613fb Revert "mach: Avoid reopening the file for relocation" 2017-09-27 02:08:23 -07:00
ilovezfs
0831f31e44 Revert "keg_relocate: use correct number of arguments in call to change_install_name" 2017-09-27 02:07:22 -07:00
William Woodruff
a1140f7b92 Merge pull request #3079 from mansimarkaur/os_keg
Added tests for os/mac/keg
2017-09-26 21:36:16 -04:00
Steven Peters
fc5b3778cb keg_relocate: fix call to change_install_name
During the changes to macho file relocation refactoring
in #3101, #3138, and #3139,
the number of arguments to the mach::change_install_name
function changed from 3 to 2, but
there was still an instance of the function being called
with the wrong number of arguments.
2017-09-26 17:30:28 -07:00
mansimarkaur
9f57840486
test: Tests for os/mac/keg 2017-09-26 19:06:57 -04:00
ilovezfs
feda0242be bump-formula-pr: fix duplicates check
`return unless pull_requests && !pull_requests.empty?` and
`return unless pull_requests&.empty?` are not equivalent.
2017-09-25 23:03:19 -07:00
William Woodruff
6098998674 Merge pull request #3139 from woodruffw/macho-use-object
mach: Avoid reopening the file for relocation
2017-09-25 23:30:42 -04:00
William Woodruff
d618e574fb
mach: Avoid reopening the file for relocation
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-09-25 17:46:23 -04:00
Mike McQuaid
a589303616 Merge pull request #3183 from MikeMcQuaid/rubocop-upgrade
Rubocop: 0.50.0 and Ruby 2.3
2017-09-25 21:29:03 +01:00
Mike McQuaid
ac8b58537f Merge pull request #3211 from MikeMcQuaid/portable-ruby-coverage
portable-ruby: use rebuild with coverage support.
2017-09-25 19:59:46 +01:00
Mike McQuaid
222da9de1c portable-ruby: use rebuild with coverage support.
This will allow `simplecov` to generate coverage by rebuilding portable
Ruby with coverage support.
2017-09-25 19:15:58 +01:00
Mike McQuaid
dd75dd8a25 os/mac/version: allow leopard_64_or_later bottles. 2017-09-25 18:35:18 +01:00
Mike McQuaid
598ea0cdec portable-ruby: fix installation on Leopard.
Download it insecurely there and require `rubygems` for `Gem::Version`.
2017-09-25 15:46:58 +01:00
Mike McQuaid
9697c8638c vendor-install: output only to stderr.
This avoids causing errors in scripts that call e.g. `brew --prefix`.
2017-09-25 06:53:23 +01:00
Mike McQuaid
cf5fdeef1d Rubocop: manual rule fixes. 2017-09-24 21:23:59 +01:00
Mike McQuaid
01e9ec9a9f Rubocop: automatic rule fixes. 2017-09-24 21:23:59 +01:00
Mike McQuaid
9eb51db400 Rubocop 0.50 and target 2.3. 2017-09-24 21:23:59 +01:00
Mike McQuaid
82aa148cb2 Merge pull request #3206 from MikeMcQuaid/utils-git-cache-less
utils/git: cache less aggressively.
2017-09-24 20:54:22 +01:00
Mike McQuaid
3d876f7d70 utils/git: cache less aggressively.
This should avoid weird test ordering failures with specs on Linux (but
there's no real reason this can't occur on macOS too).
2017-09-24 20:39:06 +01:00
ilovezfs
28c7838450 audit: also skip homebrew/science duplicates found by search_taps
Follow-up to #3202.
2017-09-24 00:29:34 -07:00
ilovezfs
e984623214 audit: don't check for homebrew/science duplicates
It's just noise to turn the migration PRs red over expected duplicates.
2017-09-23 23:00:29 -07:00
Mike McQuaid
a5b37e3b44 Merge pull request #3201 from MikeMcQuaid/git-coretap-tests
utils/git: don't fail when CoreTap is untapped.
2017-09-23 22:06:10 +01:00
Mike McQuaid
7f93d816a3 utils/git: don't fail when CoreTap is untapped.
This produces test failures on Linux where we intentionally avoid having
it tapped.
2017-09-23 21:53:20 +01:00
Mike McQuaid
182ed794bd Merge pull request #3200 from MikeMcQuaid/audit-el-capitan-vendor-ruby
audit: hack around El Capitan audit failure.
2017-09-23 21:25:05 +01:00
Mike McQuaid
56ab1ef5a8 audit: hack around El Capitan audit failure. 2017-09-23 21:10:25 +01:00
Mike McQuaid
6b3bb666e8 Merge pull request #3174 from sjackman/popen-options
popen: Do not suppress stderr when HOMEBREW_STDERR
2017-09-23 16:31:52 +01:00
Mike McQuaid
3343467475 Merge pull request #3189 from MikeMcQuaid/portable-ruby-messaging
portable-ruby: improve installation messaging.
2017-09-23 10:58:26 +01:00
Mike McQuaid
d7fbcc6211 Merge pull request #3190 from MikeMcQuaid/curl_https_fix
development_tools: fix curl https handling.
2017-09-23 10:58:10 +01:00
Mike McQuaid
478dc7cd31 Merge pull request #3188 from MikeMcQuaid/git-describe-tags-message
brew.sh: update no git repository message.
2017-09-23 10:57:48 +01:00
ilovezfs
352a8817e9 superenv: more help for Autotools with 10.13 SDK on 10.12
Add fmemopen and open_memstream to the list of ac_cv_func_*=no symbols
for 10.12 with the 10.13 SDK.
2017-09-22 17:10:40 -07:00
Mike McQuaid
046486900e Merge pull request #3186 from naoty/detect-failure-message
Add a failure message to be_detected_from matcher
2017-09-22 21:13:55 +01:00
Mike McQuaid
199aa956cc Merge pull request #3144 from GauthamGoli/audit_line_rubocop_more_tests
audit: Add more tests for FormulaAudit/Miscellaneous cop
2017-09-22 20:34:08 +01:00
Mike McQuaid
c4b6dbf653 Merge pull request #3185 from sjackman/vendor-ruby-linux
Upgrade vendored Ruby to 2.3.3 for Linux.
2017-09-22 16:05:58 +01:00
Mike McQuaid
0e766d00a5 development_tools: fix curl https handling.
`curl` can handle modern certificates _unless_ it is too old. This
broke `brew audit`'s HTTPS detection code.
2017-09-22 16:02:09 +01:00
Mike McQuaid
aa665b9458 portable-ruby: improve installation messaging.
- Use “Pouring” to be more consistent with our normal messaging.
- Don’t be silent by default.
2017-09-22 15:54:29 +01:00
Mike McQuaid
df7fb212c2 brew.sh: update no git repository message.
Clarify that this message doesn’t only trigger when there’s no Git
repository but also when there’s no tags that `git describe` can use.
2017-09-22 15:50:09 +01:00
Naoto Kaneko
5fa4d60c7b Replace String#% with Kernel.#format 2017-09-22 17:53:48 +09:00
Naoto Kaneko
557105640b Add a failure message to be_detected_from matcher 2017-09-22 16:57:27 +09:00
Shaun Jackman
353810d934 Upgrade vendored Ruby to 2.3.3 for Linux. 2017-09-21 17:02:42 -07:00
FX Coudert
fcb6b5c7aa os/mac: support macOS High Sierra (10.13). 2017-09-21 22:26:30 +01:00
Mike McQuaid
7d720e8fac Merge pull request #3164 from MikeMcQuaid/portable-ruby-2.3.3
Upgrade vendored Ruby to 2.3.3.
2017-09-21 15:32:41 +01:00
Mike McQuaid
b2b413165f Upgrade vendored Ruby to 2.3.3.
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux
portable Ruby for now until it's built to be the same version.
2017-09-21 14:27:17 +01:00