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

migrate 3.0.1 (new formula) #13804

Closed
wants to merge 1 commit into from
Closed

Conversation

Mikulas
Copy link

@Mikulas Mikulas commented May 22, 2017

  • 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?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

This PR adds Formula for https://github.com/mattes/migrate

Closes mattes/migrate#156

@fxcoudert fxcoudert added the new formula PR adds a new formula to Homebrew/homebrew-core label May 22, 2017
@Mikulas
Copy link
Author

Mikulas commented May 22, 2017

Hm, the test failed on fetch from a GitHub release, which is public. Maybe a rate limit issue?

@@ -0,0 1,16 @@
class Migrate < Formula
desc "Database migrations. CLI and Golang library."
Copy link
Member

Choose a reason for hiding this comment

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

One sentence only, not final period

end

test do
system "#{bin}/migrate", "-version"
Copy link
Member

Choose a reason for hiding this comment

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

We would also need a test that does more that output version number

sha256 "17e19678e930d4a48114937fb07300c107088d86a80c798630fabc08d32ee4ee"

def install
mv "migrate.darwin-amd64", "migrate"
Copy link
Member

Choose a reason for hiding this comment

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

Definitely not :)

Our policy is that formulae in the core tap (homebrew/core) must be open-source and either built from source or produce cross-platform binaries (e.g. Java). Binary-only formulae should go to Homebrew Cask.

@fxcoudert fxcoudert closed this May 22, 2017
@fxcoudert fxcoudert reopened this May 22, 2017
@Mikulas
Copy link
Author

Mikulas commented May 22, 2017

Thanks, I understand the comments. Unfortunately I didn't manage to get all the dependencies and build the binary locally. I will reopen this ticket if I find a way to fix it.

@Mikulas Mikulas closed this May 22, 2017
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants