Commit Graph
17432 Commits
Author SHA1 Message Date
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
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
Shaun Jackman c89f6c8f8c Merge pull request #5368 from sjackman/bottle-ignore-source
bottle: Ignore matches to source code
2018-12-03 09:39:09 -08: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 6ca3ca7552 Merge pull request #5369 from MikeMcQuaid/brew-style-fixes
.rubocop.yml: brew style fixes.
2018-12-03 13:52:36 +01: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
Mike McQuaid 720df73b17 Merge pull request #5364 from RandomDSdevel/remove-HOMEBREW_DEBUG-variable-documentation-from-man-page
man:  Remove `HOMEBREW_DEBUG_INSTALL` nor `HOMEBREW_DEBUG_PREFIX`
2018-12-01 11:48:34 +01: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
Mike McQuaid c16e2e9e79 Merge pull request #5360 from Homebrew/dependabot/bundler/docs/html-proofer-3.9.3
Bump html-proofer from 3.9.2 to 3.9.3 in /docs
2018-11-30 16:20:13 +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
Mike McQuaid 30c90dcc3b Merge pull request #5359 from claui/tls-coming-home
Use Homebrew-controlled domain for Cask dummy URLs
2018-11-28 21:14:56 +00:00
dependabot[bot] 4876b39f42 Bump html-proofer from 3.9.2 to 3.9.3 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.9.2...v3.9.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-28 20:41:54 +00: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
Mike McQuaid aed895cdc1 Merge pull request #5353 from Homebrew/dependabot/bundler/docs/faraday-0.15.4
Bump faraday from 0.15.3 to 0.15.4 in /docs
2018-11-27 15:06:23 +00:00
dependabot[bot] e9098dc91f Bump faraday from 0.15.3 to 0.15.4 in /docs
Bumps [faraday](https://github.com/lostisland/faraday) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v0.15.3...v0.15.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-27 11:34:28 +00:00
Mike McQuaid f592d659f0 Merge pull request #5352 from sjackman/audit-os-mac
audit: Disable "Don't use OS.mac?" for Linuxbrew
2018-11-26 21:58:37 +00:00
Shaun Jackman f62955688f audit: Disable "Don't use OS.mac?" for Linuxbrew 2018-11-26 11:55:28 -08:00
Mike McQuaid 6f0ef7deec Merge pull request #5349 from MikeMcQuaid/update-from-tag-tweaks
Tweak HOMEBREW_UPDATE_TO_TAG
2018-11-26 14:28:10 +00: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 2063a8a4d8 Merge pull request #5342 from MikeMcQuaid/reinstall-from-source
reinstall: add build-from-source switch.
1.8.4
2018-11-24 20:58:35 +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
Mike McQuaid 1177f04094 cmd/list: improve passed through option descriptions. 2018-11-24 11:23:14 +00:00
L. E. Segovia 3b79b4d079 More styling fixes 2018-11-24 11:21:52 +00:00
L. E. Segovia 62fd4a2e00 Use .blank? 2018-11-24 02:02:53 +00:00
L. E. Segovia 6ac568230c Fix styling issues 2018-11-24 01:46:55 +00:00
L. E. Segovia 5a2743b50d Merge branch 'master' into gitjiro-improved 2018-11-24 01:01:40 +00:00
Mike McQuaid e3f69a48b5 Merge pull request #5337 from EricFromCanada/current-dir-redirect
CurlDownloadStrategy: handle Location header indicating the current directory
2018-11-23 14:19:36 +00:00
EricFromCanada 5e2f87f7ac CurlDownloadStrategy: handle Location indicating the current dir.
If a response contains a Location header starting with `./`, substitute just final component of the URL path with the given filename.
2018-11-22 19:24:30 -05:00
Markus Reiter 158a34bdad Merge pull request #5316 from reitermarkus/rubocop
Deduplicate RuboCop config.
2018-11-23 00:20:19 +01:00
Markus Reiter 99661194c9 Add TODO. 2018-11-22 23:45:23 +01:00
Mike McQuaid 7241156080 Merge pull request #5308 from GauthamGoli/pin-args
pin: Use CLI::Parser to parse args
2018-11-19 14:03:27 +00:00
Mike McQuaid 1365010f93 Merge pull request #5280 from apjanke/fix-java-req-version-parsing
JavaRequirement: fix version parsing to handle Java 9 and higher
2018-11-19 14:03:10 +00:00
Mike McQuaid 4021aa80df Merge pull request #5310 from sjackman/openjdk
DependencyCollector: Add java_dep_if_needed [Linux]
1.8.3
2018-11-17 12:35:01 +00:00
Mike McQuaid b94ffad71a Merge pull request #5238 from EricFromCanada/older-installation
docs: update instructions for OS X < 10.9
2018-11-17 12:33:11 +00:00
Mike McQuaid 9992674691 Merge pull request #5299 from revolter/patch-1
Simplify usage instructions for the new feature suggestion GitHub issue template
2018-11-16 19:23:49 +00:00
Markus Reiter a5cc2d62e9 Merge pull request #5323 from Homebrew/dependabot/bundler/docs/github-pages-193
Bump github-pages from 192 to 193 in /docs
2018-11-16 08:13:21 +01:00