16125 Commits

Author SHA1 Message Date
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
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
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
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
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
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.
2019-02-17 12:59:18 +00: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
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
Mike McQuaid
67cbb129ff
diagnostic: warn people about tapped, deprecated taps. 2019-02-16 20:07:10 +00:00
Mike McQuaid
e7ce5dddb7
update: recommend 'brew untap` if tap doesn't exist.
We removed a few old, deprecated repos recently and people with them
still tapped who get confused at the `brew update` error message.
2019-02-16 19:57:56 +00:00
Mike McQuaid
f3716fe2d8
Merge pull request #5738 from BenMusch/handle-conflicts
Prioritize CLI arguments over env vars when they conflict
2019-02-16 19:15:05 +00:00
Frizlab
c27ba5c4bd Print a warning when a recursive upgradable or broken dependant has been found 2019-02-16 14:40:29 +01:00
Ben Muschol
c7831a457d Get brew style to pass 2019-02-16 07:56:12 -05:00
Markus Reiter
e9c45ff17b Pass additional options to GitHub.pull_requests. 2019-02-16 11:30:49 +01:00
Mike McQuaid
6f9a142a05
Merge pull request #5742 from MikeMcQuaid/caveats-prefix
formula: make JSON caveats output use consistent prefix.
2019-02-16 09:50:46 +00:00
Mike McQuaid
e81f84b109
Merge pull request #5748 from MikeMcQuaid/bottle-arch
cmd/install: add --bottle-arch.
2019-02-16 09:44:43 +00:00
Markus Reiter
713453cc2f
Merge pull request #5745 from reitermarkus/cask-edit
Allow editing broken casks.
2019-02-16 10:20:56 +01:00
Frizlab
b4f76db37c Fix infinite recursion in upgradable_dependents and broken_dependents 2019-02-16 00:04:12 +01:00
Markus Reiter
5536432c4f Allow editing broken casks. 2019-02-15 22:05:28 +01:00
Mike McQuaid
c25261a665
cmd/install: add --bottle-arch.
This argument was missing when the command-line parser code was added.

Fixes #5741.
2019-02-15 20:13:05 +00:00
Ben Muschol
c745738c55 Make from: required, fix flaky test 2019-02-15 14:15:34 -05:00
Markus Reiter
cd03c0f86d Retry merging once after 5 seconds. 2019-02-15 19:48:12 +01:00
Mike McQuaid
5d729dd310
formula: make JSON caveats output use consistent prefix.
This will avoid this changing depending on the generation location.
2019-02-15 17:39:20 +00:00
Ben Muschol
ac005fa4ce rename source to from, change values 2019-02-15 11:01:28 -05:00
Markus Reiter
68e0c5f904 Check for write access instead of HOMEBREW_DEVELOPER. 2019-02-15 16:27:37 +01:00
Markus Reiter
57fefff942 Add brew cask automerge command. 2019-02-15 16:27:37 +01:00
Mike McQuaid
aafcbc1153
Add/link Homebrew Governance document. 2019-02-15 10:54:30 +00:00
Mike McQuaid
2ca56f6731
Merge pull request #5733 from MikeMcQuaid/docker-root
brew.sh: allow Docker to run as root.
2019-02-15 10:54:08 +00:00
Mike McQuaid
31dd2ee856
brew.sh: allow Docker to run as root. 2019-02-15 10:03:53 +00:00
Markus Reiter
78d4373543 Simplify DEFAULT_DIRS. 2019-02-15 10:09:14 +01:00
Markus Reiter
3bf7e5bce5 Remove Cask::Config#write. 2019-02-15 10:09:14 +01:00
Markus Reiter
4c6d0ba069 Rename dirs.json to config.json. 2019-02-15 10:09:14 +01:00
Markus Reiter
bcdb4a3f32 Add Cask::Config::canonicalize. 2019-02-15 10:09:14 +01:00
Markus Reiter
defbf7d74c Don’t ignore other arguments in HOMEBREW_CASK_OPTS. 2019-02-15 10:09:14 +01:00
Markus Reiter
707cb33346 Add tests for Cask::Config. 2019-02-15 10:09:14 +01:00
Markus Reiter
190ff7558a Use saved cask config for reinstall/upgrade/uninstall. 2019-02-15 10:09:14 +01:00
Markus Reiter
fda6e0cab3 Split cask config into three tiers. 2019-02-15 10:09:14 +01:00
Markus Reiter
1e1ce1c471 Save config file for casks. 2019-02-15 10:09:14 +01:00
Ben Muschol
440fb185dd Fix 1 style conflict, keep the other for consistency 2019-02-15 01:16:07 -05:00
Ben Muschol
f8d84249aa Prioritize CLI arguments over env vars when they conflict 2019-02-15 00:52:30 -05:00
Mike McQuaid
948b367ac3
brew.rb: don't try to uninstall brew-cask keg.
This is long gone at this point so no need to keep this code around.
2019-02-13 15:43:17 +00:00
Mike McQuaid
bb6fe17a97
Merge pull request #5723 from MikeMcQuaid/download-strategy-fix-content-encoding
download_strategy: more robust filename content encoding handling.
2019-02-13 14:41:43 +00:00