Merge pull request #14223 from MikeMcQuaid/brew_install_output_fetches

formula_installer: output fetching headers.
This commit is contained in:
Mike McQuaid 2022-12-08 09:42:08 +00:00 committed by GitHub
commit b8c4326aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1161,6 +1161,10 @@ class FormulaInstaller
deps = compute_dependencies
return if deps.empty?
oh1 "Fetching dependencies for #{formula.full_name}: " \
"#{deps.map(&:first).map(&Formatter.method(:identifier)).to_sentence}",
truncate: false
deps.each { |dep, _options| fetch_dependency(dep) }
end
@ -1172,6 +1176,8 @@ class FormulaInstaller
return if only_deps?
oh1 "Fetching #{Formatter.identifier(formula.full_name)}".strip
if pour_bottle?(output_warning: true)
formula.fetch_bottle_tab
elsif formula.core_formula? && Homebrew::EnvConfig.install_from_api?