Revert renaming of tap_git_head
This commit is contained in:
parent
0735eba995
commit
e6dd13d04e
@ -1163,7 +1163,7 @@ class FormulaInstaller
|
|||||||
tab.source["versions"]["stable"] = formula.stable.version.to_s
|
tab.source["versions"]["stable"] = formula.stable.version.to_s
|
||||||
tab.source["versions"]["version_scheme"] = formula.version_scheme
|
tab.source["versions"]["version_scheme"] = formula.version_scheme
|
||||||
tab.source["path"] = formula.specified_path.to_s
|
tab.source["path"] = formula.specified_path.to_s
|
||||||
tab.source["tap_git_revision"] = formula.tap&.installed? ? formula.tap&.git_head : nil
|
tab.source["tap_git_head"] = formula.tap&.installed? ? formula.tap&.git_head : nil
|
||||||
tab.tap = formula.tap
|
tab.tap = formula.tap
|
||||||
tab.write
|
tab.write
|
||||||
|
|
||||||
|
@ -39,11 +39,11 @@ class Tab < OpenStruct
|
|||||||
"runtime_dependencies" => Tab.runtime_deps_hash(formula, runtime_deps),
|
"runtime_dependencies" => Tab.runtime_deps_hash(formula, runtime_deps),
|
||||||
"arch" => Hardware::CPU.arch,
|
"arch" => Hardware::CPU.arch,
|
||||||
"source" => {
|
"source" => {
|
||||||
"path" => formula.specified_path.to_s,
|
"path" => formula.specified_path.to_s,
|
||||||
"tap" => formula.tap&.name,
|
"tap" => formula.tap&.name,
|
||||||
"tap_git_revision" => formula.tap&.git_head,
|
"tap_git_head" => formula.tap&.git_head,
|
||||||
"spec" => formula.active_spec_sym.to_s,
|
"spec" => formula.active_spec_sym.to_s,
|
||||||
"versions" => {
|
"versions" => {
|
||||||
"stable" => formula.stable&.version.to_s,
|
"stable" => formula.stable&.version.to_s,
|
||||||
"head" => formula.head&.version.to_s,
|
"head" => formula.head&.version.to_s,
|
||||||
"version_scheme" => formula.version_scheme,
|
"version_scheme" => formula.version_scheme,
|
||||||
@ -194,11 +194,11 @@ class Tab < OpenStruct
|
|||||||
"runtime_dependencies" => nil,
|
"runtime_dependencies" => nil,
|
||||||
"arch" => nil,
|
"arch" => nil,
|
||||||
"source" => {
|
"source" => {
|
||||||
"path" => nil,
|
"path" => nil,
|
||||||
"tap" => nil,
|
"tap" => nil,
|
||||||
"tap_git_revision" => nil,
|
"tap_git_head" => nil,
|
||||||
"spec" => "stable",
|
"spec" => "stable",
|
||||||
"versions" => {
|
"versions" => {
|
||||||
"stable" => nil,
|
"stable" => nil,
|
||||||
"head" => nil,
|
"head" => nil,
|
||||||
"version_scheme" => 0,
|
"version_scheme" => 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user