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
eb880f636c
Merge pull request #5778 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/backports-3.12.0
...
Bump backports from 3.11.4 to 3.12.0 in /Library/Homebrew/vendor
2019-02-21 12:19:51 +00:00
Mike McQuaid
2739f138de
brew vendor-gems: commit updates.
2019-02-21 11:53:23 +00:00
Mike McQuaid
c16e60ef1e
gitignore: ignore 2.6.0 backports.
2019-02-21 11:53:01 +00:00
Mike McQuaid
bcc92258bd
gitignore: ignore psych gem.
2019-02-21 11:47:17 +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
Mike McQuaid
4d68bee1be
Merge pull request #5775 from y-higuchi/deprecated-tap-path
...
Print full tap path for all deprecated taps found by brew doctor
2019-02-20 16:37:10 +00: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
なつき
50ba2ad93f
Support different shells for brew shellenv
2019-02-20 10:21:55 +00:00
Mike McQuaid
407ef41dd2
Merge pull request #5761 from sjackman/azure-test-docker
...
azure-pipelines.yml: Build and test Docker image
2019-02-20 09:52:36 +00:00
Mike McQuaid
ee246bebe4
Merge pull request #5772 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.65.0
...
Bump rubocop from 0.64.0 to 0.65.0 in /Library/Homebrew/vendor
2019-02-20 09:44:07 +00:00
dependabot[bot]
10cb948c5e
Bump rubocop from 0.64.0 to 0.65.0 in /Library/Homebrew/vendor
...
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-20 05:57:14 +00:00
Markus Reiter
a4e0413bf9
Let GitHub::open_api
return nil
when status is 204 No Content
.
2019-02-20 02:11:19 +01:00
Shaun Jackman
e39465c1d6
Azure: Export brew-test-bot.xml from Docker
2019-02-19 14:51:24 -08:00
Shaun Jackman
157d8d2ffc
Dockerfile.test.yml: Export Azure environment vars
2019-02-19 11:34:18 -08:00
Shaun Jackman
d72a0ac584
azure-pipelines.yml Run test-bot within Docker
2019-02-19 11:34:18 -08:00
Shaun Jackman
5c05d98795
auzure-pipelines.yml: Create ~/.linuxbrew/Homebrew
2019-02-19 11:34:18 -08:00
Shaun Jackman
a8b7337357
azure-pipelines.yml: Build and test Docker image
2019-02-19 11:34:18 -08:00
Mike McQuaid
605c0e8239
Merge pull request #5769 from waldyrious/patch-1
...
missing_formula.rb: add help message for uconv
2019-02-19 12:56:36 +00:00
Waldir Pimenta
d4e3fb45cb
missing_formula.rb: add help message for uconv
2019-02-19 10:51:52 +00:00
Mike McQuaid
78a1732ba2
Merge pull request #5759 from adunning/patch-1
...
Clean up blacklisted package messages
2019-02-19 08:03:55 +00:00
Mike McQuaid
900eef347f
Merge pull request #5766 from scpeters/tap_no_args_means_no_update
...
tap: skip auto-update if called with no args
2019-02-19 08:03:19 +00:00
Steven Peters
58104ab838
tap: skip auto-update if called with no args
2019-02-18 20:45:26 -08:00
Andrew Dunning
332f437f39
MacRuby > RubyMotion
2019-02-18 16:20:59 -05:00
Andrew Dunning
1efdd41887
Further improvement to blacklist messages
2019-02-18 15:42:49 -05:00
Mike McQuaid
ef5366dac5
Merge pull request #5765 from MikeMcQuaid/argv-freeze
...
ARGV: freeze when using CLI::Parser.
2019-02-18 19:06:30 +00:00
Mike McQuaid
cee75b6af2
ARGV: freeze when using CLI::Parser.
...
Otherwise `Homebrew.args` values may not match those of modified `ARGV`.
2019-02-18 16:56:43 +00:00
Shaun Jackman
10553e5729
Update docs/Homebrew-Governance.md
...
Co-Authored-By: MikeMcQuaid <mike@mikemcquaid.com>
2019-02-18 16:26:34 +00:00
Zach Auten
554106d2e0
Updated missing formula cask reason
...
- search_for_cask in missing_formula renamed to is_a_cask_reason
- is_a_cask calls new getInfo method in cask/cmd/info.rb to return info
string
- self.info in info.rb now calls getInfo and puts return value
- added ohai_title to return the ohai printout for only titles, so that
ohai printout could be added to the getInfo return string without
calling puts.
- refactored ohai to use ohai_title
- updated info_spec.rb cask info test to be more specific when
matching stderr.
- is_a_cask_reason will respect 'silent'
- refactored print_caveats to return instead of print
2019-02-18 03:33:57 -05:00
Zach Auten
648c8e4672
Merge branch 'master' into brew-info-display-casks
2019-02-18 03:26:43 -05:00
Mike McQuaid
117c24f4b6
Merge pull request #5756 from MikeMcQuaid/update-untap
...
Improve handling of deleted taps.
2.0.2
2019-02-17 12:59:18 +00:00
Shaun Jackman
2864ed9126
Merge pull request #5760 from sjackman/dockerfile-test
...
Dockerfile.test.yml: Run brew test-bot as linuxbrew
2019-02-17 00:05:59 -05:00
Shaun Jackman
a30b69c318
Dockerfile.test.yml: Run brew test-bot as linuxbrew
...
Running brew test-bot as root fails.
==> Running brew update...
Error: Running Homebrew as root is extremely dangerous and no longer supported.
2019-02-16 20:39:25 -08:00
Andrew Dunning
60b698ba28
Clean up blacklisted package messages
...
Ensure consistent formatting and provide references to all MacTeX packages
2019-02-16 17:31:24 -05:00
Michka Popoff
d27320087a
Merge pull request #5757 from sjackman/tests-root
...
tests: Disable tests that require being non-root
2019-02-16 23:13:43 +01:00
Shaun Jackman
3bcffeae15
tests: Disable tests that require being non-root
...
Set the environment variable USER=root which is required by
brew tests --only=utils/user
Fix these tests:
rspec ./test/diagnostic_checks_spec.rb:26 # Homebrew::Diagnostic::Checks #check_access_directories
rspec ./test/pathname_spec.rb:120 # Pathname#ensure_writable makes a file writable and restores permissions
rspec ./test/utils/user_spec.rb:22 # User#gui? when the current user is in a console session gui? should equal true
rspec ./test/utils/user_spec.rb:6 # User should eq nil
2019-02-16 12:55:09 -08:00
Mike McQuaid
ae7492f3b5
Remove "undocumented options" that are documented options.
2019-02-16 20:07:28 +00:00