Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

prabhu43
Copy link

@prabhu43 prabhu43 commented Oct 2, 2019

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Copy link
Member

@chenrui333 chenrui333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Formula/chartmuseum.rb Outdated Show resolved Hide resolved
@fxcoudert fxcoudert added the new formula PR adds a new formula to Homebrew/homebrew-core label Oct 3, 2019
@chenrui333
Copy link
Member

@prabhu43 any update on this PR?

@prabhu43
Copy link
Author

prabhu43 commented Oct 8, 2019

@chenrui333 I fixed the test. Please check now

@prabhu43 prabhu43 force-pushed the master branch 2 times, most recently from baffb6c to aa2897d Compare October 9, 2019 05:45
Formula/chartmuseum.rb Outdated Show resolved Hide resolved
Formula/chartmuseum.rb Outdated Show resolved Hide resolved
Signed-off-by: Prabhu Jayakumar <j.prabhu91@gmail.com>
@prabhu43
Copy link
Author

@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!!!"
Copy link
Member

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.

Copy link
Author

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)"
Copy link
Member

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

Copy link
Author

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",
Copy link
Member

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?

Copy link
Author

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

@fxcoudert
Copy link
Member

Closing for now, due to lack of progress

@fxcoudert fxcoudert closed this Dec 24, 2019
@lock lock bot added the outdated PR was locked due to age label Jan 24, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new formula PR adds a new formula to Homebrew/homebrew-core outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants