2727 Commits

Author SHA1 Message Date
Markus Reiter
711bb4977f
Merge pull request #5056 from reitermarkus/accessibility_access
Remove the `accessibility_access` stanza.
2018-10-08 18:24:18 +02:00
Markus Reiter
7a951fe5a8
Merge pull request #5062 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-rspec-1.30.0
Bump rubocop-rspec from 1.29.1 to 1.30.0 in /Library/Homebrew/test
2018-10-08 15:16:49 +02:00
dependabot[bot]
11f0851622
Bump rubocop-rspec from 1.29.1 to 1.30.0 in /Library/Homebrew/test
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.29.1...v1.30.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-08 06:48:33 +00:00
Markus Reiter
16618d0fc7 Use ActiveSupport’s #pluralize and #to_sentence. 2018-10-07 23:10:56 +02:00
Markus Reiter
c4d418e126 Use ActiveSupport’s #second. 2018-10-07 23:10:56 +02:00
Markus Reiter
a9128c543c Use ActiveSupport’s #days. 2018-10-07 23:10:56 +02:00
Markus Reiter
b7cf925da8 Remove unused methods in Staged module. 2018-10-07 22:00:07 +02:00
Markus Reiter
59e3a532ff Remove the accessibility_access stanza. 2018-10-07 21:53:31 +02:00
dependabot[bot]
cc7bf45d37
Bump codecov from 0.1.10 to 0.1.11 in /Library/Homebrew/test
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.10 to 0.1.11.
- [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.10...v0.1.11)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 16:57:31 +00:00
Mike McQuaid
3cba4737a8
Merge pull request #5028 from MikeMcQuaid/setup_remote_tap_symlink
setup_remote_tap: use system taps.
2018-10-03 19:45:52 +01:00
Mike McQuaid
ac2aabf287
setup_remote_tap: use system taps.
This saves recloning the taps we use multiple times when already done by
the user.
2018-10-03 19:14:04 +01:00
Gautham Goli
b5b988cbb1
help_spec: fix and generate help text in help.rb 2018-10-03 21:12:44 +05:30
Markus Reiter
2308f0c571 Skip quitting applications when not logged into GUI. 2018-10-02 16:27:45 +02:00
Mike McQuaid
1f53099020
Merge pull request #4991 from javian/moverubocopoption
rubocop: move requirement to configuration file
2018-10-01 14:19:11 +01:00
Markus Reiter
bec5272c77
Merge pull request #5000 from reitermarkus/7z
Don’t treat `.7z` as part of a version.
2018-10-01 10:25:41 +02:00
Shaun Jackman
47fdc3dfc9 test/compiler_selector: :gcc was renamed to :gcc_4_2 2018-09-30 11:20:35 -07:00
Jan Viljanen
e5b3b7e326 further updates 2018-09-30 15:35:49 +02:00
Markus Reiter
c430baaee8 Don’t treat .7z as part of a version. 2018-09-29 10:32:18 +02:00
Mike McQuaid
bb177b3055
Merge pull request #4970 from MikeMcQuaid/keg-more-dirs-cleanup
keg: further tweak directory constants.
2018-09-26 09:14:57 +01:00
Mike McQuaid
9a698d2130
keg: further tweak directory constants.
- ensure that `HOMEBREW_CELLAR` is always created on `install`.
- remove the need for a special `PRUNEABLE_DIRECTORIES` variable
- reuse values from existing variables and get `uniq`s.
2018-09-25 22:03:29 +01:00
Mike McQuaid
8b5f64881c
cache_store: use JSON.
After all our recent troubles with DBM I figured I'd benchmark the
performance of DBM vs. JSON. At read time (what we care more about) the
performance is pretty much identical and JSON is only 1.5x slower at
write time. This seems worth it for the reliability increases to avoid
messing with unreliable native code.
2018-09-25 21:07:01 +01:00
Jonathan Chang
3ce4caeb1a Add tests for language/python 2018-09-24 17:13:51 -04:00
Mike McQuaid
f99f1b611f
cache_store_spec: fix bad rebase.
https://github.com/Homebrew/brew/pull/4948#discussion_r219276137
2018-09-21 14:36:38 +01:00
Mike McQuaid
359fb27cfe
Manually fix RuboCop RSpec autofix failures. 2018-09-20 13:40:38 +01:00
Mike McQuaid
78eba5b815
Autofix RuboCop RSpec failures 2018-09-20 13:36:42 +01:00
Mike McQuaid
da404fcb4e
Install and use RuboCop RSpec by default. 2018-09-20 13:36:41 +01:00
Mike McQuaid
a11fe57cd2
cache_store: handle corrupt DBM database.
When the DBM database cannot be read by the current version of Ruby's
DBM library (due to corruption or another incompatibility) it segfaults
or freezes which takes down the entire Homebrew Ruby process.

