File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -985,19 +985,21 @@ def self.tap_migration_oldnames(current_tap, name_or_token)
985
985
# Array with autobump names
986
986
sig { returns ( T ::Array [ String ] ) }
987
987
def autobump
988
- autobump_packages = if core_cask_tap?
989
- Homebrew ::API ::Cask . all_casks
990
- elsif core_tap?
991
- Homebrew ::API ::Formula . all_formulae
992
- else
993
- { }
994
- end
995
-
996
- @autobump ||= autobump_packages . select do |_ , p |
997
- p [ "autobump" ] == true && !p [ "skip_livecheck" ] && !( p [ "deprecated" ] || p [ "disabled" ] )
998
- end . keys
999
-
1000
- if @autobump . empty?
988
+ # TODO: uncomment when official taps are prepared to use new autobump system
989
+ #
990
+ # autobump_packages = if core_cask_tap?
991
+ # Homebrew::API::Cask.all_casks
992
+ # elsif core_tap?
993
+ # Homebrew::API::Formula.all_formulae
994
+ # else
995
+ # {}
996
+ # end
997
+ #
998
+ # @autobump ||= autobump_packages.select do |_, p|
999
+ # p["autobump"] == true && !p["skip_livecheck"] && !(p["deprecated"] || p["disabled"])
1000
+ # end.keys
1001
+
1002
+ if @autobump . blank?
1001
1003
@autobump = if ( autobump_file = path /HOMEBREW_TAP_AUTOBUMP_FILE ) . file?
1002
1004
autobump_file . readlines ( chomp : true )
1003
1005
else
You can’t perform that action at this time.
0 commit comments