16125 Commits

Author SHA1 Message Date
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
Chongyu Zhu
6f8d81e780
GitDownloadStrategy: disable automatic tag following 2018-12-12 19:42:12 +08:00
Gautham Goli
cffa796634
cleanup: Use CLI::Parser to parse args 2018-12-12 02:02:19 +05:30
Mike McQuaid
dbc43a7a2b
Merge pull request #5300 from GauthamGoli/uninstall-args
uninstall: Use CLI::Parser to parse args
2018-12-11 08:49:22 +00:00
Mike McQuaid
454b7e93ae
Merge pull request #5393 from sjackman/superenv
shims/super/cc: Add HOMEBREW_CACHE to white list
2018-12-11 08:48:23 +00:00
Gautham Goli
78b2b7fac0
Merge pull request #5270 from GauthamGoli/info-args
info: Use CLI::Parser to parse args
2018-12-11 11:10:18 +05:30
Shaun Jackman
b40849421c shims/super/cc: Add HOMEBREW_CACHE to white list
Compiling rust projects requires -I$HOMEBREW_CACHE/cargo_cache/...
2018-12-10 12:33:54 -08:00
Shaun Jackman
8461cf24f1 rubocop: Use include? rather than match 2018-12-10 10:23:39 -08:00
Gautham Goli
f82a202995
uninstall: Use CLI::Parser to parse args 2018-12-10 23:49:19 +05:30
Gautham Goli
3b808c43cc
info: Use CLI::Parser to parse args 2018-12-10 23:22:13 +05:30
Mike McQuaid
f15f665b98
audit: ensure postgresql previous version exists.
This will avoid https://github.com/Homebrew/homebrew-core/issues/34879
in future.
2018-12-09 19:31:19 +00:00
Mike McQuaid
38493a35a2
Merge pull request #5373 from EricFromCanada/man-page-text
docs: update other man page sections
2018-12-07 15:00:49 +00:00
Mike McQuaid
ab0b2304f7
audit: allow {open,libre}ssl@* to use :provided_by_macos. 2018-12-07 10:27:17 +00:00
Mike McQuaid
2a346241c2
link: prevent :provided_by_macos links everywhere.
We've not seen complaints about these and they are the default behaviour
on High Sierra and Mojave so it's easier to apply them consistently
everywhere.
2018-12-06 13:59:28 +00:00
Mike McQuaid
864a6b53d3
Merge pull request #5381 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.61.1
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/test
2018-12-06 08:59:02 +00:00
dependabot[bot]
45dc521de7
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.0 to 0.61.1.
- [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.0...v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 08:21:00 +00:00
dependabot[bot]
e73d307915
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.0 to 0.61.1.
- [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.0...v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 08:20:40 +00:00
Mike McQuaid
db6bdf4375
Merge pull request #5371 from vitorgalvao/remove-cask-sha256-only-check
Cask: Remove check on sha-only change
2018-12-05 20:59:17 +01:00
Mike McQuaid
a6b5f7f7e1
Merge pull request #5378 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.0
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/vendor
2018-12-05 17:55:09 +01:00
Mike McQuaid
2d2b86ba84
Merge pull request #5377 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.61.0
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/test
2018-12-05 17:54:57 +01:00
Mike McQuaid
6930af0634
Merge remote-tracking branch 'origin/master' into dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.0 2018-12-05 16:33:15 +00:00
Mike McQuaid
9347c0272a
Vendor concurrent-ruby 1.1.3. 2018-12-05 16:32:24 +00:00
dependabot[bot]
2110641b4c
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.60.0 to 0.61.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.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-05 12:44:28 +00:00
dependabot[bot]
1d46a5cee3
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.60.0 to 0.61.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.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-05 12:44:21 +00:00
Markus Reiter
bcf8cfc97c Remove atomic_write workaround. 2018-12-05 02:09:20 +01:00
Markus Reiter
7129a4852a Update activesupport to 5.2.2. 2018-12-05 02:09:20 +01:00
Markus Reiter
26e7820943 Update concurrent-ruby to 1.1.3. 2018-12-05 02:09:20 +01:00
Shaun Jackman
81021e6a60
Merge pull request #5365 from iMichka/bottle
brew bottle --keep-old: Combining :any and :any_skip_relocation yields :any
2018-12-04 08:56:14 -08:00
EricFromCanada
799086f548 docs: update man page text 2018-12-04 10:47:38 -05:00
Michka Popoff
af92fe2f17 bottle: Fix bottling for Linux
When there is no previous linux bottle, and the bottle block looks like this:
bottle do
  sha256 "5cbcce4556b41ece91f01778068f481514bc3a0d5447ddbff048797236cc9b29" => :mojave
  sha256 "15748ef1ffefa088f7c958e6935c6eec794781858e6190196e18e94ab768adc2" => :high_sierra
  sha256 "49eb0e5d27b8868b2dba20efbde3ef75becc0cbf5ea230c00e5745e2df697cb6" => :sierra
end

then the bottling fails with:
Error: --keep-old was passed but there are changes in:
cellar: old: "/home/linuxbrew/.linuxbrew/Cellar", new: :any_skip_relocation
==> FAILED

This change allows to run the bottling step for these cases.
2018-12-03 23:34:26 +01:00
Vítor Galvão
dff0320f8c Cask: Remove check on sha-only change 2018-12-03 17:13:09 +00:00
Shaun Jackman
79b1d4178e bottle: Ignore matches to source code
Ignore matches to source code, which is not required at run time.
These matches may be caused by debugging symbols.
2018-12-03 08:22:29 -08:00
Shaun Jackman
704e8570e5
Merge pull request #5366 from sjackman/bottle
bottle: Skip matches to files in build deps
2018-12-03 08:00:24 -08:00
Shaun Jackman
b76f523b95
Merge pull request #5367 from sjackman/gcc-8
Add shims/super/gcc-8 and shims/super/g++-8
2018-12-03 07:52:46 -08:00