From c37794e653650f4453ced665d362658702f37236 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 29 Jun 2021 14:46:08 +0100 Subject: [PATCH] formula_support: deprecate `bottle :unneeded`/`:disabled` in 3.3.0 We'll no longer need this DSL so let's move towards deprecation. --- Library/Homebrew/formula_support.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index fce3bed2bc..ccbfe63f59 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -69,6 +69,9 @@ class BottleDisableReason def initialize(type, reason) @type = type @reason = reason + # TODO: 3.3.0 should deprecate this behaviour as it was only needed for + # Homebrew/core (where we don't want unneeded or disabled bottles any more) + # odeprecated "bottle :#{@type}" if valid? end def unneeded?