16807 Commits

Author SHA1 Message Date
Mike McQuaid
4d1de3334c
Merge pull request #4912 from MikeMcQuaid/activesupport-hash-deep-merge
Use ActiveSupport Hash#deep_merge
2018-09-18 09:19:24 +01:00
commitay
ccb08f1258
Merge pull request #4927 from commitay/shutup-rubocop
Library/.rubocop.yml: disable `RescueEnsureAlignment`
2018-09-18 14:13:43 +10:00
commitay
b3e39014c9 Library/Homebrew/.rubocop.yml: remove RescueEnsureAlignment 2018-09-18 13:21:17 +10:00
commitay
737c9ad816 Library/.rubocop.yml: disable RescueEnsureAlignment 2018-09-18 10:30:59 +10:00
Markus Reiter
4897ec02d0
Merge pull request #4919 from reitermarkus/rubocop
Update to RuboCop 0.59.1.
2018-09-18 00:36:59 +02:00
Mike McQuaid
d639559c4d
Merge pull request #4917 from yurikoles/fix-cleanup-doc
add quotes surrounding $(brew --cache) in help for cleanup command
1.7.5
2018-09-17 15:52:01 +01:00
Mike McQuaid
0c6331878f
Use ActiveSupport Hash#deep_merge
And delete our own implementation.
2018-09-17 14:53:01 +01:00
Yurii Kolesnykov
de2700c9b6
add quotes to brew --cache in help for cleanup command 2018-09-17 12:13:29 +03:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Markus Reiter
2d8d412cd4
Merge pull request #4918 from reitermarkus/rubocop
Update RuboCop to 0.58.2.
2018-09-17 01:39:58 +02:00
Markus Reiter
05b71b80e4 Update RuboCop to 0.58.2. 2018-09-17 00:43:39 +02:00
Markus Reiter
2e2e8cca98
Merge pull request #4906 from reitermarkus/backports-delete-prefix
Add `String#delete_prefix` backport.
2018-09-16 23:42:46 +02:00
Markus Reiter
3a0a9f9073 Add String#delete_prefix backport. 2018-09-16 20:07:34 +02:00
Markus Reiter
dfb6ada805
Merge pull request #4902 from MikeMcQuaid/active-support-blank
Use ActiveSupport Object#blank? and #present?
2018-09-16 20:02:00 +02:00
Markus Reiter
bde49f5de6
Merge pull request #4908 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.23.0
Bump parallel_tests from 2.22.1 to 2.23.0 in /Library/Homebrew/test
2018-09-15 04:20:35 +02: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
614ac36e08
Merge pull request #4897 from reitermarkus/__MACOSX
Remove `__MACOSX` directory after unzipping.
2018-09-14 23:38:09 +02:00
Markus Reiter
2635160916
Merge pull request #4866 from amyspark/quarantine-support-unknown
Cask: constrain quarantine support status
2018-09-14 19:13:49 +02:00
Mike McQuaid
955214abc0
Use ActiveSupport Object#blank? and #present? 2018-09-14 17:02:19 +01:00
Mike McQuaid
a4d9b4816d
Partially add ActiveSupport and Concurrent Ruby gems. 2018-09-14 17:01:48 +01:00
L. E. Segovia
123dda09f0
Cask: constrain quarantine support status
Quarantine is available ONLY if the script exits with '2'.
It is definitely NOT available if Swift doesn't exist or if
it exits with '5' (incompatible SDK). All other cases are
from now on treated as unsupported.

Also print to standard error only when explictly required (via an
exception).
2018-09-14 15:48:16 +00:00
Markus Reiter
81cbab846f Remove __MACOSX directory after unzipping. 2018-09-14 17:41:09 +02:00
Markus Reiter
04e3344f8e
Merge pull request #4901 from reitermarkus/rspec-retry
Retry all specs with `:needs_network`.
2018-09-14 17:38:56 +02:00
Markus Reiter
943e227ca1 Retry all specs with :needs_network. 2018-09-14 16:57:14 +02:00
Chongyu Zhu
76b41ba3f7
Merge pull request #4900 from lembacon/curlrc
Make remaining `curl` respect `HOMEBREW_CURLRC`
2018-09-14 21:59:53 +08:00
Mike McQuaid
338255c270
Merge pull request #4899 from MikeMcQuaid/update-bundle-standalone
Update vendored gems
2018-09-14 13:50:24 +01:00
Chongyu Zhu
cc0f17eb7b
cmd/update: make curl respect HOMEBREW_CURLRC 2018-09-14 18:50:21 +08:00
Chongyu Zhu
93cac4ccee
utils/analytics: make curl respect HOMEBREW_CURLRC 2018-09-14 18:50:03 +08:00
Mike McQuaid
a6f25419aa
Update vendored gems
- backports to 3.11.4
- plist to 3.4.0
2018-09-14 10:08:43 +01:00
Mike McQuaid
5772493e24
Merge pull request #4895 from MikeMcQuaid/vendor-bundle-standalone
Use Bundler to manage vendor directory
2018-09-14 09:50:43 +01:00
Mike McQuaid
d7eca0b57c
Use Bundler to manage vendor directory
Rather than having to manually keep track of what version each thing in
here is and copy files around by hand on update let's use Bundler's
standalone mode and careful use of `.gitignore` to help us do it.

