17921 Commits

Author SHA1 Message Date
Mike McQuaid
95495bf813
Merge pull request #7586 from mathaeus/audit_migrate_some_version_checks_to_rubocop
audit: Port some version checks to RuboCop
2020-05-19 08:27:35 +01:00
Mike McQuaid
f9050faf8e
brew vendor-gems: commit updates. 2020-05-18 19:32:35 +01:00
dependabot-preview[bot]
bb3985d446
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.0.3 to 6.0.3.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v6.0.3.1/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.0.3...v6.0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:50:36 +00:00
Tharun
6e543f7289 Updated test with stubing cask analytics call 2020-05-18 20:46:43 +05:30
Mathäus Zingerle
82ba0475ad audit: Port version checks that do not rely on Formula state to RuboCop and add tests 2020-05-18 10:12:13 -05:00
Mike McQuaid
4f75a77b08
Update deprecations
Add more deprecations, disable deprecations and remove disabled code.
2020-05-18 13:50:46 +01:00
Mike McQuaid
b9f493a7f6
Pass FormulaInstaller#display_options to BuildError.
This should improve the output in analytics.
2020-05-18 12:46:25 +01:00
hyuraku
7ac337181a use helper methods 2020-05-18 20:41:55 +09:00
vidusheeamoli
4f1e9f44a1 set up byebug debugger 2020-05-18 16:28:43 +05:30
Mike McQuaid
95a8217223
Merge pull request #7588 from maxim-belkin/glibc-minimum-version
os/linux/glibc.rb: up minimum glibc version to 2.13
2020-05-18 09:27:29 +01:00
Mike McQuaid
5572a70a2b
Merge pull request #7591 from MikeMcQuaid/analytics-options-exception
utils/analytics: fix options reporting.
2020-05-18 09:13:48 +01:00
Mike McQuaid
fc5ffe98d3
Merge pull request #7582 from Bo98/accessibility-compat
os/mac: move legacy functions to compat
2020-05-18 09:13:38 +01:00
Mike McQuaid
28107249a2
Merge pull request #7581 from Bo98/cabal-compat
language/haskell: move to compat
2020-05-18 09:12:45 +01:00
Mike McQuaid
f5b6a90fd0
utils/analytics: fix options reporting.
Check we have a non-empty `options` and convert them all to human
readable strings.
2020-05-18 08:50:51 +01:00
dependabot-preview[bot]
b53c97ae80
build(deps): bump minitest from 5.14.0 to 5.14.1 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 05:52:18 +00:00
Maxim Belkin
7b08e2252e
os/linux/glibc.rb: up minimum glibc version to 2.13 2020-05-17 20:14:05 -05:00
Maxim Belkin
b4267d80e4
utils/ruby.sh: avoid nested ifs 2020-05-17 16:32:06 -05:00
hyuraku
a0d069b309 brew doctor shows deleted formulae 2020-05-17 17:23:23 +09:00
Tharun
4aba04556e Updated tests 2020-05-17 02:55:07 +05:30
Tharun
2a62be0875 Refractored analytics to support analytics for cask 2020-05-17 01:38:11 +05:30
Tharun
139ca1d374 Updated analytics method name for cask info 2020-05-17 00:31:12 +05:30
Bo Anderson
e03846720c language/haskell: move to compat 2020-05-16 15:00:09 +01:00
Bo Anderson
c70bb474e3 os/mac: move legacy functions to compat 2020-05-16 14:52:30 +01:00
Zach
9fcaa46cdf
Merge pull request #7567 from zachauten/cask-help-exception
Fix exception when calling "brew cask" with --help and no subcommand
2020-05-15 23:27:59 -04:00
Maxim Belkin
083f56fafe
utils/ruby.sh: quote HOMEBREW_RUBY_PATH when calling test-ruby 2020-05-15 16:35:42 -05:00
Maxim Belkin
f7e0705164
utils/ruby.sh: try installing portable Ruby ...
when no usable Ruby is found.
2020-05-15 15:12:20 -05:00
Maxim Belkin
44ef1abd1f
utils/ruby.sh: suppress standard error in test-ruby 2020-05-15 15:04:06 -05:00
Maxim Belkin
ec6e449f4f
utils/ruby.sh: unset HOMEBREW_RUBY_PATH unconditionally 2020-05-15 14:21:51 -05:00
Maxim Belkin
d21ecffae6
utils/ruby.sh: break down long ruby code in test-ruby 2020-05-15 14:20:03 -05:00
Maxim Belkin
cbc266bf0e
utils/ruby.sh: split long line in test-ruby() function
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-05-15 13:49:22 -05:00
Maxim Belkin
328c75fc33
Move logic related to HOMEBREW_RUBY_PATH to utils/ruby.sh 2020-05-15 10:30:45 -05:00
nandahkrishna
a4f9a66406
livecheck: add component order rubocop 2020-05-15 19:00:14 +05:30
rmnull
69e1673a81 skip needed_libraries check when patchelf is the bottle being installed. 2020-05-15 05:36:49 +05:30
Mike McQuaid
1a7525ee2d
Merge pull request #7570 from jonchang/patch-downloaded-resource
resource: fix patching when patch already fetched
2020-05-14 09:57:52 +01:00
Mike McQuaid
8e2718c74e
resource: tweak fetch_patches logic. 2020-05-14 09:20:58 +01:00
Mike McQuaid
8d8f76a83c
Merge pull request #7568 from Homebrew/dependabot/bundler/Library/Homebrew/tins-1.25.0
build(deps): bump tins from 1.24.1 to 1.25.0 in /Library/Homebrew
2020-05-14 08:46:39 +01:00
Jonathan Chang
2ffb87cb03 resource: fix patching when patch already fetched
This inappropriately modified the shared `patches` variable, meaning an
already fetched patch would be removed and therefore not be applied when
the resource was staged.
2020-05-14 17:09:52 +10:00
dependabot-preview[bot]
e79c7e7bf5
build(deps): bump tins from 1.24.1 to 1.25.0 in /Library/Homebrew
Bumps [tins](https://github.com/flori/tins) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/flori/tins/releases)
- [Commits](https://github.com/flori/tins/compare/v1.24.1...v1.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 05:37:53 +00:00
Zach Auten
e877a52fa6 Fix exception when calling "brew cask" with --help and no subcommand 2020-05-14 01:17:33 -04:00
skim
bb27478de0
fixes uninstall if formula is unavailable 2020-05-13 17:56:36 -07:00
Shaun Jackman
133ee7966d shell: Use .profile unless .bash_profile exists 2020-05-13 09:30:02 -07:00
Mike McQuaid
a7475a2946
Split out prepare_patches and fetch_patches methods.
The new `fetch_patches` method wasn't exclusively fetching so shouldn't
have been skipped when it was.

Fixes #7558.
2020-05-13 11:49:17 +01:00
Mike McQuaid
41b1faccb1
Merge pull request #7561 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-data-3.2020.0512
build(deps): bump mime-types-data from 3.2020.0425 to 3.2020.0512 in /Library/Homebrew
2020-05-13 11:18:35 +01:00
dependabot-preview[bot]
5e5e0345f5
build(deps): bump mime-types-data in /Library/Homebrew
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data) from 3.2020.0425 to 3.2020.0512.
- [Release notes](https://github.com/mime-types/mime-types-data/releases)
- [Changelog](https://github.com/mime-types/mime-types-data/blob/master/History.md)
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2020.0425...v3.2020.0512)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 05:44:42 +00:00
EricFromCanada
580ccab75d formula JSON: include URLs for non-bottled formulae 2020-05-13 00:37:37 -04:00
Maxim Belkin
1cba5821fd
cmd/update.sh: define conditions for unsetting HOMEBREW_RUBY_PATH 2020-05-12 11:50:12 -05:00
Mike McQuaid
10c9d96566
Merge pull request #7552 from MikeMcQuaid/fetch-resources-from-source
Fetch (all) resources when building from source
2020-05-12 14:27:52 +01:00
Mike McQuaid
6ed1ccd8e8
Fetch (all) resources when building from source
Also:
- when `brew test` or `brew postinstall` is run allow `Resource#stage`
  to fetch the resource.
- make `Formula#fetch` and `Resource#fetch` fetch external patches too.

Follow-up from #7549 and #7546.
2020-05-12 12:37:54 +01:00
Mike McQuaid
7ef04c01e2
Merge pull request #7554 from MikeMcQuaid/formula_installer_ignore_fetch_deps
formula_installer: ignore dependencies when fetching.
2020-05-12 11:04:32 +01:00
Mike McQuaid
a333014c55
formula_installer: ignore dependencies when fetching.
Whenever you are fetching a dependency you only care about fetching that
specific dependency and not all the dependencies of that dependency.

Unlike installing, dependencies can be fetched in any order and have no
"chains" between them.
2020-05-12 10:45:10 +01:00