Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
...
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Zach Auten
abb81a52e6
Updated PR in response to suggestions
...
- changed require_relative to require
- removed useless begin
- removed unnecessary test
- updated brew info positive test case to verify a cask was found
- moved cask search logic to missing_formula.rb
2019-01-26 22:03:41 -05:00
Mike McQuaid
eed1444d61
Update deprecations and cleanup
...
- Move `odeprecated` to `odisabled`
- Remove `odisabled`
- Enable automatic cleanup on install/reinstall/upgrade.
2019-01-23 21:57:40 +00:00
Mike McQuaid
db7fd7b7a2
Tweak audits
...
- Ensure that new formulae problems aren't duplicated
- Now that homebrew/core will imminently not have options adjust the
various audits so they make more sense (and exclude taps)
- Exclude taps from more preferential audits
2019-01-22 13:30:24 +00:00
Mike McQuaid
5fd2b24aff
Merge pull request #5579 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.63.1
...
Bump rubocop from 0.63.0 to 0.63.1 in /Library/Homebrew/test
2019-01-22 09:37:13 +00:00
dependabot[bot]
21036e1d58
Bump rubocop from 0.63.0 to 0.63.1 in /Library/Homebrew/test
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.63.0 to 0.63.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.63.0...v0.63.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-22 03:04:15 +00:00
Mike McQuaid
79f3ff0a4e
cleanup: also consider ctime on prunes.
...
If this is an old tarball then we may end up removing it otherwise if
we've respected the `mtime` from the server on download.
2019-01-21 21:35:24 +00:00
Mike McQuaid
f82f3ffe7c
Merge pull request #5571 from MikeMcQuaid/supported-cleanup
...
Warn more on unsupported configurations
2019-01-21 15:38:49 +00:00
Mike McQuaid
234e4aec96
Improve use of default_prefix? in tests.
2019-01-21 14:33:56 +00:00
Mike McQuaid
5c7fbaf259
Update RuboCop RSpec rules
...
Create a new, seperate RuboCop file that uses our RSpec rule
configuration if a specified tap has a `spec` directory.
Also, while we're here, fix up the various rules so that we don't have
any outdated TODOs, disable some rules for good and fix `brew style`
for Homebrew/bundle.
2019-01-21 13:39:11 +00:00
Mike McQuaid
c3a46bc570
os/mac/diagnostic: remove some old/unneeded checks.
2019-01-21 12:40:12 +00:00
Gautham Goli
70c5b6f804
Merge pull request #5560 from GauthamGoli/cat-args
...
cat: Use CLI::Parser to parse args
2019-01-20 19:50:56 +05:30
Gautham Goli
9d287483b7
cat: Use CLI::Parser to parse args
2019-01-19 19:36:55 +05:30
dependabot[bot]
ae9d4d3465
Bump term-ansicolor from 1.7.0 to 1.7.1 in /Library/Homebrew/test
...
Bumps [term-ansicolor](https://github.com/flori/term-ansicolor ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/flori/term-ansicolor/releases )
- [Changelog](https://github.com/flori/term-ansicolor/blob/master/CHANGES )
- [Commits](https://github.com/flori/term-ansicolor/compare/v1.7.0...v1.7.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 09:08:20 +00:00
dependabot[bot]
c57c20af08
Bump rubocop from 0.61.1 to 0.63.0 in /Library/Homebrew/test
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.1 to 0.63.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.61.1...v0.63.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 09:47:33 +00:00
dependabot[bot]
4db95edbcd
Bump parallel from 1.12.1 to 1.13.0 in /Library/Homebrew/test
...
Bumps [parallel](https://github.com/grosser/parallel ) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/grosser/parallel/releases )
- [Commits](https://github.com/grosser/parallel/compare/v1.12.1...v1.13.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 09:06:25 +00:00
dependabot[bot]
946d6dc2a9
Bump parser from 2.5.3.0 to 2.6.0.0 in /Library/Homebrew/test
...
Bumps [parser](https://github.com/whitequark/parser ) from 2.5.3.0 to 2.6.0.0.
- [Release notes](https://github.com/whitequark/parser/releases )
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-16 16:15:52 +00:00
Zach Auten
468496b5ff
brew 'info' will show info for cask if formula with same name does not exist
2019-01-15 01:04:45 -05:00
Mike McQuaid
b71fcedb43
cli_parser_spec: tweak/fix help output text test,
2019-01-12 19:17:07 +00:00
Gautham Goli
9c7fe3dcb9
cli_parser: Output help text on invalid option passed
2019-01-12 18:52:07 +05:30
Mike McQuaid
3c270b3a9a
spec_helper: tweak parallel tests handling.
...
- only hide filtered runs in parallel (where they are super noisy)
- only send SimpleCov coverage once to Coveralls
2019-01-09 18:59:12 +00:00
Mike McQuaid
170c5493a4
Update deprecations
...
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Mike McQuaid
efc3c0c4c0
Use bundle install
in more places.
...
This provides a more consistent version for `rubocop` than relying on
`Homebrew.install_gem_setup_path!` (and we really want `brew style` to
provide consistent output).
2019-01-08 15:08:21 +00:00
Mike McQuaid
03afa5a75f
Revert "Bump rubocop from 0.61.1 to 0.62.0 in /Library/Homebrew/test"
...
This reverts commit c04d9cf60272ff734f16ce5c333b63ce4a3afaf8.
2019-01-08 13:41:42 +00:00
Mike McQuaid
b917cccf19
rubocops: remove scons audit.
...
This will be deprecated in #5477 .
2019-01-06 14:41:37 +00:00
dependabot[bot]
79b3607c8b
Bump jaro_winkler from 1.5.1 to 1.5.2 in /Library/Homebrew/test
...
Bumps [jaro_winkler](https://github.com/tonytonyjan/jaro_winkler ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/tonytonyjan/jaro_winkler/releases )
- [Changelog](https://github.com/tonytonyjan/jaro_winkler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tonytonyjan/jaro_winkler/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 08:37:18 +00:00
Mike McQuaid
8144667a71
Cleanup periodically if HOMEBREW_INSTALL_CLEANUP is set.
...
This will become the default in a later version of Homebrew but has an
opt-out through HOMEBREW_NO_INSTALL_CLEANUP.
Also, always cleanup files older than 120 days and set the general
default value for "old" logs, casks etc. to 30 days.
2019-01-03 16:23:44 +00:00
Mike McQuaid
e10d61b81b
Merge pull request #5447 from jonchang/linux-doctor
...
doctor: check supported versions of glibc and kernel [Linux]
2019-01-02 19:11:05 +00:00
Mike McQuaid
8cfcc7fcf0
cleanup: run and replace brew prune
.
...
It's always seemed a bit pointless to me that we have both of these
commands. Given we're doing more and more to recommend (and eventually,
safely, automatically run (see #4760 ) `brew cleanup` let's roll their
functionality into a single command.
2019-01-02 13:21:34 +00:00
Mike McQuaid
e893d13d20
Merge pull request #5462 from Homebrew/revert-5453-revert-5448-doctor-prefi
...
Revert "Revert "diagnostic: share prefix check""
2019-01-02 09:58:20 +00:00
Mike McQuaid
f47e148b91
Merge pull request #5465 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.27.1
...
Bump parallel_tests from 2.27.0 to 2.27.1 in /Library/Homebrew/test
2019-01-02 09:51:47 +00:00
dependabot[bot]
c04d9cf602
Bump rubocop from 0.61.1 to 0.62.0 in /Library/Homebrew/test
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.1 to 0.62.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.61.1...v0.62.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 06:37:54 +00:00
dependabot[bot]
7c12d3dde1
Bump parallel_tests from 2.27.0 to 2.27.1 in /Library/Homebrew/test
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases )
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.0...v2.27.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 06:37:36 +00:00
Jonathan Chang
9db92a0203
Revert "Revert "diagnostic: share prefix check""
2019-01-01 18:11:59 -08:00
Jonathan Chang
76d7b586ce
diagnostic: check kernel, glibc versions [Linux]
2019-01-01 16:10:43 -08:00
Mike McQuaid
61fa59e95b
Remove Travis CI specific code
...
We’re no longer using this for our CI so this is no longer necessary.
Also, migrate `brew tap-new` to use Azure pipelines.
2018-12-30 21:13:24 +00:00
Mike McQuaid
0de21812a7
Use Coveralls for coverage reporting.
2018-12-30 20:06:13 +00:00
Jonathan Chang
0a5fed1938
Revert "diagnostic: share prefix check"
2018-12-29 14:31:39 -08:00
Jonathan Chang
0d0eac8078
diagnostic: share prefix check
2018-12-27 11:23:18 -08:00
dependabot[bot]
942b98b51b
Bump unicode-display_width from 1.4.0 to 1.4.1 in /Library/Homebrew/test
...
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases )
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/master/CHANGELOG.md )
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v1.4.0...v1.4.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-21 14:34:15 +00:00
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
Gautham Goli
f82a202995
uninstall: Use CLI::Parser to parse args
2018-12-10 23:49:19 +05:30
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]
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
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
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
L. E. Segovia
5a2743b50d
Merge branch 'master' into gitjiro-improved
2018-11-24 01:01:40 +00:00
Markus Reiter
158a34bdad
Merge pull request #5316 from reitermarkus/rubocop
...
Deduplicate RuboCop config.
2018-11-23 00:20:19 +01: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