13054 Commits

Author SHA1 Message Date
ilovezfs
733d485065 superenv: help Autotools with 10.13 SDK on 10.12
The GNU Autotools tests for whether futimens and utimensat are available
reliably come to incorrect conclusions on 10.12 with the 10.13 SDK in
Xcode 9. This overrides its decisions by forcing the right answer
in superenv using ac_cv_func_* environment variables and setting them to
"no" on 10.12.
2017-09-21 04:11:34 -07:00
Shaun Jackman
2f6b8dcf68 describe_java: Suppress stderr
Suppress the error message:
Unable to find any JVMs matching version "(null)".
2017-09-20 13:25:37 -07:00
Shaun Jackman
8bb57187ab locate: Suppress stderr
Suppress the error message:
xcrun: error: unable to find utility "gcc-4.0", not a developer tool or in PATH
2017-09-20 13:25:37 -07:00
Shaun Jackman
58a1bd6dbf popen: Do not suppress stderr when HOMEBREW_STDERR 2017-09-20 13:25:36 -07:00
Shaun Jackman
8bf28477a3 popen: Add an options argument
Useful for selectively enabling or silencing stderr, for example.
popen_read("foo", err: :err)
2017-09-20 13:25:29 -07:00
ilovezfs
5d888c08a3 Merge pull request #3173 from Homebrew/revert-3099-popen_read_stderr
Revert "popen: Do not suppress stderr"
2017-09-20 09:52:55 -07:00
Gautham Goli
17e2753053 audit: Use version pinned by brew while executing rubocop cli 2017-09-20 13:26:50 +05:30
ilovezfs
6fb9fed693 Revert "popen: Do not suppress stderr" 2017-09-19 07:40:29 -07:00
Mike McQuaid
c8f3b1d37c linkage_checker: tweak headers wording.
It's helpful to note that the undeclared/unnecessary dependencies are
done based on linkage alone.
2017-09-19 10:54:50 +01:00
ilovezfs
204f370491 Revert "Add check for HEAD ref in diagnostics" 2017-09-18 14:49:10 -04:00
ilovezfs
8b91018c70 Revert "diagnostic: don't check CI core branch."
This reverts commit cb5b14307ca4640e1ba68cfd28e7fef34a3b771b.
2017-09-18 14:49:10 -04:00
ilovezfs
6fab5b0976 Revert "diagnostic: also don't check Jenkins core branch."
This reverts commit db41f9d1182ff8c4c3b42b458e38d5c58b496ffb.
2017-09-18 14:49:10 -04:00
Mike McQuaid
81d9f71edb Merge pull request #3103 from maxim-belkin/extraneous_deps
linkage_checker: add a check for extraneous dependencies
2017-09-18 19:28:19 +01:00
Mike McQuaid
6bde1de309 Merge pull request #3099 from sjackman/popen_read_stderr
popen: Do not suppress stderr
2017-09-18 19:22:17 +01:00
Gautham Goli
626cb6ca91 audit: Add more tests for FormulaAudit/Miscellaneous cop 2017-09-18 18:03:54 +05:30
Markus Reiter
dbc4a385b9 Merge pull request #2878 from wendorf/brew_cask_list_full-name
List cask full-names
2017-09-17 04:03:56 +02:00
Markus Reiter
e537db28cb Merge pull request #3160 from reitermarkus/missing-method
Add missing `summarize` method.
2017-09-17 04:01:32 +02:00
Dan Wendorf
acf1b278ae List cask full-names
`brew cask list` supports the `--full-name` flag which will include the tap
name for casks not part of the core caskroom/cask tap. For example, if
cask "foo-beta" is installed from the caskroom/versions cask, `brew cask
list --full-name` will report the name as "caskroom/versions/foo-beta".
2017-09-16 10:00:06 -07: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
Markus Reiter
e336239829 Add missing summarize method. 2017-09-16 03:36:39 +02: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
Maxim Belkin
f2531d1290
linkage_checker: unnecessary dependencies
- rename 'extraneous' to 'unnecessary'
- add the report under `linkage --test`
2017-09-11 09:40:23 -05:00
Maxim Belkin
049a453b46
linkage_checker: avoid some false positives 2017-09-11 09:40:23 -05:00
Maxim Belkin
0037d5e2b3
linkage_checker: fix style 2017-09-11 09:40:23 -05:00
Maxim Belkin
6c962c2a5b
linkage_checker: check for extraneous dependencies 2017-09-11 09:40:22 -05: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