tab: add bottle_rebuild to runtime_dependencies.

It can be useful to know, if a formula's dependencies were installed
from a bottle, what rebuild of the bottle was used for debugging.
This commit is contained in:
Mike McQuaid 2025-03-24 17:37:06 +00:00
parent f104184214
commit 9e789279f5
No known key found for this signature in database

View File

@ -100,9 +100,10 @@ class AbstractTab
"full_name" => formula.full_name, "full_name" => formula.full_name,
"version" => formula.version.to_s, "version" => formula.version.to_s,
"revision" => formula.revision, "revision" => formula.revision,
"bottle_rebuild" => formula.bottle&.rebuild,
"pkg_version" => formula.pkg_version.to_s, "pkg_version" => formula.pkg_version.to_s,
"declared_directly" => declared_deps.include?(formula.full_name), "declared_directly" => declared_deps.include?(formula.full_name),
} }.compact
end end
private_class_method :formula_to_dep_hash private_class_method :formula_to_dep_hash