15259 Commits

Author SHA1 Message Date
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
Mike McQuaid
b34994b085
.rubocop.yml: brew style fixes.
- uncomment `ModuleLength` disable.
- don't enforce hash rockets for external commands
2018-12-03 13:23:20 +01:00
Shaun Jackman
6d90c81a79 Add shims/super/gcc-8 and shims/super/g++-8 2018-12-02 14:13:24 -08:00
Shaun Jackman
cbeb077b2e bottle: Skip matches to files in build deps
Files in build dependencies are not required at run time.
2018-12-02 13:29:43 -08:00
Bryce Glover
387fb2fde0 man: Mention neither HOMEBREW_DEBUG_INSTALL nor HOMEBREW_DEBUG_PREFIX any
more.

     `brew`'s `man` page's 'ENVIRONMENT' section is intended to list only those
environment variables that users can set, not any that Homebrew sets as part of
its operation.
2018-11-30 13:00:10 -05:00
Shaun Jackman
c79deae996
Merge pull request #5333 from sjackman/java-home
Fix Language::Java::java_home_cmd for Linux
2018-11-30 08:10:47 -08:00
Mike McQuaid
5758c93667
Merge pull request #5358 from MikeMcQuaid/diagnostic-xcode-prefix
os/mac/diagnostic: output non-default Xcode prefix.
2018-11-30 16:27:03 +01:00
Shaun Jackman
e8b22690a0 Fix Language::Java::java_home_env for Linux
/usr/libexec/java_home is specific to macOS.
Language::Java::java_home_cmd is not implemented on Linux and raises
NotImplementedError.

Add private Language::Java::java_home_shell and use it instead of java_home_cmd.
Add public Language::Java::java_home for use by formulae.
2018-11-29 12:50:31 -08:00
Claudia
5be80a78f6
Use Homebrew-controlled domain for Cask dummy URLs
In a number of Cask specs, the value of the `homepage` stanza is currently set
to https://example.com. As of 2018-11-28, the TLS certificate served by
example.com seems to be expired, possibly due to an oversight on ICANN’s side.

While the certificate is certainly going to be renewed soon, it would be
desirable for Homebrew’s test result to be less dependent on ICANN’s actions.
This commit changes the homepages of all test Casks to http://brew.sh, whose
domain and TLS certificate are both controlled by Homebrew.
2018-11-28 20:51:55 +01:00
Mike McQuaid
6c49c878cd
os/mac/diagnostic: output non-default Xcode prefix.
This should help people find it when this is a fatal error (and they
don't look at `brew config`).
2018-11-28 14:25:36 +00:00
Shaun Jackman
f62955688f audit: Disable "Don't use OS.mac?" for Linuxbrew 2018-11-26 11:55:28 -08:00
Mike McQuaid
70bf0d39f3
manpage: add HOMEBREW_UPDATE_TO_TAG docs. 2018-11-25 20:16:27 +00:00
Mike McQuaid
9aee39825d
update: also update master when updating stable branch. 2018-11-25 20:16:13 +00:00
Mike McQuaid
069b7e89a9
reinstall: add build-from-source switch.
Fixes #5431.
2018-11-24 15:36:59 +00:00
Mike McQuaid
e0c4fca756
Merge pull request #5307 from GauthamGoli/list-args
list: Add help text
2018-11-24 11:46:04 +00:00
Mike McQuaid
2562d270b5
Merge pull request #5033 from amyspark/gitjiro-improved
Cask: complete Git-Jiro's HTTPS audit check
2018-11-24 11:43:09 +00:00
Mike McQuaid
5203756803
Merge pull request #5309 from GauthamGoli/postinstall-args
postinstall: Use CLI::Parser to parse args
2018-11-24 11:42:57 +00:00