Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Homebrew/brew
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.4.14
Choose a base ref
...
head repository: Homebrew/brew
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.4.15
Choose a head ref

Commits on Jul 27, 2020

  1. Copy the full SHA
    7d7b0f9 View commit details

Commits on Aug 20, 2020

  1. Add template titles

    maxim-belkin committed Aug 20, 2020
    Copy the full SHA
    57c02af View commit details

Commits on Aug 21, 2020

  1. Revert short titles

    maxim-belkin committed Aug 21, 2020
    Copy the full SHA
    d7d754f View commit details

Commits on Aug 26, 2020

  1. upgrade: check for already broken dependents

    After upgrading a formula, it currently checks for
    broken dependents after upgrading any outdated dependents.
    If there are no outdated dependents, it exits early
    and doesn't check for broken dependents.
    This adds an earlier check for already broken dependents
    so they can be fixed even if there are no outdated dependents.
    scpeters committed Aug 26, 2020
    Copy the full SHA
    bdfaaf7 View commit details

Commits on Aug 27, 2020

  1. livecheck migration: create Homebrew::Livecheck

    Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
    Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
    Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
    Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
    Co-authored-by: Issy Long <me@issyl0.co.uk>
    Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
    Co-authored-by: Seeker <meaningseeking@protonmail.com>
    8 people committed Aug 27, 2020
    Copy the full SHA
    c9f0642 View commit details
  2. Copy the full SHA
    28c43f1 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    483fbb7 View commit details
  4. Copy the full SHA
    4e0cc48 View commit details
  5. Copy the full SHA
    ee5a201 View commit details
  6. Copy the full SHA
    669ae5c View commit details

