New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chartmuseum 0.9.0 (new formula) #44825
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@prabhu43 any update on this PR? |
@chenrui333 I fixed the test. Please check now |
baffb6c
to
aa2897d
Compare
Signed-off-by: Prabhu Jayakumar <j.prabhu91@gmail.com>
@chenrui333 Any update on this PR? |
assert_predicate testpath/"output.log", :exist?, "output.log file should exist" | ||
assert_match "Starting ChartMuseum {\"port\": 33333}", File.read(testpath/"output.log") | ||
|
||
puts "Test success!!!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't put in formulae.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SMillerDev I will remove that puts
assert_match "Starting ChartMuseum {\"port\": 33333}", File.read(testpath/"output.log") | ||
|
||
puts "Test success!!!" | ||
exec "kill $(lsof -t -i :33333)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already done by the ensure block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SMillerDev In ensure block, only the parent process is getting killed
"build", | ||
"-v", | ||
"-ldflags", | ||
"-X main.Version=#{version} -X main.Revision=9382222", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that revision always correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it will change for different versions. I will fix it by using git url to download
Closing for now, due to lack of progress |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?