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
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