Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Create brew formula #156

Open
mattes opened this issue Feb 10, 2017 · 13 comments
Open

Create brew formula #156

mattes opened this issue Feb 10, 2017 · 13 comments
Milestone

Comments

@mattes
Copy link
Owner

mattes commented Feb 10, 2017

brew install migrate
@mattes mattes added this to the v3 milestone Feb 10, 2017
@duffn
Copy link

duffn commented May 3, 2017

I'll take this if nobody is working on it.

@mattes
Copy link
Owner Author

mattes commented May 3, 2017

cc @mdedgjonaj

@mdedgjonaj
Copy link

Please feel free to take it! I didnt have much time and didnt progress much on it.

@duffn
Copy link

duffn commented May 6, 2017

I'll see if I can give it a go ( 😉 ). I have not done a brew formula myself either.

@omargallob
Copy link

omargallob commented May 10, 2017

any updates regarding this? would like to know if no one has time i might take over

@duffn
Copy link

duffn commented May 10, 2017

@omargallob I have not yet begun. If you would like to start right away, please feel free!

@Mikulas
Copy link

Mikulas commented May 22, 2017

I've attempted to create the Formula, but brew does not accepts binary releases, only builds. I did not manage to install any of the dependencies locally during the build.

This is what I ended up with, (work in progress), if anybody here want's to pick it up https://gist.github.com/Mikulas/f7c878c345bfaa4385bb39f5f5c61dab

@mattes
Copy link
Owner Author

mattes commented May 22, 2017

@Mikulas thanks for your work! Here is how I fetch the dependencies: https://github.com/mattes/migrate/blob/master/Makefile#L59 Does that help? The second line is just needed for the test deps.

@Mikulas
Copy link

Mikulas commented May 25, 2017

I could not figure out why but the go get -v -u ./... failed monumentally in the brew context which seems to change all env vars to the new context.
It failed with error “matched not packages” and no tampering with GOPATH fixed that.

@mkozjak
Copy link

mkozjak commented Jun 6, 2017

@mattes: Will be fixed with Homebrew/homebrew-core#14297.

@bowsersenior
Copy link

@mattes Not sure if you noticed that the homebrew github issue has been closed. See this comment:

Pretty sure that many new users will try to install with homebrew and run into problems, so maybe you should update the documentation to prevent confusion while this is being resolved.

@ernsheong
Copy link

ernsheong commented Aug 17, 2017

$ brew install migrate --with-postgres
Updating Homebrew...
Error: No available formula with the name "migrate" 
==> Searching for a previously deleted formula...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
This similarly named formula was found:
pyenv-pip-migrate
To install it, run:
  brew install pyenv-pip-migrate
==> Searching taps...
Error: No formulae found in taps.

@mrhwick
Copy link

mrhwick commented Nov 7, 2017

Why document it if you haven't done this yet?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants