15308 Commits

Author SHA1 Message Date
Mike McQuaid
e893d13d20
Merge pull request #5462 from Homebrew/revert-5453-revert-5448-doctor-prefi
Revert "Revert "diagnostic: share prefix check""
2019-01-02 09:58:20 +00:00
Mike McQuaid
f47e148b91
Merge pull request #5465 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.27.1
Bump parallel_tests from 2.27.0 to 2.27.1 in /Library/Homebrew/test
2019-01-02 09:51:47 +00:00
dependabot[bot]
c04d9cf602
Bump rubocop from 0.61.1 to 0.62.0 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.1 to 0.62.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.1...v0.62.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 06:37:54 +00:00
dependabot[bot]
7c12d3dde1
Bump parallel_tests from 2.27.0 to 2.27.1 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.0...v2.27.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 06:37:36 +00:00
Jonathan Chang
9db92a0203
Revert "Revert "diagnostic: share prefix check"" 2019-01-01 18:11:59 -08:00
Chongyu Zhu
2181ea76c6
python_virtualenv_constants: upgrade virtualenv to 16.2.0 2019-01-01 18:21:23 +08:00
Mike McQuaid
61fa59e95b
Remove Travis CI specific code
We’re no longer using this for our CI so this is no longer necessary.

Also, migrate `brew tap-new` to use Azure pipelines.
2018-12-30 21:13:24 +00:00
Mike McQuaid
0de21812a7
Use Coveralls for coverage reporting. 2018-12-30 20:06:13 +00:00
Mike McQuaid
438939cea5
tests: delete HOMEBREW_INSTALL_CLEANUP for test consistency. 2018-12-30 20:05:29 +00:00
Mike McQuaid
e6f17f2316
Merge pull request #5451 from MikeMcQuaid/update-preinstall-exec
brew.sh: make update --preinstall exec.
2018-12-30 13:40:14 +00:00
Jonathan Chang
0a5fed1938
Revert "diagnostic: share prefix check" 2018-12-29 14:31:39 -08:00
Mike McQuaid
00dbb221b7
brew.sh: make update --preinstall exec.
This means that any new environment variables or changes to `bin/brew`
or `brew.sh` will be used in the new process. This also allows the
removal of various fallbacks from autoupdates from old versions.
2018-12-29 19:06:18 +00:00
Jonathan Chang
5a32ebb849
Merge pull request #5448 from jonchang/doctor-prefi
diagnostic: share prefix check
2018-12-28 14:49:45 -08:00
Mike McQuaid
f2e8cd4309
Merge pull request #5441 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/plist-3.5.0
Bump plist from 3.4.0 to 3.5.0 in /Library/Homebrew/vendor
2018-12-28 22:10:32 +00:00
Jonathan Chang
f1308332bc brew.sh: set correct log path [Linux] 2018-12-28 12:54:50 -08:00
Jonathan Chang
1e57725e8f update-test: fix for mkdir block form 2018-12-27 13:09:14 -08:00
Jonathan Chang
0d0eac8078 diagnostic: share prefix check 2018-12-27 11:23:18 -08:00
Andrew Janke
257e245944 Fix bogus comparison operation that was breaking error handling 2018-12-25 17:19:23 -05:00
Mike McQuaid
8dfafa783f
brew vendor-gems: commit updates. 2018-12-25 21:35:44 +00:00
dependabot[bot]
e4b1592c54
Bump unicode-display_width
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases)
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/master/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 06:49:53 +00:00
dependabot[bot]
b99ce4cb75
Bump plist from 3.4.0 to 3.5.0 in /Library/Homebrew/vendor
Bumps [plist](https://github.com/patsplat/plist) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/patsplat/plist/releases)
- [Changelog](https://github.com/patsplat/plist/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/patsplat/plist/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 06:49:51 +00:00
Mike McQuaid
f050e42d7d
Merge pull request #5430 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/i18n-1.3.0
Bump i18n from 1.2.0 to 1.3.0 in /Library/Homebrew/vendor
2018-12-23 19:48:36 +00:00
William Woodruff
b7d84f2d9e
build: Propagate entire ErrorDuringExecution
Fixes https://github.com/Homebrew/brew/issues/5427.
2018-12-23 11:26:12 -05:00
Mike McQuaid
537fe2d0f1
Merge pull request #5421 from smammy/5420-curl-use-GET-on-range-check
Allow incomplete downloads to be resumed even when server rejects HEAD requests
2018-12-23 12:03:05 +00:00
Mike McQuaid
a2f93fe018
hardware: tweak macOS CFLAGS.
- High Sierra and Sierra support Penryn CPUs.
- `-march` implies the relevant `-msse*` flags.
2018-12-22 11:41:49 +00:00
Mike McQuaid
c4c1830473
Merge pull request #5432 from MikeMcQuaid/brew-vendor-gems
Add `brew vendor-gems` command.
2018-12-22 11:13:22 +00:00
Sam Hathaway
6e603c2859 Use GET rather than HEAD when checking for range support in curl_download.
* Some HTTP servers apparently support ranges but don't support HEAD.
   * This is a more realistic check anyway since the actual download request
     will use GET (not HEAD).
   * This fixes Homebrew/brew#5420.
2018-12-21 15:11:26 -05:00
Mike McQuaid
390a7f5447
Add brew vendor-gems command.
This simplifies the process of vendoring gems given `Gemfile` or
`Gemfile.lock` changes.
2018-12-21 20:09:08 +00:00
dependabot[bot]
942b98b51b
Bump unicode-display_width from 1.4.0 to 1.4.1 in /Library/Homebrew/test
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases)
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/master/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-21 14:34:15 +00:00
Mike McQuaid
0204a38f0c
brew vendor-gems: commit updates. 2018-12-21 10:54:26 +00:00
dependabot[bot]
f287c3240e
Bump i18n from 1.2.0 to 1.3.0 in /Library/Homebrew/vendor
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/svenfuchs/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-21 05:16:44 +00:00
Mike McQuaid
04fbdce3bb
hardware: use Nehalem flags on >= Sierra.
See https://en.wikipedia.org/wiki/MacOS_Sierra#System_requirements.
2018-12-20 20:10:54 +00:00
Mike McQuaid
e6e534157c
ENV/super: copy Hackintosh comment from ENV/std. 2018-12-20 20:09:45 +00:00
Shaun Jackman
a2b4d4aac2
Merge pull request #5416 from sjackman/env-std
setup_build_environment: Set search path [Linux]
2018-12-18 08:13:20 -08:00
Mike McQuaid
e3a7ba441b
Merge pull request #5362 from kabel/dedup-curl-head
Resource, CurlDownloadStrategy: Deduplicate the curl HEAD requests
2018-12-18 15:28:11 +00:00
Mike McQuaid
149ded30aa
Merge pull request #5417 from vitorgalvao/cask-malware
Cask: remove malware caveat
2018-12-18 08:13:58 +00:00
Vítor Galvão
55084dd8ab Cask: remove malware caveat 2018-12-18 02:29:27 +00:00
Shaun Jackman
e1b1448fbd setup_build_environment: Set search path [Linux]
Set the header and library search path for Stdenv.
Fix brew test for Linux, which uses Stdenv.
2018-12-17 15:04:18 -08:00
Mike McQuaid
6119c78c5c
Cleanup other vendored gems.
Exclude subdirectories and specific files. This makes adding/removing files on newly vendored versions much easier.
2018-12-17 13:27:41 +00:00
Mike McQuaid
1903a8bfb0
vendor/bundle/config: always cleanup. 2018-12-17 13:27:41 +00:00
Mike McQuaid
5fb9c255a5
i18n: vendor gem. 2018-12-17 13:27:40 +00:00
dependabot[bot]
aaabb81fea
Bump i18n from 1.1.1 to 1.2.0 in /Library/Homebrew/vendor
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/svenfuchs/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.1.1...v1.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 06:00:51 +00:00
Kevin Abel
8fddd87472
Resource, CurlDownloadStrategy: Deduplicate the curl HEAD requests
Fixes #5357

* Eliminates getting a new strategy instance via Resource methods
* only call resolve_url_basename_time once and store the time result as
an instance variable for reuse
2018-12-16 13:56:58 -06:00
Mike McQuaid
92fdcae23b
Vendor concurrent-ruby-1.1.4. 2018-12-16 12:16:58 +00:00
dependabot[bot]
e3c2ad3812
Bump concurrent-ruby from 1.1.3 to 1.1.4 in /Library/Homebrew/vendor
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-15 19:28:18 +00:00
Bryce Glover
33c3faa125 [JavaRequirement#satisfies_version] java_version_s: Fix regular expression.
The match obtained by applying the regular expression used to index into
the `stderr` member of the result of calling `system_command` in the relevant
variable assignment could yield unexpected results.  The regular expression in-
volved was not strict enough and contained an unescaped period, which could
match any character, not just the expected literal decimal point.  This commit
corrects this oversight by escaping the relevant character, thus addressing
@apjanke's remark in https://github.com/Homebrew/brew/pull/5280#issuecomment-437165119 on the existence of a:

> …possible bug - that `.` looks like it should be escaped as `\.` to match a
> literal ".".) …
2018-12-14 13:45:55 -05:00
Mike McQuaid
a4eaae367b
Merge pull request #5401 from vitorgalvao/cask-audit-homepage
Cask: use browser user agent when checking for homepage HTTPS availability
2018-12-14 15:02:56 +00:00
Shaun Jackman
d75f5dacfa test: Fix ENV.cxx11
ENV.cxx11 in a test block fails on Linux with
Error: ibex: failed
An exception occurred within a child process:
NoMethodError: undefined method `non_apple_gcc_version'
See for example brew test ibex on Linux.
2018-12-13 15:46:12 -08:00
Vítor Galvão
b33d29f49a Cask: use browser UA when checking for homepage HTTPS availability 2018-12-13 15:24:40 +00:00
Shaun Jackman
f59c417909 test/cmd/uninstall: Prevent can't modify frozen object
Fix the error:
  RuntimeError:
    can't modify frozen object
  # ./test/cmd/uninstall_spec.rb:63:in `block (3 levels) in <top (required)>'

This issue arose after merging PR https://github.com/Homebrew/brew/pull/5300.
2018-12-12 11:52:28 -08:00