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
1ab384a3
Commit
1ab384a3
authored
10 years ago
by
Jack Nagel
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Start recording the formula path in the install receipt"
This reverts commit f98d1d660c38afe3caf1450b2443a6d5fab8a14b.
parent
3158c398
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/tab.rb
+11
-22
11 additions, 22 deletions
Library/Homebrew/tab.rb
with
11 additions
and
22 deletions
Library/Homebrew/tab.rb
+
11
−
22
View file @
1ab384a3
...
...
@@ -11,23 +11,16 @@ class Tab < OpenStruct
FILENAME
=
'INSTALL_RECEIPT.json'
def
self
.
create
(
formula
,
compiler
,
stdlib
,
build
)
attributes
=
{
:used_options
=>
build
.
used_options
.
as_flags
,
:unused_options
=>
build
.
unused_options
.
as_flags
,
:tabfile
=>
formula
.
prefix
.
join
(
FILENAME
),
:built_as_bottle
=>
!!
ARGV
.
build_bottle?
,
:poured_from_bottle
=>
false
,
:tapped_from
=>
formula
.
tap
,
:time
=>
Time
.
now
.
to_i
,
:HEAD
=>
Homebrew
.
git_head
,
:compiler
=>
compiler
,
:stdlib
=>
stdlib
,
:source
=>
{
:path
=>
formula
.
path
,
},
}
new
(
attributes
)
Tab
.
new
:used_options
=>
build
.
used_options
.
as_flags
,
:unused_options
=>
build
.
unused_options
.
as_flags
,
:tabfile
=>
formula
.
prefix
.
join
(
FILENAME
),
:built_as_bottle
=>
!!
ARGV
.
build_bottle?
,
:poured_from_bottle
=>
false
,
:tapped_from
=>
formula
.
tap
,
:time
=>
Time
.
now
.
to_i
,
:HEAD
=>
Homebrew
.
git_head
,
:compiler
=>
compiler
,
:stdlib
=>
stdlib
end
def
self
.
from_file
path
...
...
@@ -155,11 +148,7 @@ class Tab < OpenStruct
:time
=>
time
,
:HEAD
=>
self
.
HEAD
,
:stdlib
=>
(
stdlib
.
to_s
if
stdlib
),
:compiler
=>
(
compiler
.
to_s
if
compiler
),
:source
=>
{
:path
=>
source
[
:path
].
to_s
,
},
})
:compiler
=>
(
compiler
.
to_s
if
compiler
)})
end
def
write
...
...
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