16486 Commits

Author SHA1 Message Date
Mike McQuaid
2e0c703cb6
Merge pull request #6722 from evgkrsk/patch-1
Update brew.sh: hide printf's stderr in numeric()
2019-11-11 21:26:57 -08:00
Mike McQuaid
7b77dc4d0c
Merge pull request #6725 from MikeMcQuaid/remove-cat
os/mac: remove MacOS.cat.
2019-11-12 04:59:19 +00:00
Mike McQuaid
5595deaec6
os/mac: remove MacOS.cat.
None of the supported versions are "cats" any more.
2019-11-11 19:20:17 +00:00
Evgenii Terechkov
8bf9bbfd1c
Update brew.sh: hide printf's stderr in numeric()
Avoid #6721 and similar confusing messages during version comparison by hiding printf's stderr (printf woks anyway).
2019-11-11 20:31:59 +07:00
Mike McQuaid
e8c241f56c
upgrade: fix handling broken dependents.
Ensure that we use the keg for checking linkage but that the dependents
returned are still formulae.

Fixes #6715.
2019-11-11 10:08:08 +00:00
Paul
2e55eac802
'upradable' typo for 'upgradeable_dependents' 2019-11-07 22:58:02 +07:00
Mike McQuaid
7f3db8bfac
Merge pull request #6708 from Bo98/bottle-dotfiles
formula_installer: copy hidden files into bottles.
2019-11-07 15:25:03 +00:00
Bo Anderson
b4f8671849 formula_installer: copy hidden files into bottles. 2019-11-07 14:47:15 +00:00
Markus Reiter
6521dbbad7
Merge pull request #6682 from reitermarkus/openjdk
Allow `JAVA_HOME` in formulae depending on `openjdk`.
2019-11-06 23:24:54 +01:00
Mike McQuaid
f7e7e32f1c
Merge pull request #6707 from MikeMcQuaid/portable-ruby-test-fixes
test: re-enable portable Ruby tests.
2019-11-06 20:32:42 +00:00
Mike McQuaid
4873c490e0
Merge pull request #6705 from MikeMcQuaid/system-improve-verbose-output
utils#system: improve verbose output.
2019-11-06 17:11:39 +00:00
Mike McQuaid
eb0be5f6fe
test: re-enable portable Ruby tests.
Let's try to get these working again.
2019-11-06 15:36:28 +00:00
Mike McQuaid
f3afedb4ff
utils#system: improve verbose output.
This previously output the hilarious long and unnecessary LOAD_PATH.
2019-11-06 15:25:51 +00:00
Mike McQuaid
95a1c8570a
cleanup: rescue more cask errors.
This will avoid a wider degree of failures.
2019-11-06 15:25:29 +00:00
Mike McQuaid
6a33959888
test/subversion: fix subversion paths/detection. 2019-11-06 14:58:33 +00:00
Mike McQuaid
924af100b7
cask/pkg_spec: remove flaky test. 2019-11-06 14:28:05 +00:00
Mike McQuaid
a4b3518dd5
Merge pull request #6700 from MikeMcQuaid/outdated_kegs_cache_refactor
formula: refactor outdated_kegs logic.
2019-11-06 12:09:06 +00:00
Mike McQuaid
102837e72c
Merge pull request #6701 from MikeMcQuaid/upgrade-tweak-dependent-messaging
upgrade: tweak dependent messaging.
2019-11-06 12:01:42 +00:00
Mike McQuaid
ee1cbfc8d3
formula: refactor outdated_kegs logic.
- Use the `Formula.cache` and `Cacheable` rather than rolling our own.
- Use keyword arguments instead of `options = {}`
- Improve readability in general
2019-11-06 11:49:31 +00:00
Mike McQuaid
81e6359aeb
upgrade: tweak dependent messaging.
Output more without requiring `--verbose` and update the messages to
make clear what we're looking for and what we found/didn't find.

