Homebrew now has a formula for dep: https://github.com/Homebrew/homebrew-core/pull/16339
This solves the problem of installing versioned version of dep as opposed to using go get with master branch.
I propose to add it to README.
oh, yes, awesome! please do!
there is a question of maintenance on this, of course - what do we have to do to ensure brew has new releases, as we make them?
So far I only left comments in above-mentioned PR. 馃槀 But it's better to send PRs created with brew bump-formula-pr and mention a maintainer. @ilovezfs is ok to poke you every time a new version is released?
@AlekSi In terms of poking me, it shouldn't be necessary because the new version will be detected by brew livecheck
Josephs-MacBook-Pro:~ joe$ brew livecheck dep
dep (guessed) : 0.3.0 ==> 0.3.0
so I will know on the next run.
But please feel free to open a PR of your own with bump-formula-pr if you happen to get to it before me.
there is a question of maintenance on this, of course - what do we have to do to ensure brew has new releases, as we make them?
@sdboyer just be sure to create a tag and publish a release with the GitHub GUI as you've been doing already!
https://github.com/golang/dep/releases/latest should always point to what you want in Homebrew.
@ilovezfs Is there "install or upgrade formula" command I can put in README?
Technically brew reinstall dep will do that but I would recommend specifying brew install dep and brew upgrade dep separately because that's not brew reinstall's primary intended use.
there is a question of maintenance on this, of course - what do we have to do to ensure brew has new releases, as we make them?
Note that some upstreams have fully automated their use of brew bump-formula-pr as part of their release process.
For example
flow's flow-bot (see https://github.com/Homebrew/homebrew-core/pull/16330)
yarn's DanBuild (see https://github.com/Homebrew/homebrew-core/pull/15173)
this all SGTM 馃憤 馃憤 馃帀
Note that some upstreams have fully automated their use of brew bump-formula-pr as part of their release process.
@sdboyer Do you want to do this? Then probably that issue should be reopened.
yeah, actually, good point, it's worth automating - and I've been meaning to automate generating the binaries, as well. we'll need to do both at once, of course
closing this, we now do it automatically (even though we don't quite seem to be getting the dep version metadata right in brew 馃槩)
Most helpful comment
@AlekSi In terms of poking me, it shouldn't be necessary because the new version will be detected by brew livecheck
so I will know on the next run.
But please feel free to open a PR of your own with bump-formula-pr if you happen to get to it before me.