14197 Commits

Author SHA1 Message Date
Mike McQuaid
c529ad75ab
Merge pull request #4465 from MikeMcQuaid/mktemp
mktemp: move to Formula and compat.
2018-07-13 19:22:41 +01:00
Mike McQuaid
0a76c9f02e mktemp: move to Formula and compat.
Move this method away from FileUtils as it doesn't need to be on that
class.
2018-07-13 14:42:49 +01:00
Mike McQuaid
9b86ff6214 ruby.sh: cleanup gems on portable Ruby installation.
This avoids `brew style` and friends from getting upset when they
attempt to use the native gem extensions from a previous portable Ruby
or a system Ruby.

ABI? What's that?
2018-07-13 14:37:12 +01:00
Mike McQuaid
fed404b9be
Merge pull request #4460 from DomT4/cores
hardware: add dodeca-core for 2018 MBPs
2018-07-13 14:14:18 +01:00
Dominyk Tiller
be2dd62869
xcode: update expected Clang on 10.14 2018-07-13 10:50:54 +01:00
Dominyk Tiller
92c6e72a4a
hardware: add dodeca-core for 2018 MBPs 2018-07-13 10:50:30 +01:00
Mike McQuaid
62f8c96bdb test/cask/cli_spec: temporary skip some tests.
These seem to be related to a leaking RSpec double between tests and
I've verified `brew cask install` still behaves as expected so
let's skip them temporarily.
2018-07-13 09:14:40 +01:00
Mike McQuaid
cc554c4ba1 extend/os/linux/hardware/cpu: return :dunno more often.
This matches the behaviour described in the test and on macOS.
2018-07-13 08:54:47 +01:00
Mike McQuaid
c3f8ffbb10 extend/fileutils: fix monkeypatch.
Otherwise using the options argument or relying on a result means this
method will fail. This is why monkeypatching sucks.

