dependabot[bot]
1304c329d0
Bump parallel_tests from 2.27.1 to 2.28.0 in /Library/Homebrew/test
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 2.27.1 to 2.28.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases )
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.1...v2.28.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 19:27:02 +00:00
Danny Weinberg
b0124c4fb0
Cask handle already downloaded file
...
The current logic for curl_download tries to restart any existing
partial download, but this fails for some servers when the file is
already fully downloaded, returning a status code 416. This updates the
function to check for the file being already downloaded and if so bails
early.
The following command used to fail when run more than once but now works
as expected:
```
brew cask info https://raw.githubusercontent.com/homebrew/homebrew-cask/master/Casks/docker.rb
```
2019-02-01 14:57:50 -08:00
Mike McQuaid
fd4e45c688
lines_spec: fix a typo.
2019-01-30 21:59:55 +00:00
Mike McQuaid
4ace1af297
help: improve command --help output.
2019-01-30 21:39:29 +00:00
Mike McQuaid
9eabcdad7d
Make install/reinstall/upgrade options more consistent.
2019-01-29 19:25:59 +00:00
Mike McQuaid
618f75c071
Merge pull request #5619 from GauthamGoli/install-args
...
install: Use CLI::Parser to parse args
2019-01-29 14:11:22 +00:00
Mike McQuaid
49d3849507
cmd/install_spec: test new invalid option behaviour.
2019-01-29 10:48:39 +00:00
Mike McQuaid
24eb8e8e54
Remove (now) unused invalid_option_names.
...
This is handled by `OptionParser` now instead in `cmd/install`.
2019-01-29 08:31:45 +00:00
Markus Reiter
a198b0ef43
Merge pull request #5628 from reitermarkus/conflicts-with
...
Refactor `ConflictsWith` to be a `DelegateClass(Hash)`.
2019-01-28 22:31:08 +01:00
Mike McQuaid
28fa8a7c97
version: add CPU tests.
...
Add a new API inspired by discussion in
https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given
CPU option is supported by a version of macOS.
2019-01-28 19:31:21 +00:00
Markus Reiter
d22c2eca9e
Refactor ConflictsWith
to be a DelegateClass(Hash)
.
2019-01-27 21:48:12 +01:00
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