This isn't desirable so instead perform a shell out with the Homebrew
Ruby to see if it can read the DBM database before we try to use the
information. If this hangs or crashes: silently delete the database and
recreate it.
2018-09-20 10:57:27 +01:00
Markus Reiter
e5aaf36f7d Add spec for FormulaInstaller#audit_installed. 2018-09-19 20:07:15 +02:00
Markus Reiter
7a991985a4 Run tests with HOMEBREW_DEVELOPER unset. 2018-09-19 19:43:45 +02:00
Mike McQuaid
59c858a8e8
Cleanup Travis and CI configuration.
Use the environment variables set by `brew test-bot`. Eventually we'll
disable Travis CI running CodeCov so move `TRAVIS` references to
`HOMEBREW_TRAVIS_CI` so it doesn't need whitelisted.

Also, fix `azure-pipelines.yml` so it's testing the correct version of
Homebrew/brew (the one checked out in the `pwd`).
2018-09-19 15:01:33 +01:00
Markus Reiter
91b0794329 Add SystemCommand::Result#merged_output. 2018-09-19 04:02:59 +02:00
Markus Reiter
f1a2fa5601
Merge pull request #4935 from reitermarkus/gemfile
Update `Gemfile.lock`.
2018-09-19 03:58:20 +02:00
Markus Reiter
9b667af552
Merge pull request #4915 from alexbostock/code-coverage
Improve code coverage
2018-09-19 03:46:59 +02:00
Markus Reiter
846fa45c03 Update Gemfile.lock. 2018-09-19 03:35:11 +02:00
commitay
02219f91d1
Merge pull request #4862 from commitay/dependency-order
make dependency_order_cop a regular audit
2018-09-19 07:51:42 +10:00
Mike McQuaid
49273c1997
test/Gemfile: add ronn.
This now gets installed into the same place with or without a Bundler
installation but this saves an extra install for `brew test-bot` or
people running `brew man` after `brew tests`.
2018-09-18 21:23:43 +01:00
Mike McQuaid
ead23d1f4c
Use ActiveSupport File.atomic_write
nd delete our own implementation.
2018-09-18 09:20:40 +01:00
alexbostock
188aca1075 Remove blank line 2018-09-17 21:13:19 +01:00
alexbostock
122738709a Add a_json_string matcher and improve tests 2018-09-17 20:49:43 +01:00
alexbostock
e733657f04 Separate and improve tests 2018-09-17 09:50:02 +01:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Markus Reiter
05b71b80e4 Update RuboCop to 0.58.2. 2018-09-17 00:43:39 +02:00
alexbostock
a4020db526 Add test for brew info --json=v1 2018-09-16 22:06:42 +01:00
alexbostock
193b5aa07a Add test for brew commands --quiet 2018-09-16 21:54:19 +01:00
alexbostock
6e1374bef9 Add multiple arguments test for brew cat 2018-09-16 21:41:50 +01:00
dependabot[bot]
68abb62c66
Bump parallel_tests from 2.22.1 to 2.23.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.22.1 to 2.23.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.22.1...v2.23.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-15 01:48:47 +00:00
Markus Reiter
943e227ca1 Retry all specs with :needs_network. 2018-09-14 16:57:14 +02:00
Mike McQuaid
7c056124e5
Merge pull request #4767 from amyspark/upgrade-relink
Upgrade: implement linkage repair
2018-09-13 14:29:58 +01:00
Mike McQuaid
44bcf69d1f
cmd/shellenv: use Bash.
This speeds up execution by 3x on my machine and the script is simple
enough to warrant this.
2018-09-13 09:27:44 +01:00
Markus Reiter
1130e1d24e
Merge pull request #4812 from alecclarke/increase-messages-unit-test-coverage
Increase the unit test coverage of messages.rb
2018-09-13 05:20:30 +02:00