14395 Commits

Author SHA1 Message Date
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
cd1cb7080d Merge pull request #3203 from ilovezfs/online-science-dupes-are-not-dupes
audit: also skip homebrew/science duplicates found by search_taps
2017-09-24 00:53:24 -07: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
4f9c7cab76 Merge pull request #3202 from ilovezfs/science-dupes-are-not-dupes
audit: don't check for homebrew/science duplicates
2017-09-23 23:35:53 -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
804d6880dd Merge pull request #3196 from ilovezfs/ac_cv_xcode9-2
superenv: more help for Autotools with 10.13 SDK on 10.12
2017-09-22 18:13:22 -07: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
FX Coudert
064c52efc4 Merge pull request #3121 from fxcoudert/highsierra
Support High Sierra
2017-09-22 10:16:46 +02: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
05bb3532fc Merge pull request #3182 from ilovezfs/ac_cv_xcode9
superenv: help Autotools with 10.13 SDK on 10.12
1.3.3
2017-09-21 06:12:22 -07: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
Mike McQuaid
f343aabd2e Merge pull request #3179 from GauthamGoli/rubocop_cli_version
audit: Use version pinned by brew while executing rubocop cli
2017-09-20 17:05:36 +01:00
Gautham Goli
17e2753053 audit: Use version pinned by brew while executing rubocop cli 2017-09-20 13:26:50 +05:30
Mike McQuaid
b93fa96ec8 Merge pull request #3171 from MikeMcQuaid/linkage-tweak-naming
linkage_checker: tweak headers wording.
2017-09-19 21:34:07 +01:00
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
2056cd2c90 Merge pull request #3162 from ilovezfs/keg-relocate-lai
keg_relocate: treat .lai files as libtool files.
2017-09-16 07:44:17 -07:00