From ae43415fb4d01593edda26803830ffe92967ce36 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 20 Mar 2017 15:28:24 +0200 Subject: [PATCH] update-report: migrated formulae were not deleted. The taps they were migrated to are auto-tapped if not already tapped anyway so don't show them as deleted to avoid confusion. --- Library/Homebrew/cmd/update-report.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index c13d820905..b50f2c6477 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -361,7 +361,10 @@ class Reporter case status when "A", "D" - @report[status.to_sym] << tap.formula_file_to_name(src) + full_name = tap.formula_file_to_name(src) + name = full_name.split("/").last + new_tap = tap.tap_migrations[name] + @report[status.to_sym] << full_name unless new_tap when "M" begin formula = Formulary.factory(tap.path/src)