This is a little more noisy but it should help explain any delays to
users and make it more obvious what's failed if something does.
2019-11-06 11:38:17 +00:00
Mike McQuaid
1224f56511
deps: refactor weird OpenStruct usage. 2019-11-06 11:10:22 +00:00
Mike McQuaid
918224ce1a
Merge pull request #6696 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.0.1
build: bump activesupport from 5.2.3 to 6.0.1 in /Library/Homebrew
2019-11-06 11:06:58 +00:00
Mike McQuaid
2e842595e0
Merge pull request #6698 from MikeMcQuaid/upgrade-dependents-performance
Improve upgrade dependents check performance, reliability and readability
2019-11-06 11:06:43 +00:00
Mike McQuaid
6670ae6202
global: require rubygems for activesupport. 2019-11-06 10:36:40 +00:00
Mike McQuaid
e12a7b0808
upgrade: simply check_dependents, remove recursion. 2019-11-06 10:21:31 +00:00
Mike McQuaid
b6116c5a03
deps: use Formulary factory cache. 2019-11-06 10:21:28 +00:00
Mike McQuaid
f24356f015
uses: refactor to improve performance 2019-11-06 10:20:57 +00:00
Mike McQuaid
22795d7e30
spec_helper: do cache clearing in single location. 2019-11-06 10:20:57 +00:00
Mike McQuaid
893474d037
formulary: add cache to factory. 2019-11-06 10:20:56 +00:00
Mike McQuaid
7d77a9e97d
formula: add runtime_installed_formula_dependents method. 2019-11-06 10:04:13 +00:00
Mike McQuaid
ddcbdbe0c0
formula: cache runtime_dependencies related stuff. 2019-11-06 10:04:13 +00:00
Mike McQuaid
eeb9ac36a2
keg: cache runtime_dependencies. 2019-11-06 10:04:13 +00:00
Mike McQuaid
1241c40c8b
brew vendor-gems: commit updates. 2019-11-05 19:30:35 +00:00
Mike McQuaid
0ff53e6c9c
Merge pull request #6665 from Homebrew/dependabot/bundler/Library/Homebrew/tins-1.22.0
build: bump tins from 1.21.1 to 1.22.0 in /Library/Homebrew
2019-11-05 19:27:08 +00:00
dependabot-preview[bot]
99a39913e6
build: bump activesupport from 5.2.3 to 6.0.1 in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 5.2.3 to 6.0.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v6.0.1/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v5.2.3...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 17:38:47 +00:00
Mike McQuaid
3aa7624284
Merge pull request #6693 from MikeMcQuaid/comment_broken_dependents
cmd/upgrade: comment-out broken_dependents functionality.
2019-11-05 10:11:12 +00:00
Mike McQuaid
0cf6052fcc
cmd/upgrade: comment-out broken_dependents functionality.
This is not a fix for https://github.com/Homebrew/brew/issues/6671 but
will stop people hitting this bug for now.
2019-11-05 09:51:17 +00:00
Mike McQuaid
33330ba5b1
Merge pull request #6687 from jonchang/frozen-string-literal
Ruby 2.6 frozen string literals
2019-11-04 10:33:13 +00:00
Jonathan Chang
d76c7f2380 brew.rb: update Ruby version check 2019-11-04 21:06:27 +11:00
Jonathan Chang
81db0e9551 dev-cmd: enable frozen string literals
Now that we use Ruby 2.6 we can fix these last two files.
2019-11-04 21:00:20 +11:00
Mike McQuaid
f1a8e9001f
Merge pull request #6685 from jonchang/fix-6681
audit: improve check for forked Bitbucket repository
2019-11-04 09:29:21 +00:00
Mike McQuaid
0171c2c05f
Merge pull request #6674 from dawidd6/go-112-rubocop
rubocops: add go@1.12 to BINARY_FORMULA_URLS_WHITELIST
2019-11-04 09:22:21 +00:00
Jonathan Chang
ae9638a80a audit: better check for forked repo
Co-Authored-By: Steven Peters <scpeters@openrobotics.org>
2019-11-04 13:17:48 +11:00
Markus Reiter
46c9dc3807 Add /Library/Java subdirectories to SYSTEM_DIRS. 2019-11-03 19:26:35 +01:00
Markus Reiter
b31c5cb137 Allow JAVA_HOME in formulae depending on openjdk. 2019-11-03 18:25:06 +01:00
Markus Reiter
0b9a870e1c Ensure @downloaded_path is not nil. 2019-11-02 02:52:33 +01:00
Dawid Dziurla
a6b08ecaed
rubocops: add go@1.12 to BINARY_FORMULA_URLS_WHITELIST 2019-11-01 20:54:38 +01:00
Markus Reiter
add8885dd8 Add helper method for cask installer to get dependencies. 2019-11-01 20:28:36 +01:00
Mike McQuaid
89c5ecce2f
Merge pull request #6672 from MikeMcQuaid/fix_bundler_find
utils/gems: fix finding bundler.
2019-11-01 17:32:37 +00:00
Mike McQuaid
3609101728
utils/gems: fix finding bundler.
Need to specify the executable name not variable here.
2019-11-01 17:04:27 +00:00