15166 Commits

Author SHA1 Message Date
Mike McQuaid
128300a754
utils/gems: install Bundler 2.
Our Gemfile requires it and it will result in a more consistent configuration.
2019-02-28 12:29:52 +00:00
John Marshall
a7022736ad Clarify that TeX Live Utility (tlmgr) comes with the TeX installation
MacTeX is the macOS package of TeX Live; also mention the latter for
the sake of non-Mac Brew.
2019-02-28 10:33:45 +00:00
Michka Popoff
ac3841a15c
Merge pull request #5809 from iMichka/pull-linuxbrew
pull: fix tap name for linuxbrew
2019-02-27 23:24:29 +01:00
Michka Popoff
45c61cdcdb pull: fix tap name for linuxbrew 2019-02-27 18:29:59 +01:00
Mike McQuaid
17f3ee1957
Improve Bundler cleanup
Rather than trying to be smart and doing this ourselves in `brew cleanup` let’s just installed Bundler somewhere it doesn’t try to clean itself up and use `bundle install --cleanup` when we need cleanup done.

Also, use `ohai` and `odie` when possible as they look nicer.
2019-02-27 14:02:46 +00:00
Mike McQuaid
97958410f4
dev-cmd/tests: improve parallel args naming. 2019-02-27 14:02:46 +00:00
John Marshall
0c7c45a131 missing_formula: add message for Asymptote
Per Homebrew/legacy-homebrew#23029, there is no formula for Asymptote
because you may well already have it installed via MacTeX anyway.
2019-02-27 08:38:29 +00:00
Mike McQuaid
45243fe449
Revert "Fix Infinite Recursion in upgradable_dependents and broken_dependents" 2019-02-26 16:49:17 +00:00
Mike McQuaid
d1f755959a
Merge pull request #5805 from BenMusch/handle-conflicts
Fix bug in CLI arg/env var prioritization + corresponding tests
2019-02-26 07:55:19 +00:00
okhowang(王沛文)
d959a780d4 use python flock firstly 2019-02-26 14:19:12 +08:00
dependabot[bot]
c14d1286fc
Bump parallel from 1.13.0 to 1.14.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.13.0...v1.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 20:26:28 +00:00
Ben Muschol
4c6ca1c5d9 Fix stub orders, :env_var reference 2019-02-25 15:18:14 -05:00
Mike McQuaid
fcfabfb3c6
dev-cmd/pull_spec: require Homebrew/homebrew-core for subtest. 2019-02-25 17:21:09 +00:00
Mike McQuaid
9b682da37b
Use Homebrew/linuxbrew-core
This would allow the Linuxbrew core tap to live in the Homebrew
organisation.
2019-02-25 14:21:13 +00:00
Shaun Jackman
8abc67a414 vendor-install: Add portable-ruby for aarch64 (ARM64) 2019-02-24 22:36:56 -08:00
Zach Auten
330ae8c6fa print_caveats and get_info return heredocs 2019-02-24 21:53:04 -05:00
dependabot[bot]
5f146cb379
Bump json from 2.1.0 to 2.2.0 in /Library/Homebrew
Bumps [json](https://github.com/flori/json) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v2.1.0...v2.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 12:54:16 +00:00
Mike McQuaid
6c55fe1c35
Merge pull request #5780 from MikeMcQuaid/tests-vendor-join-gemfile
Unify test/vendor Gemfiles and bundler configuration.
2019-02-23 12:49:57 +00:00
Mike McQuaid
ba28853237
Merge pull request #5739 from MikeMcQuaid/governance
Add/link Homebrew Governance document.
2019-02-22 16:50:33 +00:00
Mike McQuaid
d33c225e47
utils/ruby: don't remove cleanup bundler.
We're sharing this directory now.
2019-02-22 15:59:14 +00:00
Mike McQuaid
2f056da40c
Merge pull request #5764 from jonchang/git-origins
diagnostic: refactor git origin checks and also check Cask origin
2019-02-22 15:56:50 +00:00
Shaun Jackman
c20044b43f Fix Hardware::CPU.arm? for aarch64 2019-02-21 21:15:01 -08:00
Jonathan Chang
aff5759920 diagnostic: check cask git origin 2019-02-22 13:10:55 +11:00
Jonathan Chang
f274fa44d8 diagnostic: refactor git origin checks 2019-02-22 13:10:50 +11:00
Zach Auten
ed80b60834 Fixed installation info output and imports 2019-02-21 21:08:57 -05:00
なつき
193ead3c0c
fish 2.x support for brew shellenv 2019-02-21 17:54:29 -08:00
Shaun Jackman
eeed04fdad diagnostic: Fix check_xdg_data_dirs for Linux
Fix Error: undefined method prepend_variable_in_profile'
for Utils::Shell:Module Did you mean? prepend_path_in_profile
2019-02-21 10:06:33 -08:00
Mike McQuaid
1dd8b82c6b
cleanup: run bundle clean. 2019-02-21 16:34:20 +00:00
Mike McQuaid
3a2259c271
utils/gems: silence bundle check output. 2019-02-21 16:34:20 +00:00
Mike McQuaid
6b326f4465
Move all gems to vendor/bundle, remove vendor/bundle-standlone. 2019-02-21 16:34:20 +00:00
Mike McQuaid
921d4aad77
Unify test/vendor Gemfiles and bundler configuration. 2019-02-21 16:34:19 +00:00
Mike McQuaid
e1c12de1ba
Merge pull request #5776 from sjackman/tests-user
tests: Set environment variable USER if not set
2019-02-21 13:26:44 +00:00
Mike McQuaid
b3c33d6d51
brew.*: run Bundler immediately when needed.
This is needed to avoid gem conflicts when `global.rb` is loaded for some commands.
2019-02-21 12:56:22 +00:00
Mike McQuaid
4f76d12874
utils/gems: extract from utils.
Also, don’t use any non-standard Ruby functionality to avoid needing any `requires.
2019-02-21 12:56:22 +00:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier. 2019-02-21 12:55:49 +00:00
dependabot[bot]
eca4af2031
Bump rubocop from 0.64.0 to 0.65.0 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.64.0 to 0.65.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.64.0...v0.65.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-21 12:55:49 +00:00
Mike McQuaid
5f5f9d2672
Merge pull request #5779 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/ruby-macho-2.2.0
Bump ruby-macho from 2.1.0 to 2.2.0 in /Library/Homebrew/vendor
2019-02-21 12:55:18 +00:00
Mike McQuaid
4a7934d85a
Merge pull request #5774 from MikeMcQuaid/formula-installed-handle-standard-error
Formula.installed: handle more exceptions.
2019-02-21 12:28:33 +00:00
Mike McQuaid
72cc196197
brew vendor-gems: commit updates. 2019-02-21 12:25:24 +00:00
dependabot[bot]
fdddc3eb4b
Bump ruby-macho from 2.1.0 to 2.2.0 in /Library/Homebrew/vendor
Bumps [ruby-macho](https://github.com/Homebrew/ruby-macho) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/Homebrew/ruby-macho/releases)
- [Commits](https://github.com/Homebrew/ruby-macho/compare/2.1.0...2.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-21 12:25:18 +00:00
Mike McQuaid
2739f138de
brew vendor-gems: commit updates. 2019-02-21 11:53:23 +00:00
dependabot[bot]
b1fe005fa8
Bump backports from 3.11.4 to 3.12.0 in /Library/Homebrew/vendor
Bumps [backports](https://github.com/marcandre/backports) from 3.11.4 to 3.12.0.
- [Release notes](https://github.com/marcandre/backports/releases)
- [Changelog](https://github.com/marcandre/backports/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/marcandre/backports/compare/v3.11.4...v3.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-21 06:15:54 +00:00
Markus Reiter
c74799fe8a
tests: Use system_command rather than popen_read
Co-Authored-By: sjackman <sjackman@gmail.com>
2019-02-20 11:33:00 -08:00
Shaun Jackman
cb0fe44af3 tests: Set environment variable USER if not set
These two tests fail if the enivornment variable USER is not set:

./test/utils/user_spec.rb:6 # User should eq nil
./test/utils/user_spec.rb:22 # User#gui? when the current user is in a
console session gui? should equal true
2019-02-20 09:38:29 -08:00
Yuta HIGUCHI
64f977158d
Print full tap path for all deprecated taps
Print full tap path for all deprecated taps found so that it can be copy-pasted as `brew untap` argument
2019-02-21 00:06:57 +09:00
Markus Reiter
46c854bbcf
Merge pull request #5771 from reitermarkus/github-no-content
Let `GitHub::open_api` return `nil` when status is `204 No Content`.
2019-02-20 15:47:28 +01:00
Mike McQuaid
f9fda0ffcc
Formula.installed: handle more exceptions.
Regardless of the exception we don't want this method to blow up.

Fixes #5770.
2019-02-20 13:05:36 +00:00
Mike McQuaid
c6101196eb
Merge pull request #5773 from ntkme/shellenv
Support different shells for `brew shellenv`
2019-02-20 12:47:31 +00:00
Mike McQuaid
06a49484fb
Merge pull request #5751 from Frizlab/master
Fix Infinite Recursion in upgradable_dependents and broken_dependents
2019-02-20 10:25:35 +00:00