From e1ba143d8849b86d889c3efe4553e4bd4c5115ad Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 29 Jul 2022 17:02:39 +0800 Subject: [PATCH 1/2] download_strategy: replace `bazaar` with `breezy` Bazaar is no longer maintained, and Breezy seems to be a drop-in replacement. I've tested the commands used in the download strategy and they seem to work. We need this in order to properly deprecate the `bazaar` formula. See Homebrew/homebrew-core#106848. --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 171e1e252dd64..44815e7cd12a5 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1280,7 +1280,7 @@ def last_commit def env { - "PATH" => PATH.new(Formula["bazaar"].opt_bin, ENV.fetch("PATH")), + "PATH" => PATH.new(Formula["breezy"].opt_bin, ENV.fetch("PATH")), "BZR_HOME" => HOMEBREW_TEMP, } end From 467a45421fed79665d457d3f30f2deb1706895ec Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 29 Jul 2022 18:10:12 +0800 Subject: [PATCH 2/2] dependency_collector: replace `bazaar` with `breezy` --- Library/Homebrew/dependency_collector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb index aee6fb15ab231..f19b059b1272d 100644 --- a/Library/Homebrew/dependency_collector.rb +++ b/Library/Homebrew/dependency_collector.rb @@ -161,7 +161,7 @@ def resource_dep(spec, tags) elsif strategy <= FossilDownloadStrategy Dependency.new("fossil", tags) elsif strategy <= BazaarDownloadStrategy - Dependency.new("bazaar", tags) + Dependency.new("breezy", tags) elsif strategy <= CVSDownloadStrategy cvs_dep_if_needed(tags) elsif strategy < AbstractDownloadStrategy