11646 Commits

Author SHA1 Message Date
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
ilovezfs
01f52f54e3 keg_relocate: treat .lai files as libtool files.
Previously .lai files only had their locations replaced with
placeholders if /usr/bin/file recognized them as ASCII files, which is
only the case on macOS Sierra and above.
2017-09-16 07:04:26 -07:00
Mike McQuaid
ffdda0eb9f Tweaks for older Mac OS X versions.
- `brew update` should try to install `curl` before `git` on older
  versions of Mac OS X where it is needed for accessing modern SSL
  certificates.
- We don't need an HTTP mirror for `git` because `curl` will already be
  installed before it is downloaded.
- Don't recommend GCC on Mac OS X versions where it can't be built with
  the default system compiler.
- Start using the Homebrew `curl` on Mac OS X versions where it is
  needed as soon as it is installed.
2017-09-16 12:41:08 +01:00
Mike McQuaid
c0063bb827 Merge pull request #3156 from MikeMcQuaid/allow-developer-custom-ruby
os/mac/diagnostic: allow custom Ruby for devs.
2017-09-15 11:26:02 +01:00
Mike McQuaid
2e43d95498 audit: fix check_http_content args. 2017-09-15 10:17:40 +01:00
Mike McQuaid
dce8938373 Merge pull request #3151 from MikeMcQuaid/audit-more-http
Require more HTTP mirrors for old OS X versions.
2017-09-15 09:44:47 +01:00
Mike McQuaid
e12d2746b6 os/mac/diagnostic: allow custom Ruby for devs.
This avoids `brew doctor` warnings on High Sierra but in general this is
a good idea for future versions and to allow Homebrew developers to test
things out with different versions of Ruby.
2017-09-15 08:06:58 +01:00
Mike McQuaid
03ace9b110 Require more HTTP mirrors for old OS X versions.
This allows the bootstrap of `curl` and `git` on versions of Mac OS X
that cannot reliably download from HTTPS servers any longer. Once these
are both installed users are able to update Homebrew and download files
securely.