Commits on Aug 28, 2020

  1. Bump parallel_tests from 3.1.0 to 3.2.0 in /Library/Homebrew

    Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.1.0 to 3.2.0.
    - [Release notes](https://github.com/grosser/parallel_tests/releases)
    - [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
    - [Commits](grosser/parallel_tests@v3.1.0...v3.2.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Aug 28, 2020
    Copy the full SHA
    7434756 View commit details
  2. Bump sorbet-runtime from 0.5.5880 to 0.5.5881 in /Library/Homebrew

    Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.5880 to 0.5.5881.
    - [Release notes](https://github.com/sorbet/sorbet/releases)
    - [Commits](https://github.com/sorbet/sorbet/commits)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Aug 28, 2020
    Copy the full SHA
    e4ae7db View commit details
  3. Copy the full SHA
    cd075dd View commit details
  4. Merge pull request #8482 from maxim-belkin/non-interactive-sh

    dev-cmd/sh.rb: non-interactive mode
    MikeMcQuaid authored Aug 28, 2020
    Copy the full SHA
    fcacd46 View commit details
  5. Merge pull request #8516 from Homebrew/dependabot/bundler/Library/Hom…

    …ebrew/parallel_tests-3.2.0
    
    Bump parallel_tests from 3.1.0 to 3.2.0 in /Library/Homebrew
    MikeMcQuaid authored Aug 28, 2020
    Copy the full SHA
    dcc5310 View commit details
  6. Merge pull request #8518 from Homebrew/dependabot/bundler/Library/Hom…

    …ebrew/sorbet-runtime-0.5.5881
    
    Bump sorbet-runtime from 0.5.5880 to 0.5.5881 in /Library/Homebrew
    MikeMcQuaid authored Aug 28, 2020
    Copy the full SHA
    fa6e096 View commit details
  7. Bump sorbet from 0.5.5880 to 0.5.5881 in /Library/Homebrew

    Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5880 to 0.5.5881.
    - [Release notes](https://github.com/sorbet/sorbet/releases)
    - [Commits](https://github.com/sorbet/sorbet/commits)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] authored Aug 28, 2020
    Copy the full SHA
    f1f662c View commit details
  8. Merge pull request #8519 from Homebrew/dependabot/bundler/Library/Hom…

    …ebrew/sorbet-0.5.5881
    
    Bump sorbet from 0.5.5880 to 0.5.5881 in /Library/Homebrew
    MikeMcQuaid authored Aug 28, 2020
    Copy the full SHA
    37d6a79 View commit details
  9. Copy the full SHA
    f2e425f View commit details
  10. Merge pull request #8102 from maxim-belkin/feature-template/shorter-t…

    …itles
    
    feature and issue templates: change warning formatting
    maxim-belkin authored Aug 28, 2020
    Copy the full SHA
    5035e59 View commit details
  11. Merge pull request #8521 from Homebrew/tapioca-update

    sorbet: update RBI files using Tapioca.
    MikeMcQuaid authored Aug 28, 2020
    Copy the full SHA
    49fa3cc View commit details
  12. Copy the full SHA
    4377a08 View commit details
  13. Merge pull request #8526 from SeekingMeaning/version/to_str

    version: allow implicitly converting tokens to strings
    dawidd6 authored Aug 28, 2020
    Copy the full SHA
    257e4cc View commit details
  14. Copy the full SHA
    2550af5 View commit details
  15. Copy the full SHA
    0dcfdbe View commit details
  16. Merge pull request #8524 from rmNULL/prb-writing-for-devs

    enable patchelf.rb writing for devs.
    sjackman authored Aug 28, 2020
    Copy the full SHA
    9bbd866 View commit details
  17. Copy the full SHA
    0621563 View commit details
  18. livecheck: update URL in test

    Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
    nandahkrishna and samford authored Aug 28, 2020
    Copy the full SHA
    3cab604 View commit details
  19. Copy the full SHA
    d72bdd7 View commit details

Commits on Aug 29, 2020

  1. Copy the full SHA
    687c87d View commit details
  2. Copy the full SHA
    b1c374b View commit details
  3. Copy the full SHA
    46a93ee View commit details
  4. Merge pull request #8534 from reitermarkus/cask-conflict-warning

    Don't output warning to `stdout`.
    reitermarkus authored Aug 29, 2020
    Copy the full SHA
    747223e View commit details
  5. Copy the full SHA
    bb1be7e View commit details
  6. Copy the full SHA
    0129247 View commit details
  7. Merge pull request #8496 from reitermarkus/debug-git

    Properly fix Git error in tests.
    reitermarkus authored Aug 29, 2020
    Copy the full SHA
    a39aae8 View commit details

Commits on Aug 30, 2020

  1. Copy the full SHA
    24e7f55 View commit details
  2. Print meaningful message on missing formula

    Add an import statement needed for `MissingFormula` to be found.
    
    Fixes #8538.
    
    Reported-by: Nate Whetsell <nathan.whetsell@gmail.com>
    claui committed Aug 30, 2020
    Copy the full SHA
    7d09ddc View commit details
  3. Merge pull request #8539 from claui/fix-8538

    Print meaningful message on missing formula
    reitermarkus authored Aug 30, 2020
    Copy the full SHA
    7eb1a09 View commit details

Commits on Aug 31, 2020

  1. Merge pull request #8254 from nandahkrishna/migrate-livecheck-module

    livecheck migration: create Homebrew::Livecheck
    MikeMcQuaid authored Aug 31, 2020
    Copy the full SHA
    30e177f View commit details
  2. Merge pull request #8533 from Rylan12/deprecate-date-issue

    style: fix deprecation date check
    MikeMcQuaid authored Aug 31, 2020
    Copy the full SHA
    854a139 View commit details
  3. Merge pull request #8529 from maxim-belkin/remove-unsupported-taps

    docs/Interesting-Taps-and-Forks.md: remove unsupported taps
    MikeMcQuaid authored Aug 31, 2020
    Copy the full SHA
    205d4b5 View commit details
  4. Merge pull request #8531 from SeekingMeaning/formulary/bottle-formula…

    …-path
    
    formulary: use formula path when loading from bottle
    MikeMcQuaid authored Aug 31, 2020
    Copy the full SHA
    d6d0e32 View commit details
  5. Merge pull request #8500 from scpeters/upgrade_check_already_broken_d…

    …ependents
    
    upgrade: check for already broken dependents
    MikeMcQuaid authored Aug 31, 2020
    Copy the full SHA
    eb09a09 View commit details
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,9 @@ about: "If you're sure it's reproducible and not just your machine: submit an is

---

# Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
# Bug report

**Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.**

- [ ] ran `brew update` and can still reproduce the problem?
- [ ] ran `brew doctor`, fixed all issues and can still reproduce the problem?
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,9 @@ about: Request our thoughts on your suggestion for a new feature for Homebrew.

---

# Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
# Feature suggestion

**Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.**

<!-- Please fill these sections with the relevant information: -->

10 changes: 5 additions & 5 deletions Library/Homebrew/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ GEM
mini_portile2 (~> 2.4.0)
ntlm-http (0.1.1)
parallel (1.19.2)
parallel_tests (3.1.0)
parallel_tests (3.2.0)
parallel
parlour (4.0.1)
commander (~> 4.5)
@@ -119,10 +119,10 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.2)
sorbet (0.5.5880)
sorbet-static (= 0.5.5880)
sorbet-runtime (0.5.5880)
sorbet-static (0.5.5880-universal-darwin-14)
sorbet (0.5.5881)
sorbet-static (= 0.5.5881)
sorbet-runtime (0.5.5881)
sorbet-static (0.5.5881-universal-darwin-14)
spoom (1.0.4)
colorize
sorbet (~> 0.5.5)
3 changes: 2 additions & 1 deletion Library/Homebrew/cli/named_args.rb
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
require "cask/cask_loader"
require "delegate"
require "formulary"
require "missing_formula"

module Homebrew
module CLI
@@ -180,7 +181,7 @@ def resolve_keg(name)
def warn_if_cask_conflicts(ref, loaded_type)
cask = Cask::CaskLoader.load ref

puts "Treating #{ref} as a #{loaded_type}. For the cask, use #{cask.tap.name}/#{cask.token}"
opoo "Treating #{ref} as a #{loaded_type}. For the cask, use #{cask.tap.name}/#{cask.token}"
rescue Cask::CaskUnavailableError
# No ref conflict with a cask, do nothing
end
49 changes: 29 additions & 20 deletions Library/Homebrew/dev-cmd/sh.rb
Original file line number Diff line number Diff line change
@@ -10,18 +10,19 @@ module Homebrew
def sh_args
Homebrew::CLI::Parser.new do
usage_banner <<~EOS
`sh` [<options>]
`sh` [<options>] [<file>]
Start a Homebrew build environment shell. Uses our years-battle-hardened
Homebrew build logic to help your `./configure && make && make install`
or even your `gem install` succeed. Especially handy if you run Homebrew
Homebrew build environment that uses years-battle-hardened
build logic to help your `./configure && make && make install`
and even your `gem install` succeed. Especially handy if you run Homebrew
in an Xcode-only configuration since it adds tools like `make` to your `PATH`
which build systems would not find otherwise.
EOS
flag "--env=",
description: "Use the standard `PATH` instead of superenv's when `std` is passed."

max_named 0
flag "-c=", "--cmd=",
description: "Execute commands in a non-interactive shell."
max_named 1
end
end

@@ -39,21 +40,29 @@ def sh
# superenv stopped adding brew's bin but generally users will want it
ENV["PATH"] = PATH.new(ENV["PATH"]).insert(1, HOMEBREW_PREFIX/"bin")
end
subshell = if ENV["SHELL"].include?("zsh")
"PS1='brew %B%F{green}%~%f%b$ ' #{ENV["SHELL"]} -d"

ENV["VERBOSE"] = "1" if args.verbose?

if args.cmd.present?
safe_system(ENV["SHELL"], "-c", args.cmd)
elsif args.named.present?
safe_system(ENV["SHELL"], args.named.first)
else
"PS1=\"brew \\[\\033[1;32m\\]\\w\\[\\033[0m\\]$ \" #{ENV["SHELL"]}"
subshell = if ENV["SHELL"].include?("zsh")
"PS1='brew %B%F{green}%~%f%b$ ' #{ENV["SHELL"]} -d"
else
"PS1=\"brew \\[\\033[1;32m\\]\\w\\[\\033[0m\\]$ \" #{ENV["SHELL"]}"
end
puts <<~EOS
Your shell has been configured to use Homebrew's build environment;
this should help you build stuff. Notably though, the system versions of
gem and pip will ignore our configuration and insist on using the
environment they were built under (mostly). Sadly, scons will also
ignore our configuration.
When done, type `exit`.
EOS
$stdout.flush
safe_system subshell
end
ENV["VERBOSE"] = "1"
puts <<~EOS
Your shell has been configured to use Homebrew's build environment;
this should help you build stuff. Notably though, the system versions of
gem and pip will ignore our configuration and insist on using the
environment they were built under (mostly). Sadly, scons will also
ignore our configuration.
When done, type `exit`.
EOS
$stdout.flush
safe_system subshell
end
end
2 changes: 1 addition & 1 deletion Library/Homebrew/formulary.rb
Original file line number Diff line number Diff line change
@@ -175,7 +175,7 @@ def initialize(bottle_name)
def get_formula(spec, force_bottle: false, flags: [], **)
contents = Utils::Bottles.formula_contents @bottle_filename, name: name
formula = begin
Formulary.from_contents(name, @bottle_filename, contents, spec, force_bottle: force_bottle, flags: flags)
Formulary.from_contents(name, path, contents, spec, force_bottle: force_bottle, flags: flags)
rescue FormulaUnreadableError => e
opoo <<~EOS
Unreadable formula in #{@bottle_filename}:
Loading