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
dependabot[bot]
d161b74fbd
Bump codecov from 0.1.13 to 0.1.14 in /Library/Homebrew/test
...
Bumps [codecov](https://github.com/codecov/codecov-ruby ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/codecov/codecov-ruby/releases )
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.1.13...v0.1.14 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-13 22:45:31 +00:00
Markus Reiter
cea9942a1d
Fix code style.
2018-11-13 05:04:35 +01:00
Markus Reiter
04908dcb19
Fix RuboCop for Casks.
2018-11-12 05:01:33 +01:00
dependabot[bot]
cd2f95549d
Bump parallel_tests from 2.26.2 to 2.27.0 in /Library/Homebrew/test
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 2.26.2 to 2.27.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases )
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.26.2...v2.27.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-09 22:02:18 +00:00
Andrew Janke
e1e40a4b1a
JavaRequirement: fix version parsing to handle Java 9 and higher
2018-11-08 22:48:17 -05:00
Mike McQuaid
109e974c38
Cleanup rubocop-cask references.
2018-11-08 15:54:47 +00:00
Mike McQuaid
491ceb6c4c
Import rubocop-cask (with clean brew style)
2018-11-08 15:54:46 +00:00
Mike McQuaid
376eac2b8d
rubocops: rename files for consistency.
...
Make the filenames consistent with the class names.
2018-11-08 14:42:55 +00:00
Markus Reiter
f289d59b0e
Merge pull request #5247 from reitermarkus/quit
...
Improve application quitting.
2018-11-08 15:10:28 +01:00
Claudia
35b8c3d6e2
Increase timeout tolerance.
...
Co-Authored-By: reitermarkus <me@reitermark.us>
2018-11-07 21:13:12 +01:00
Markus Reiter
785ffb1b2c
Refactor tests for uninstall
stanza.
2018-11-07 18:44:52 +01:00
Markus Reiter
f61b963744
Improve application quitting.
2018-11-07 18:44:52 +01:00
Gautham Goli
2736aed1fd
reinstall: Use CLI::Parser to parse args
2018-11-07 22:33:32 +05:30
Mike McQuaid
6b1d439a87
Merge pull request #5165 from Wojonatior/feature/homebrew_install_cleanup
...
Implement the HOMEBREW_INSTALL_CLEANUP env to trigger cleanup on reinstall/install/upgrade
2018-11-06 10:29:42 +00:00
Claudia
7b320fc03b
Move shared Cask examples closer to its clients
...
In Cask specs, we have recently introduced a couple of specialized
`shared_examples` directories. Those new directories are organized
below their respective packages (for instance,
`cask/artifact/shared_examples` and `cask/cmd/shared_examples`).
This commit moves the rest of the shared examples accordingly.
See also:
https://github.com/Homebrew/brew/pull/5247
2018-11-06 07:19:41 +01:00
Markus Reiter
20f5dfef73
Update Gemfile.lock
.
2018-11-04 17:31:03 +01:00
Mike McQuaid
549b02f20a
Manual brew style
fixes.
2018-11-02 17:29:26 +00:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
Markus Reiter
3dbbcd11cc
Remove unused test cask.
2018-11-01 19:46:58 +01:00
Mike McQuaid
cbb2e1b3dd
Merge pull request #5206 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.26.2
...
Bump parallel_tests from 2.26.0 to 2.26.2 in /Library/Homebrew/test
2018-10-30 13:23:12 +00:00