Mike McQuaid
296a44195b
Merge pull request #3176 from sjackman/bottle-formula
...
BottleLoader: Use the formula stored in the bottle
2017-09-29 13:59:52 +01:00
Mike McQuaid
978bd61f58
Merge pull request #3230 from maxim-belkin/stop-early
...
install.rb: stop early when there are no formulae to be installed
2017-09-29 13:57:28 +01:00
Markus Reiter
22e329fb02
Merge pull request #3195 from reitermarkus/fix-language_eval
...
Fail if no default language is specified.
2017-09-29 12:13:28 +02:00
Markus Reiter
d07b6b6134
Merge pull request #3221 from yzguy/asmith/cask-language-manpage
...
add --language to brew-cask manpage
2017-09-29 11:54:23 +02:00
Markus Reiter
a750644b92
Fail if no default language is specified.
2017-09-29 11:47:21 +02:00
Markus Reiter
479544665b
Support UN M.49 region codes.
2017-09-29 11:41:23 +02:00
Adam Smith
9383063216
add --language to brew-cask manpage
2017-09-28 20:02:24 -07:00
Shaun Jackman
c19cc70ac8
FormulaInstaller: Warn when tap version is newer
...
Warn if a more recent version of this formula is available in the tap.
2017-09-28 12:29:23 -07:00
Shaun Jackman
2e77de3b58
Fix installing a local bottle from source
...
Factor Utils::Bottles.formula_contents out of BottleLoader.
2017-09-28 12:29:23 -07:00
Shaun Jackman
3ed832d4f0
BottleLoader: Use the formula stored in the bottle
2017-09-28 12:29:23 -07:00
Shaun Jackman
9642ec769e
testball_bottle-0.1: Add the formula to the bottle
...
Update the SHA-256.
2017-09-28 12:29:23 -07:00
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