CC @reitermarkus as we've talked about monkeypatching recently.
2018-07-13 08:22:33 +01:00
Mike McQuaid
e1eb7dd3e3 Use Ruby 2.3.7
Fixes #4459.
2018-07-13 08:22:33 +01:00
commitay
1f115fa2f5
Merge pull request #4456 from commitay/optional-reqs
audit: check for optional and recommended requirements on new formulae
2018-07-13 10:04:15 +10:00
commitay
ee7c3ce7e3
Merge pull request #4420 from commitay/bottle
audit: ensure `bottle` is defined
2018-07-13 10:04:02 +10:00
Mike McQuaid
3e85afc8b7
Merge pull request #4382 from sjackman/keg_relocate
Relocate bottles on Linux using patchelf
2018-07-12 20:33:58 +01:00
Mike McQuaid
5f5e2c7eaa
Merge pull request #4380 from maxim-belkin/fix-cccfgfgccfg
Properly append values to HOMEBREW_CCCFG
2018-07-12 20:33:44 +01:00
Markus Reiter
aa3a369874
Merge pull request #4402 from reitermarkus/separate-staging
Separate staging from download.
2018-07-12 21:28:18 +02:00
Mike McQuaid
4fe0adf587
shared: fix HOMEBREW_CCCFG reference. 2018-07-12 19:59:06 +01:00
Mike McQuaid
0367b7c330
Merge pull request #4381 from maxim-belkin/make-shim-linux
Add make shim to Linux super env
2018-07-12 19:57:54 +01:00
Shaun Jackman
1b688a3a25 Relocate bottles on Linux using patchelf
Ensure patchelf is installed to pour bottles and build bottles.
2018-07-12 10:21:26 -07:00
Maxim Belkin
67ea581e4a
extend/ENV/shared.rb: [new method] append_to_cccfg
append_to_cccfg properly appends values to HOMEBREW_CCCFG variable
2018-07-12 12:20:38 -05:00
Maxim Belkin
bb82f05952
Properly append values to HOMEBREW_CCCFG 2018-07-12 12:19:04 -05:00
Markus Reiter
9b4e32322a xar is only pre-installed on macOS. 2018-07-12 10:39:28 +02:00
Markus Reiter
cba55c8fd4 Add @ref_type and @ref needef for fossil. 2018-07-12 10:39:28 +02:00
Markus Reiter
5dfa4ded43 Reuse UncompressedUnpackStrategy#extract_to_dir. 2018-07-12 10:39:28 +02:00
Markus Reiter
ec7e22e16f Fix XzUnpackStrategy. 2018-07-12 10:39:28 +02:00
Markus Reiter
633c590aac Refactor unpack strategy specs. 2018-07-12 10:39:27 +02:00
Markus Reiter
8ea7ad2218 Fix basename_without_params. 2018-07-12 10:39:27 +02:00
Markus Reiter
bf856117ba Allow unused keyword arguments. 2018-07-12 10:39:27 +02:00
Markus Reiter
5b3bbb76c9 Separate staging from download. 2018-07-12 10:39:27 +02:00
Mike McQuaid
4ffc8b137b
Merge pull request #4281 from mistydemeo/fix_unparsed_clang_exception
Xcode: fix version detection with unknown clang
2018-07-12 09:35:57 +01:00
Mike McQuaid
459e2bfa48
Merge pull request #4455 from reitermarkus/heredocs
Use more descriptive heredoc names.
2018-07-12 09:30:35 +01:00
commitay
ab8054482b audit: check for optional and recommended requirements on new formulae 2018-07-12 10:14:07 +10:00
Markus Reiter
7762ce32aa Use more descriptive heredoc names. 2018-07-11 18:15:30 +02:00
Markus Reiter
20ec595cb2 Fix Installer not supporting plain executables. 2018-07-11 16:56:37 +02:00
Markus Reiter
05cb6cda08 Add Installer spec. 2018-07-11 16:46:33 +02:00
Markus Reiter
44400db00a Don't let install_phase fail. 2018-07-11 16:46:33 +02:00
Markus Reiter
37f3a603ce Use env utility instead of with_env. 2018-07-11 16:46:33 +02:00
Markus Reiter
ae38c5d6d1 Fix SystemCommand PATH. 2018-07-11 15:58:38 +02:00
Markus Reiter
1f5311888e Add failing spec for SystemCommand. 2018-07-11 15:58:38 +02:00
Markus Reiter
4e49e8de0d Fix SystemCommand :path. 2018-07-11 15:58:38 +02:00
Mike McQuaid
2e9d843bb7
Merge pull request #4450 from MikeMcQuaid/no-really-no-beta-support
diagnostic: be clearer about what we support.
2018-07-11 14:48:37 +01:00
Mike McQuaid
33dd2a7e03 diagnostic: be clearer about what we support.
And be even more explicit whose problem it is when things are broken.
2018-07-11 14:12:38 +01:00
Mike McQuaid
c7f3ed46e9
Merge pull request #4449 from MikeMcQuaid/bintray-fallback
global: handle HOMEBREW_BOTTLE_DOMAIN fallback.
2018-07-11 11:44:55 +01:00
Markus Reiter
c51189ae0e
Merge pull request #4363 from reitermarkus/external-cask-commands
Simplify and fix external `brew cask` command detection.
2018-07-11 11:26:40 +02:00
Markus Reiter
98bb073b46
Merge pull request #4265 from claui/fix-pkg-environment
Fix PKG installer environment
2018-07-11 08:25:19 +02:00
Mike McQuaid
f080ebebbb global: handle HOMEBREW_BOTTLE_DOMAIN fallback.
If users have auto-updated then these variables may not be set.
2018-07-10 21:58:20 +01:00
ilovezfs
0aab25bdb3
Merge pull request #4406 from commitay/python-3.7
language/python, docs: updates for python 3.7
2018-07-10 10:10:25 +01:00
ilovezfs
24d7f41258
Merge pull request #4446 from MikeMcQuaid/tab-handle-json-parser-error
tab: if parsing JSON fails output the filename.
2018-07-10 10:08:29 +01:00
ilovezfs
3d3c462bff
tab_spec: fix typo 2018-07-10 08:55:50 +00:00
Mike McQuaid
7cc970fea2 link: refactor, reorder and fix bugs.
The change in #4441 broke the handling of the `elsif`s due to the
change in logic. As every block here has a `next` there's no need to do
an `elsif` in here at all. Additionally, reorder the conditions in here
so you get an appropriate message depending on what you're trying to do.
Finally, tweak some of the messaging to remove things that are ignored
and tell people correct commands to run to link things.
2018-07-10 09:32:42 +01:00
Mike McQuaid
d49566ba06 tab: if parsing JSON fails output the filename.
This should make it easier to debug and resolve things like #4439.
2018-07-10 09:29:26 +01:00