diff --git a/docs/Formulary.html b/docs/Formulary.html index e8da77b88..446eef7fa 100644 --- a/docs/Formulary.html +++ b/docs/Formulary.html @@ -678,6 +678,28 @@
-880 -881 -882 -883 -884 -885 -886+893 +894 +895 +896 +897 +898 +899
# File 'formulary.rb', line 880 +# File 'formulary.rb', line 893 def self.canonical_name(ref) loader_for(ref).name @@ -921,16 +965,16 @@
-452 -453 -454 -455 -456 -457 -458+463 +464 +465 +466 +467 +468 +469
# File 'formulary.rb', line 452 +# File 'formulary.rb', line 463 def self.class_s(name) class_name = name.capitalize @@ -974,10 +1018,6 @@
-51 -52 -53 -54 55 56 57 @@ -992,13 +1032,17 @@+69 +70 +71 +72 +7366 67 68 -69
# File 'formulary.rb', line 51 +# File 'formulary.rb', line 55 def self.clear_cache - cache.each do |type, cached_objects| + platform_cache.each do |type, cached_objects| next if type == :formulary_factory cached_objects.each_value do |klass| @@ -1051,14 +1095,14 @@
-460 -461 -462 -463 -464+471 +472 +473 +474 +475
# File 'formulary.rb', line 460 +# File 'formulary.rb', line 471 def self.convert_to_string_or_symbol(string) return string[1..].to_sym if string.start_with?(":") @@ -1100,12 +1144,12 @@
-1008 -1009 -1010+1021 +1022 +1023
# File 'formulary.rb', line 1008 +# File 'formulary.rb', line 1021 def self.core_alias_path(name) CoreTap.instance.alias_dir/name.to_s.downcase @@ -1145,12 +1189,12 @@
-1004 -1005 -1006+1017 +1018 +1019
# File 'formulary.rb', line 1004 +# File 'formulary.rb', line 1017 def self.core_path(name) find_formula_in_tap(name.to_s.downcase, CoreTap.instance) @@ -1235,12 +1279,12 @@
-448 -449 -450+459 +460 +461
# File 'formulary.rb', line 448 +# File 'formulary.rb', line 459 def self.ensure_utf8_encoding(io) io.set_encoding(Encoding::UTF_8) @@ -1407,17 +1451,6 @@
-713 -714 -715 -716 -717 -718 -719 -720 -721 -722 -723 724 725 726 @@ -1434,10 +1467,23 @@+740 +741 +742 +743 +744 +745 +746 +747 +748 +749 +750 +751 +752 +753737 738 739 -740
# File 'formulary.rb', line 713 +# File 'formulary.rb', line 724 def self.factory( ref, @@ -1450,7 +1496,9 @@ignore_errors: T.unsafe(nil) ) cache_key = "#{ref}-#{spec}-#{alias_path}-#{from}" - return cache[:formulary_factory][cache_key] if factory_cached? && cache[:formulary_factory]&.key?(cache_key) + if factory_cached? && platform_cache[:formulary_factory]&.key?(cache_key) + return platform_cache[:formulary_factory][cache_key] + end = { from: from, warn: warn }.compact = { alias_path: alias_path, @@ -1461,8 +1509,8 @@
.get_formula(spec, **) if factory_cached? - cache[:formulary_factory] ||= {} - cache[:formulary_factory][cache_key] ||= formula + platform_cache[:formulary_factory] ||= {} + platform_cache[:formulary_factory][cache_key] ||= formula end formula @@ -1599,19 +1647,19 @@
-1025 -1026 -1027 -1028 -1029 -1030 -1031 -1032 -1033 -1034+1038 +1039 +1040 +1041 +1042 +1043 +1044 +1045 +1046 +1047
# File 'formulary.rb', line 1025 +# File 'formulary.rb', line 1038 def self.find_formula_in_tap(name, tap) filename = if name.end_with?(".rb") @@ -1671,15 +1719,15 @@
-39 -40 -41+43 +44 +45
# File 'formulary.rb', line 39 +# File 'formulary.rb', line 43 def self.formula_class_defined_from_api?(name) - cache.key?(:api) && cache[:api].key?(name) + platform_cache.key?(:api) && platform_cache[:api].key?(name) end
-35 -36 -37+39 +40 +41
# File 'formulary.rb', line 35 +# File 'formulary.rb', line 39 def self.formula_class_defined_from_path?(path) - cache.key?(:path) && cache[:path].key?(path) + platform_cache.key?(:path) && platform_cache[:path].key?(path) end
-47 -48 -49+51 +52 +53
# File 'formulary.rb', line 47 +# File 'formulary.rb', line 51 def self.formula_class_get_from_api(name) - cache[:api].fetch(name) + platform_cache[:api].fetch(name) end
-43 -44 -45+47 +48 +49
# File 'formulary.rb', line 43 +# File 'formulary.rb', line 47 def self.formula_class_get_from_path(path) - cache[:path].fetch(path) + platform_cache[:path].fetch(path) end
-848 -849 -850 -851 -852 -853 -854 -855 -856 -857 -858 -859 -860 861 862 863 864 -865+865 +866 +867 +868 +869 +870 +871 +872 +873 +874 +875 +876 +877 +878
# File 'formulary.rb', line 848 +# File 'formulary.rb', line 861 def self.from_contents( name, @@ -2134,19 +2182,6 @@
-798 -799 -800 -801 -802 -803 -804 -805 -806 -807 -808 -809 -810 811 812 813 @@ -2169,10 +2204,23 @@+833 +834 +835 +836 +837 +838 +839 +840 +841 +842 +843 +844 +845 +846830 831 832 -833
# File 'formulary.rb', line 798 +# File 'formulary.rb', line 811 def self.from_keg( keg, @@ -2346,19 +2394,6 @@
-758 -759 -760 -761 -762 -763 -764 -765 -766 -767 -768 -769 -770 771 772 773 @@ -2366,10 +2401,23 @@+778 +779 +780 +781 +782 +783 +784 +785 +786 +787 +788 +789 +790 +791775 776 777 -778
# File 'formulary.rb', line 758 +# File 'formulary.rb', line 771 def self.from_rack( rack, spec = T.unsafe(nil), @@ -2440,14 +2488,14 @@
-781 -782 -783 -784 -785+794 +795 +796 +797 +798
# File 'formulary.rb', line 781 +# File 'formulary.rb', line 794 def self.keg_only?(rack) Formulary.from_rack(rack).keg_only? @@ -2489,10 +2537,6 @@
-86 -87 -88 -89 90 91 92 @@ -2530,10 +2574,14 @@+127 +128 +129 +130 +131124 125 126 -127
# File 'formulary.rb', line 86 +# File 'formulary.rb', line 90 def self.load_formula(name, path, contents, namespace, flags:, ignore_errors:) raise "Formula loading disabled by HOMEBREW_DISABLE_LOAD_FORMULA!" if Homebrew::EnvConfig.disable_load_formula? @@ -2664,17 +2712,6 @@
-142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 153 154 155 @@ -2923,13 +2960,24 @@+401 +402 +403 +404 +405 +406 +407 +408 +409 +410 +411 +412398 399 400 -401
# File 'formulary.rb', line 142 +# File 'formulary.rb', line 153 def self.load_formula_from_api(name, flags:) - namespace = :"FormulaNamespaceAPI#{Digest::MD5.hexdigest(name)}" + namespace = :"FormulaNamespaceAPI#{namespace_key(name)}" mod = Module.new remove_const(namespace) if const_defined?(namespace) @@ -3185,8 +3233,8 @@klass = T.cast(klass, T.class_of(Formula)) mod.const_set(class_name, klass) - cache[:api] ||= {} - cache[:api][name] = klass + platform_cache[:api] ||= {} + platform_cache[:api][name] = klass end
-133 -134 -135 -136 -137 -138 -139+144 +145 +146 +147 +148 +149 +150
# File 'formulary.rb', line 133 +# File 'formulary.rb', line 144 def self.load_formula_from_path(name, path, flags:, ignore_errors:) contents = path.open("r") { |f| ensure_utf8_encoding(f).read } - namespace = "FormulaNamespace#{Digest::MD5.hexdigest(path.to_s)}" + namespace = "FormulaNamespace#{namespace_key(path.to_s)}" klass = load_formula(name, path, contents, namespace, flags: flags, ignore_errors: ignore_errors) - cache[:path] ||= {} - cache[:path][path] = klass + platform_cache[:path] ||= {} + platform_cache[:path][path] = klass end
-935 -936 -937 -938 -939 -940 -941 -942 -943 -944 -945 -946 -947 948 949 950 @@ -3417,10 +3452,23 @@+1002 +1003 +1004 +1005 +1006 +1007 +1008 +1009 +1010 +1011 +1012 +1013 +1014 +1015999 1000 1001 -1002
# File 'formulary.rb', line 935 +# File 'formulary.rb', line 948 def self.loader_for(ref, from: nil, warn: true) case ref @@ -3493,6 +3541,83 @@
+ This method is part of a private API. + This method may only be used in the Homebrew/brew repository. + Third parties should avoid using this method if possible, as it may be removed or changed without warning. +
+ + + +
+ + + +134 +135 +136 +137 +138+ |
+
+ # File 'formulary.rb', line 134 + +def self.namespace_key(identifier) + Digest::SHA2.hexdigest( + "#{Homebrew::SimulateSystem.current_os}_#{Homebrew::SimulateSystem.current_arch}:#{identifier}", + ) +end+ |
+
-888 -889 -890+901 +902 +903
# File 'formulary.rb', line 888 +# File 'formulary.rb', line 901 def self.path(ref) loader_for(ref).path @@ -3538,6 +3663,51 @@
+ This method is part of a private API. + This method may only be used in the Homebrew/brew repository. + Third parties should avoid using this method if possible, as it may be removed or changed without warning. +
+ + + +
+ + + +35 +36 +37+ |
+
+ # File 'formulary.rb', line 35 + +def self.platform_cache + cache["#{Homebrew::SimulateSystem.current_os}_#{Homebrew::SimulateSystem.current_arch}"] ||= {} +end+ |
+
-404 -405 -406 -407 -408 -409 -410 -411 -412 -413 -414 415 416 417 @@ -3679,10 +3838,21 @@+446 +447 +448 +449 +450 +451 +452 +453 +454 +455 +456 +457443 444 445 -446
# File 'formulary.rb', line 404 +# File 'formulary.rb', line 415 def self.resolve( name, @@ -3762,19 +3932,6 @@
-892 -893 -894 -895 -896 -897 -898 -899 -900 -901 -902 -903 -904 905 906 907 @@ -3792,10 +3949,23 @@+922 +923 +924 +925 +926 +927 +928 +929 +930 +931 +932 +933 +934 +935919 920 921 -922
# File 'formulary.rb', line 892 +# File 'formulary.rb', line 905 def self.tap_formula_name_path(tapped_name, warn:) user, repo, name = tapped_name.split("/", 3).map(&:downcase) @@ -3863,19 +4033,19 @@
-924 -925 -926 -927 -928 -929 -930 -931 -932 -933+937 +938 +939 +940 +941 +942 +943 +944 +945 +946
# File 'formulary.rb', line 924 +# File 'formulary.rb', line 937 def self.tap_loader_for(tapped_name, warn:) name, path, tap = Formulary.tap_formula_name_path(tapped_name, warn: warn) @@ -3922,20 +4092,20 @@
-1012 -1013 -1014 -1015 -1016 -1017 -1018 -1019 -1020 -1021 -1022+1025 +1026 +1027 +1028 +1029 +1030 +1031 +1032 +1033 +1034 +1035
# File 'formulary.rb', line 1012 +# File 'formulary.rb', line 1025 def self.tap_paths(name, taps = Tap) name = name.to_s.downcase @@ -3983,21 +4153,21 @@
-867 -868 -869 -870 -871 -872 -873 -874 -875 -876 -877 -878+880 +881 +882 +883 +884 +885 +886 +887 +888 +889 +890 +891
# File 'formulary.rb', line 867 +# File 'formulary.rb', line 880 def self.to_rack(ref) # If using a fully-scoped reference, check if the formula can be resolved. diff --git a/docs/Formulary/AliasAPILoader.html b/docs/Formulary/AliasAPILoader.html index f0f1adbed..df2204d09 100644 --- a/docs/Formulary/AliasAPILoader.html +++ b/docs/Formulary/AliasAPILoader.html @@ -232,13 +232,13 @@
-688 -689 -690 -691+699 +700 +701 +702
# File 'formulary.rb', line 688 +# File 'formulary.rb', line 699 def initialize(alias_name) super Homebrew::API::Formula.all_aliases[alias_name] diff --git a/docs/Formulary/AliasLoader.html b/docs/Formulary/AliasLoader.html index 5fc954151..ea5044878 100644 --- a/docs/Formulary/AliasLoader.html +++ b/docs/Formulary/AliasLoader.html @@ -219,15 +219,15 @@
-556 -557 -558 -559 -560 -561+567 +568 +569 +570 +571 +572
# File 'formulary.rb', line 556 +# File 'formulary.rb', line 567 def initialize(alias_path) path = alias_path.resolved_path diff --git a/docs/Formulary/BottleLoader.html b/docs/Formulary/BottleLoader.html index 5a4a736cf..d4f831596 100644 --- a/docs/Formulary/BottleLoader.html +++ b/docs/Formulary/BottleLoader.html @@ -241,27 +241,27 @@
-512 -513 -514 -515 -516 -517 -518 -519 -520 -521 -522 523 524 525 526 527 528 -529+529 +530 +531 +532 +533 +534 +535 +536 +537 +538 +539 +540
# File 'formulary.rb', line 512 +# File 'formulary.rb', line 523 def initialize(bottle_name) case bottle_name @@ -323,17 +323,6 @@
-531 -532 -533 -534 -535 -536 -537 -538 -539 -540 -541 542 543 544 @@ -343,10 +332,21 @@+551 +552 +553 +554 +555 +556 +557 +558 +559 +560 +561 +562548 549 550 -551
# File 'formulary.rb', line 531 +# File 'formulary.rb', line 542 def get_formula(spec, force_bottle: false, flags: [], ignore_errors: false, **) formula = begin diff --git a/docs/Formulary/FormulaAPILoader.html b/docs/Formulary/FormulaAPILoader.html index 5909ffedd..6b02bfada 100644 --- a/docs/Formulary/FormulaAPILoader.html +++ b/docs/Formulary/FormulaAPILoader.html @@ -245,12 +245,12 @@
-668 -669 -670+679 +680 +681
# File 'formulary.rb', line 668 +# File 'formulary.rb', line 679 def initialize(name) super name, Formulary.core_path(name) @@ -297,13 +297,13 @@
-672 -673 -674 -675+683 +684 +685 +686
# File 'formulary.rb', line 672 +# File 'formulary.rb', line 683 def klass(flags:, ignore_errors:) load_from_api(flags: flags) unless Formulary.formula_class_defined_from_api?(name) diff --git a/docs/Formulary/FormulaContentsLoader.html b/docs/Formulary/FormulaContentsLoader.html index 1d6ccb3fb..c7a22b69e 100644 --- a/docs/Formulary/FormulaContentsLoader.html +++ b/docs/Formulary/FormulaContentsLoader.html @@ -273,13 +273,13 @@
-654 -655 -656 -657+665 +666 +667 +668
# File 'formulary.rb', line 654 +# File 'formulary.rb', line 665 def initialize(name, path, contents) @contents = contents @@ -327,12 +327,12 @@
-652 -653 -654+663 +664 +665
# File 'formulary.rb', line 652 +# File 'formulary.rb', line 663 def contents @contents @@ -379,14 +379,14 @@
-659 -660 -661 -662 -663+670 +671 +672 +673 +674
# File 'formulary.rb', line 659 +# File 'formulary.rb', line 670 def klass(flags:, ignore_errors:) $stderr.puts "#{$PROGRAM_NAME} (#{self.class.name}): loading #{path}" if debug? diff --git a/docs/Formulary/FormulaLoader.html b/docs/Formulary/FormulaLoader.html index c40841e59..9bde30956 100644 --- a/docs/Formulary/FormulaLoader.html +++ b/docs/Formulary/FormulaLoader.html @@ -368,14 +368,14 @@
-480 -481 -482 -483 -484+491 +492 +493 +494 +495
# File 'formulary.rb', line 480 +# File 'formulary.rb', line 491 def initialize(name, path, tap: nil) @name = name @@ -424,12 +424,12 @@
-476 -477 -478+487 +488 +489
# File 'formulary.rb', line 476 +# File 'formulary.rb', line 487 def alias_path @alias_path @@ -471,12 +471,12 @@
-472 -473 -474+483 +484 +485
# File 'formulary.rb', line 472 +# File 'formulary.rb', line 483 def name @name @@ -518,12 +518,12 @@
-474 -475 -476+485 +486 +487
# File 'formulary.rb', line 474 +# File 'formulary.rb', line 485 def path @path @@ -565,12 +565,12 @@
-478 -479 -480+489 +490 +491
# File 'formulary.rb', line 478 +# File 'formulary.rb', line 489 def tap @tap @@ -619,14 +619,14 @@
-489 -490 -491 -492 -493+500 +501 +502 +503 +504
# File 'formulary.rb', line 489 +# File 'formulary.rb', line 500 def get_formula(spec, alias_path: nil, force_bottle: false, flags: [], ignore_errors: false) alias_path ||= self.alias_path @@ -668,13 +668,13 @@
-495 -496 -497 -498+506 +507 +508 +509
# File 'formulary.rb', line 495 +# File 'formulary.rb', line 506 def klass(flags:, ignore_errors:) load_file(flags: flags, ignore_errors: ignore_errors) unless Formulary.formula_class_defined_from_path?(path) diff --git a/docs/Formulary/FromPathLoader.html b/docs/Formulary/FromPathLoader.html index 56dc5151f..247162297 100644 --- a/docs/Formulary/FromPathLoader.html +++ b/docs/Formulary/FromPathLoader.html @@ -219,14 +219,14 @@
-566 -567 -568 -569 -570+577 +578 +579 +580 +581
# File 'formulary.rb', line 566 +# File 'formulary.rb', line 577 def initialize(path) path = Pathname.new(path). diff --git a/docs/Formulary/FromUrlLoader.html b/docs/Formulary/FromUrlLoader.html index 69b6ade47..9d84f5f3c 100644 --- a/docs/Formulary/FromUrlLoader.html +++ b/docs/Formulary/FromUrlLoader.html @@ -314,18 +314,18 @@
-578 -579 -580 -581 -582 -583 -584 -585 -586+589 +590 +591 +592 +593 +594 +595 +596 +597
# File 'formulary.rb', line 578 +# File 'formulary.rb', line 589 def initialize(url, from: nil) @url = url @@ -378,12 +378,12 @@
-575 -576 -577+586 +587 +588
# File 'formulary.rb', line 575 +# File 'formulary.rb', line 586 def url @url @@ -430,17 +430,6 @@
-588 -589 -590 -591 -592 -593 -594 -595 -596 -597 -598 599 600 601 @@ -451,10 +440,21 @@+609 +610 +611 +612 +613 +614 +615 +616 +617 +618 +619 +620606 607 608 -609
# File 'formulary.rb', line 588 +# File 'formulary.rb', line 599 def load_file(flags:, ignore_errors:) match = url.match(%r{githubusercontent.com/[\w-]+/[\w-]+/[a-f0-9]{40}(?:/Formula)?/(?<name>[\w+-.@]+).rb}) diff --git a/docs/Formulary/NullLoader.html b/docs/Formulary/NullLoader.html index e002ce24f..b105eb633 100644 --- a/docs/Formulary/NullLoader.html +++ b/docs/Formulary/NullLoader.html @@ -241,12 +241,12 @@
-640 -641 -642+651 +652 +653
# File 'formulary.rb', line 640 +# File 'formulary.rb', line 651 def initialize(name) super name, Formulary.core_path(name) @@ -306,12 +306,12 @@
-644 -645 -646+655 +656 +657
# File 'formulary.rb', line 644 +# File 'formulary.rb', line 655 def get_formula(*) raise FormulaUnavailableError, name diff --git a/docs/Formulary/TapLoader.html b/docs/Formulary/TapLoader.html index aa281b940..941940861 100644 --- a/docs/Formulary/TapLoader.html +++ b/docs/Formulary/TapLoader.html @@ -248,18 +248,18 @@
-614 -615 -616 -617 -618 -619 -620 -621 -622+625 +626 +627 +628 +629 +630 +631 +632 +633
# File 'formulary.rb', line 614 +# File 'formulary.rb', line 625 def get_formula(spec, alias_path: nil, force_bottle: false, flags: [], ignore_errors: false) super @@ -305,15 +305,15 @@
-624 -625 -626 -627 -628 -629+635 +636 +637 +638 +639 +640
# File 'formulary.rb', line 624 +# File 'formulary.rb', line 635 def load_file(flags:, ignore_errors:) super diff --git a/docs/Homebrew.html b/docs/Homebrew.html index 6c7087193..ae5b48557 100644 --- a/docs/Homebrew.html +++ b/docs/Homebrew.html @@ -9273,8 +9273,7 @@+8582 83 84 -85 -86
# File 'cmd/--cache.rb', line 48 @@ -9298,7 +9297,6 @@+335os_arch_combinations.each do |os, arch| SimulateSystem.with os: os, arch: arch do - Formulary.clear_cache formula = Formulary.factory(ref) print_formula_cache(formula, os: os, arch: arch, args: args) end @@ -10762,11 +10760,7 @@
332 333 334 -335 -336 -337 -338 -339
# File 'dev-cmd/audit.rb', line 108 @@ -10871,8 +10865,6 @@+187spdx_license_data = SPDX.license_data spdx_exception_data = SPDX.exception_data - clear_formulary_cache = [args.os, args.arch].any? - formula_problems = audit_formulae.sort.each_with_object({}) do |f, problems| path = f.path @@ -10894,8 +10886,6 @@
SimulateSystem.with os: os, arch: arch do odebug "Auditing Formula #{f} on os #{os} and arch #{arch}" - Formulary.clear_cache if clear_formulary_cache - audit_proc = proc { FormulaAuditor.new(Formulary.factory(path), **).tap(&:audit) } # Audit requires full Ruby source so disable API. @@ -20657,8 +20647,7 @@
184 185 186 -187 -188
# File 'cmd/fetch.rb', line 72 @@ -20693,7 +20682,6 @@os_arch_combinations.each do |os, arch| SimulateSystem.with os: os, arch: arch do - Formulary.clear_cache formula = Formulary.factory(ref, args.HEAD? ? :head : :stable) formula.print_tap_action verb: "Fetching" @@ -20959,15 +20947,15 @@
+204 205 206 207 208 -209 -210+209
# File 'cmd/fetch.rb', line 205 +# File 'cmd/fetch.rb', line 204 def self.fetch_cask(cask_download, args:) fetch_fetchable cask_download, args: args @@ -20995,6 +20983,7 @@
+237 238 239 240 @@ -21012,11 +21001,10 @@+255252 253 254 -255 -256
# File 'cmd/fetch.rb', line 238 +# File 'cmd/fetch.rb', line 237 def self.fetch_fetchable(formula, args:) formula.clear_cache if args.force? @@ -21057,15 +21045,15 @@
+197 198 199 200 201 -202 -203+202
# File 'cmd/fetch.rb', line 198 +# File 'cmd/fetch.rb', line 197 def self.fetch_formula(formula, args:) fetch_fetchable formula, args: args @@ -21093,15 +21081,15 @@
+211 212 213 214 215 -216 -217+216
# File 'cmd/fetch.rb', line 212 +# File 'cmd/fetch.rb', line 211 def self.fetch_patch(patch, args:) fetch_fetchable patch, args: args @@ -21129,16 +21117,16 @@
+189 190 191 192 193 194 -195 -196+195
# File 'cmd/fetch.rb', line 190 +# File 'cmd/fetch.rb', line 189 def self.fetch_resource(resource, args:) puts "Resource: #{resource.name}" @@ -21427,18 +21415,18 @@
+351 +352 +353 +354 355 356 357 358 -359 -360 -361 -362 -363+359
# File 'dev-cmd/audit.rb', line 355 +# File 'dev-cmd/audit.rb', line 351 def self.format_problem_lines(problems) problems.map do |problem| @@ -33715,12 +33703,12 @@
+119 120 -121 -122+121
# File 'cmd/--cache.rb', line 120 +# File 'cmd/--cache.rb', line 119 def self.print_cask_cache(cask) puts Cask::Download.new(cask).downloader.cached_location @@ -33803,6 +33791,7 @@
+88 89 90 91 @@ -33830,11 +33819,10 @@+116113 114 115 -116 -117
# File 'cmd/--cache.rb', line 89 +# File 'cmd/--cache.rb', line 88 def self.print_formula_cache(formula, os:, arch:, args:) if fetch_bottle?( @@ -34305,6 +34293,10 @@
+337 +338 +339 +340 341 342 343 @@ -34313,14 +34305,10 @@+349346 347 348 -349 -350 -351 -352 -353
# File 'dev-cmd/audit.rb', line 341 +# File 'dev-cmd/audit.rb', line 337 def self.print_problems(results, display_filename:) results.each do |(name, path), problems| @@ -37669,6 +37657,7 @@
+218 219 220 221 @@ -37685,11 +37674,10 @@+235232 233 234 -235 -236
# File 'cmd/fetch.rb', line 219 +# File 'cmd/fetch.rb', line 218 def self.retry_fetch?(formula, args:) @fetch_tries ||= Hash.new { |h, k| h[k] = 1 } diff --git a/docs/TestRunnerFormula.html b/docs/TestRunnerFormula.html index a01c966d0..20dd95175 100644 --- a/docs/TestRunnerFormula.html +++ b/docs/TestRunnerFormula.html @@ -1024,9 +1024,7 @@+113110 111 112 -113 -114 -115
# File 'test_runner_formula.rb', line 89 @@ -1042,8 +1040,6 @@end with_env(HOMEBREW_EVAL_ALL: eval_all_env) do - Formulary.clear_cache - os = macos_version || platform arch = SIMULATE_SYSTEM_SYMBOLS.fetch(arch) diff --git a/docs/method_list.html b/docs/method_list.html index 33221505e..087c2543a 100644 --- a/docs/method_list.html +++ b/docs/method_list.html @@ -20221,6 +20221,14 @@
Method List