Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
0735eba9
Unverified
Commit
0735eba9
authored
3 years ago
by
Nanda H Krishna
Browse files
Options
Downloads
Patches
Plain Diff
formula_installer: improve support for local bottle installs
parent
e0a66bb9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/formula_installer.rb
+2
-2
2 additions, 2 deletions
Library/Homebrew/formula_installer.rb
Library/Homebrew/tab.rb
+10
-10
10 additions, 10 deletions
Library/Homebrew/tab.rb
with
12 additions
and
12 deletions
Library/Homebrew/formula_installer.rb
+
2
−
2
View file @
0735eba9
...
...
@@ -404,7 +404,7 @@ class FormulaInstaller
options
=
display_options
(
formula
).
join
(
" "
)
oh1
"Installing
#{
Formatter
.
identifier
(
formula
.
full_name
)
}
#{
options
}
"
.
strip
if
show_header?
unless
formula
.
tap
&
.
private?
if
formula
.
tap
&
.
installed?
&&
!
formula
.
tap
&
.
private?
action
=
"
#{
formula
.
full_name
}
#{
options
}
"
.
strip
Utils
::
Analytics
.
report_event
(
"install"
,
action
)
...
...
@@ -1163,7 +1163,7 @@ class FormulaInstaller
tab
.
source
[
"versions"
][
"stable"
]
=
formula
.
stable
.
version
.
to_s
tab
.
source
[
"versions"
][
"version_scheme"
]
=
formula
.
version_scheme
tab
.
source
[
"path"
]
=
formula
.
specified_path
.
to_s
tab
.
source
[
"tap_git_
head
"
]
=
formula
.
tap
&
.
git_head
tab
.
source
[
"tap_git_
revision
"
]
=
formula
.
tap
&
.
installed?
?
formula
.
tap
&
.
git_head
:
nil
tab
.
tap
=
formula
.
tap
tab
.
write
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/tab.rb
+
10
−
10
View file @
0735eba9
...
...
@@ -39,11 +39,11 @@ class Tab < OpenStruct
"runtime_dependencies"
=>
Tab
.
runtime_deps_hash
(
formula
,
runtime_deps
),
"arch"
=>
Hardware
::
CPU
.
arch
,
"source"
=>
{
"path"
=>
formula
.
specified_path
.
to_s
,
"tap"
=>
formula
.
tap
&
.
name
,
"tap_git_
head
"
=>
formula
.
tap
&
.
git_head
,
"spec"
=>
formula
.
active_spec_sym
.
to_s
,
"versions"
=>
{
"path"
=>
formula
.
specified_path
.
to_s
,
"tap"
=>
formula
.
tap
&
.
name
,
"tap_git_
revision
"
=>
formula
.
tap
&
.
git_head
,
"spec"
=>
formula
.
active_spec_sym
.
to_s
,
"versions"
=>
{
"stable"
=>
formula
.
stable
&
.
version
.
to_s
,
"head"
=>
formula
.
head
&
.
version
.
to_s
,
"version_scheme"
=>
formula
.
version_scheme
,
...
...
@@ -194,11 +194,11 @@ class Tab < OpenStruct
"runtime_dependencies"
=>
nil
,
"arch"
=>
nil
,
"source"
=>
{
"path"
=>
nil
,
"tap"
=>
nil
,
"tap_git_
head
"
=>
nil
,
"spec"
=>
"stable"
,
"versions"
=>
{
"path"
=>
nil
,
"tap"
=>
nil
,
"tap_git_
revision
"
=>
nil
,
"spec"
=>
"stable"
,
"versions"
=>
{
"stable"
=>
nil
,
"head"
=>
nil
,
"version_scheme"
=>
0
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment