19698 Commits

Author SHA1 Message Date
Daniel Bayley
e477a38958 [WIP] cat: Allow 'bat' to find existing configuration file 2020-05-20 16:51:36 +01:00
Bo Anderson
6ac9d43599 formula_installer: fix already-satisfied test deps not being pruned 2020-05-20 13:28:10 +01:00
Mike McQuaid
bfc081ee0b
Merge pull request #7613 from MikeMcQuaid/requirement_test
formula_installer: fix :test requirement expansion.
2020-05-20 12:55:55 +01:00
Mike McQuaid
89a0984d42
formula_installer: fix :test requirement expansion. 2020-05-20 12:24:54 +01:00
Mike McQuaid
0ea2c5f15b
os/mac/diagnostic: suggest untapping phinze/cask.
As seen in https://github.com/Homebrew/brew/issues/7605.
2020-05-20 10:05:23 +01:00
Mike McQuaid
d254730e78
Merge pull request #7610 from MikeMcQuaid/bad-todo
audit: remove incorrect TODO.
2020-05-20 09:41:01 +01:00
Mike McQuaid
ceb3513b86
Merge pull request #7609 from Bo98/include_test-dependents
Further test dep fixes
2020-05-20 08:22:57 +01:00
Mike McQuaid
633501ab08
audit: remove incorrect TODO.
This check can't really be in RuboCop (as it relies on the URL strategy
logic).
2020-05-20 08:17:14 +01:00
Mike McQuaid
1ebb1c2885
Merge pull request #7580 from tharun208/brew-cask-analytics
Added analytics for cask info
2020-05-20 08:06:46 +01:00
Bo Anderson
5b5833c33b dependency: return test deps on all levels
Filtering for this is now handled properly in places where this function is used.

In some scenarios, we _want_ test deps on more than the first level (Homebrew.args.include_formula_test_deps?).
2020-05-19 19:17:17 +01:00
Bo Anderson
b8ba083e12 dependencies: fix recursive_includes not handling deps of test deps 2020-05-19 19:14:48 +01:00
Bo Anderson
a2939be08a formula_installer: don't propagate --include-test unless requested 2020-05-19 19:12:47 +01:00
Markus Reiter
7f400d8e4e Fix brew cask <command> --help. 2020-05-19 19:30:46 +02:00
Maxim Belkin
dcc486fa9e
utils/ruby.sh: find usable Ruby from PATH only 2020-05-19 12:24:00 -05:00
Markus Reiter
6d9a20614a Implement brew cask help <command>. 2020-05-19 19:23:31 +02:00
Tharun
aeede8374f fixed review changes 2020-05-19 21:41:02 +05:30
Mike McQuaid
b2fc8ad7b3
Merge pull request #7585 from hyuraku/brew_doctor-shows-deleted_formulae
brew doctor shows deleted formulae
2020-05-19 17:07:32 +01:00
hyuraku
38e0aa8800 change condition 2020-05-19 23:58:33 +09:00
Tharun
84f2edc884 replaced json and used dictionary 2020-05-19 19:35:30 +05:30
Mike McQuaid
8b98ed1f47
Further tweak :test dependency handling
- ensure that cases where `:build` and `:test` both apply to a
  dependency that we handle it appropriately
- fix reintroduced regression
  (https://github.com/Homebrew/brew/pull/6471#issuecomment-533414923).
  Fixes #6470.
2020-05-19 14:25:10 +01:00
hyuraku
c263c755aa check tap_path size 2020-05-19 22:22:31 +09:00
Tharun
6a50f31feb fixed proper parsing of mock data for analytics 2020-05-19 17:25:16 +05:30
Tharun
7186600a5c renamed get_formulae_api 2020-05-19 14:59:43 +05:30
Tharun
9e26a451e3 Updated mocking analytics call 2020-05-19 14:58:55 +05:30
Mike McQuaid
2fc643421f
formula_installer: fix test dependencies.
Only prune test dependencies from the tree when they aren't also build
dependencies (and vice-versa with build dependencies) and the include
test argument hasn't been passed.
2020-05-19 09:34:50 +01:00
Mike McQuaid
3588e6a5c6
bottle_arch: ensure a symbol is used when needed.
Fixes #7597.
2020-05-19 08:47:59 +01:00
Mike McQuaid
0e9897c86d
Merge pull request #7577 from vidusheeamoli/add-byebug
Set up Byebug debugger
2020-05-19 08:27:53 +01:00
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