Also, as we're doing this, don't point 10.5 users to Tigerbrew as they
are already given caveats for using Homebrew itself.
2017-09-14 19:58:37 +01:00
Markus Reiter
aeab09169f Merge pull request #3147 from reitermarkus/cask-irb
Always load Cask in `brew irb`.
2017-09-14 05:55:52 +02:00
Dominyk Tiller
1dfde95cb6
mac/xcode: update expected Clang on 10.13 2017-09-13 02:34:23 +01:00
Mike McQuaid
ef60688704 Merge pull request #3126 from DomT4/curl_audit
audit: stop demanding a HTTP HEAD mirror for curl
2017-09-12 15:48:11 +01:00
Markus Reiter
57608170b2 Fix method name. 2017-09-12 09:36:07 +02:00
Markus Reiter
becd8d8bc4 Merge pull request #3148 from reitermarkus/uninstall-signal
Fix uninstall with `:signal`.
2017-09-12 04:18:56 +02:00
Markus Reiter
76cb1462d4 Fix uninstall with :signal. 2017-09-12 01:25:14 +02:00
Markus Reiter
ae27cd7f79 Always load Cask in brew irb. 2017-09-11 09:09:05 +02:00
Markus Reiter
ef67b77d95 Make Cask commands fail early if a Cask is not found. 2017-09-11 09:04:51 +02:00
Markus Reiter
b0c98ba631 Fix _stanza. 2017-09-10 23:12:32 +02:00
Markus Reiter
53ecdd843f Treat every Artifact instance as a single artifact. 2017-09-10 23:12:32 +02:00
Markus Reiter
5bcce735dd Merge pull request #3143 from jsoref/spelling
Spelling
2017-09-10 23:11:01 +02:00
Markus Reiter
194a2c2ade Make brew cask search spec deterministic. 2017-09-10 21:56:25 +02:00
Markus Reiter
455ec4c9b0 Merge pull request #3142 from reitermarkus/curl-full-download
Let `curl_download` handle HTTP 416 error.
2017-09-10 21:47:36 +02:00
Josh Soref
8e4150b20b spelling: should 2017-09-10 16:42:24 +00:00
Josh Soref
44c56cd9a8 spelling: separated 2017-09-10 16:42:10 +00:00
Josh Soref
130fec0831 spelling: preserves 2017-09-10 16:40:29 +00:00
Josh Soref
ce45591981 spelling: perform 2017-09-10 16:40:18 +00:00
Josh Soref
b9a33b03a4 spelling: parameters 2017-09-10 16:39:18 +00:00
Josh Soref
ca32ece84e spelling: packages 2017-09-10 16:39:03 +00:00
Josh Soref
a337620d97 spelling: omitted 2017-09-10 16:38:28 +00:00
Josh Soref
70ce9fe7f9 spelling: intermediate 2017-09-10 16:35:30 +00:00
Josh Soref
1fe2ade15c spelling: incomplete 2017-09-10 16:35:11 +00:00
Josh Soref
fe21cfdefd spelling: does 2017-09-10 16:32:09 +00:00
Josh Soref
4806b35e27 spelling: directories 2017-09-10 16:31:56 +00:00
Josh Soref
08e53870a6 spelling: definitions 2017-09-10 16:31:02 +00:00
Josh Soref
7b1cf6df5a spelling: comparison 2017-09-10 16:30:30 +00:00
ilovezfs
732bf2212d build: fix HOMEBREW_FORMULA_PREFIX for head
so that it includes the commit.
2017-09-10 02:51:16 -07:00
Markus Reiter
1f66c9c9e0 Let curl_download handle HTTP 416 error. 2017-09-10 07:23:18 +02:00
ilovezfs
a4c5e64da4 Revert "mach: Avoid reopening the file for relocation" 2017-09-08 12:32:32 -07:00
William Woodruff
a77a1f949a Merge pull request #3101 from woodruffw/macho-use-object
mach: Avoid reopening the file for relocation
2017-09-08 14:30:23 -04:00
Mike McQuaid
929edca531 Merge pull request #3061 from mislav/hub-fork-forward-compat
bump-formula-pr: forward compatibility with `hub fork`
2017-09-08 18:46:07 +01:00
Mike McQuaid
4ef03223e0 Merge pull request #3135 from alyssais/core_tap_output
Always output when tapping core
2017-09-08 16:29:22 +01:00
Mike McQuaid
72251e7bc1 Merge pull request #3122 from vszakats/patch-1
git_spec.rb: use HTTPS for Git remote test
2017-09-08 16:28:21 +01:00
Mike McQuaid
49d2d7b94d home_spec: use different test formula.
Instead of `testball` use a formula named `testballhome` to avoid this
clashing with any other formula named testball.
2017-09-07 19:18:03 +01:00
Alyssa Ross
b6d36003b3
Always output when tapping core
Hiding all output makes it look like Homebrew is hanging while the tap
operation (which can take a long time!) is running.

Closes #3053.
2017-09-07 12:12:22 +01:00
Viktor Szakats
a6d1ddf326 git_spec.rb: use HTTPS for Git remote test 2017-09-07 08:02:05 +00:00
Mike McQuaid
bf0ab938e7 Merge pull request #3091 from GauthamGoli/audit_line_rubocop_part_3
audit: Port line_problems to rubocop and add tests part 3
2017-09-05 18:10:02 +01:00
Mike McQuaid
4cc8d4737b Merge pull request #2982 from GauthamGoli/audit_class_rubocop_port
audit: Port audit_class to rubocop, add tests and autocorrect
2017-09-05 18:07:25 +01:00
Dominyk Tiller
9562cceef1
audit: stop demanding a HTTP HEAD mirror for curl
Not sure if this is how you want to handle it but having a HEAD mirror
for `curl` is just silliness.

Ref: e36b95849a
2017-09-05 03:35:44 +01:00
Dominyk Tiller
9899a5d0a8
mac/hardware/cpu: recognise Kaby Lake
The 2017 MacBook Pro line shipped with Kaby Lake CPUs.
2017-09-05 03:16:18 +01:00
Gautham Goli
d45ff9c0fd audit: Add a global flag to silent warning when auditing 2017-09-04 23:57:09 +05:30
Gautham Goli
4ec26aea40 audit: Port audit_class to rubocop, add tests and autocorrect 2017-09-04 23:43:42 +05:30