This means a `bundle update --standalone` will allow us to update all
gems in vendor.

We could consider vendoring other gems this way in future but I'd
suggest only doing this for gems with no dependencies or at least gems
with no native extensions. The only gem this applies to that we
currently use is `ruby-prof` and I'm not convinced it's widely used
enough to warrant vendoring for everyone. Perhaps that's another
criteria: it should be functionality that's used by non-developer
commands and/or normal Homebrew usage.
2018-09-13 15:24:18 +01:00
Mike McQuaid
1b45666518
Merge pull request #4891 from zgracem/add-commas-to-analytics
use 'number_readable' when displaying analytics
2018-09-13 14:30:15 +01: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
f3ea2a85da
Merge pull request #4890 from sjackman/elide-root-url
Elide default root_url in the bottle block
2018-09-13 14:29:45 +01:00
Mike McQuaid
9a9f9c3e1c
Merge pull request #4887 from MikeMcQuaid/shellenv-sh
cmd/shellenv: use Bash.
2018-09-13 13:58:36 +01:00
Mike McQuaid
29947d858e
Merge pull request #4885 from Homebrew/azure-pipelines
Try Azure Pipelines
2018-09-13 13:58:21 +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
azure-pipelines[bot]
a9cd6632cd
Try Azure Pipelines 2018-09-13 09:16:57 +01:00
Mike McQuaid
be983cfcdf
info: also make verbose output readable. 2018-09-13 09:07:43 +01:00
Mike McQuaid
73e8bf68c7
Merge pull request #4892 from scpeters/bottle_keep-old_root-url
dev-cmd/bottle: fix --keep-old with --root-url
2018-09-13 08:57:26 +01:00
Markus Reiter
705f8b7616
Merge pull request #4873 from reitermarkus/pax
Fix extracting `.pax` archives.
2018-09-13 05:21:44 +02: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
Steven Peters
c4ba06c9fc dev-cmd/bottle: fix --keep-old with --root-url
Don't strip the : from root_url when using --keep-old.
Closes #4554.
2018-09-12 14:48:43 -07:00
Z. Grace Moreau
0aadc1e4e6 use 'number_readable' when displaying analytics 2018-09-12 14:47:40 -06:00
Shaun Jackman
e4f4e0f98b Elide default root_url in the bottle block 2018-09-12 13:10:46 -07:00
L. E. Segovia
d442905719
Upgrade: implement linkage repair
After upgrading existing kegs, we now search and upgrade their
dependents as well. If any are detected that have broken linkage, they
are reinstalled from source.

If there are any formulae in the dependents tree that are pinned, they
are only reinstalled if they're not outdated; in all cases, a suitable
message is printed detailing the kegs that will be acted upon.
2018-09-12 19:28:02 +00:00
Shaun Jackman
a37d46f195
Merge pull request #4772 from alebcay/linuxbrew-merge
Set HOMEBREW_BOTTLE_DEFAULT_DOMAIN based on operating system
2018-09-12 11:11:13 -07:00
Alec Clarke
e6409f6a09 Increase the unit test coverage of messages.rb
This increases the messages.rb unit test coverage to 100%.
2018-09-12 06:11:38 -07:00
Markus Reiter
375088c97c
Merge pull request #4872 from reitermarkus/cleanup-resolve-formulae
Resolve formulae in `brew cleanup`.
2018-09-12 12:48:34 +02:00
Mike McQuaid
f0ab5b0159
Merge pull request #4888 from MikeMcQuaid/goodbye-domt4
README: remove DomT4.
2018-09-12 11:40:04 +01:00