dnscrypt-proxy icon indicating copy to clipboard operation
dnscrypt-proxy copied to clipboard

Brew Package?

Open rr0ss0rr opened this issue 8 years ago • 12 comments

Saw that 2.09 came out but the brew formula hasn't been updated yet for the Mac. Does anyone know the timeframe when this will happen?

Thanks

rr0ss0rr avatar Apr 13 '18 13:04 rr0ss0rr

I made a pull request, and it has been merged in homebrew-core. You should see the result when you brew update. :)

jdmartin avatar Apr 14 '18 07:04 jdmartin

In future I suggest reporting brew formula stuff to https://github.com/Homebrew/homebrew-core. It's also very easy to submit a pull request with a version bump.

publicarray avatar Apr 14 '18 23:04 publicarray

Thanks to all .. Didn't know about homebrew-core .. will take a look

rr0ss0rr avatar Apr 15 '18 15:04 rr0ss0rr

Sebastian .. I'm kind of new to brew ... Are you saying that anyone can submit a brew bump-formula-pr? Would the changes be just the location of the 2.09 tar file and the chksum?

Thanks

rr0ss0rr avatar Apr 15 '18 20:04 rr0ss0rr

Are you saying that anyone can submit a brew bump-formula-pr

yes, anyone with a github account 😄

Would the changes be just the location of the 2.09 tar file and the chksum

With brew bump-formula-pr yes, it's that simple.

Edit: see @jdmartin PR: https://github.com/Homebrew/homebrew-core/pull/26580

publicarray avatar Apr 15 '18 21:04 publicarray

If it helps, this was the exact command used:

brew bump-formula-pr --strict dnscrypt-proxy --url='https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.9.tar.gz' --sha256='482e5ded79cd6b0251fb7aa103c6ee929968a8c3f0903f9730e09631e3963918'

The details came from here: https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md

:)

jdmartin avatar Apr 15 '18 21:04 jdmartin

Thanks .. I was reading up and looking at the commits ... Any idea how some of the verbage got changed ie "using a random resolver." ? I don't see how that could have happened with the bump-formula-pr. Also, my other question was what's the difference between "archive/2.0.9.tar.gz" vs "releases/download/2.0.9/dnscrypt-proxy-macos-2.0.9.tar.gz".

Thanks again

rr0ss0rr avatar Apr 15 '18 21:04 rr0ss0rr

The change to the text still somewhat puzzles me, but I'm new to committing to brew with bump-formula-pr. It was easy enough to revert, but still strange.

For the archive, I just used the archive/2.0.9.tar.gz as the existing formula was pulling the archive version. I'll let smarter people comment on the meaningful differences. ;)

jdmartin avatar Apr 15 '18 21:04 jdmartin

I think the text issue was because your local copy of homebrew-core was not up-to-date when you ran bump-formula-pr. A git pull would have avoided it.

https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.9/dnscrypt-proxy-macos-2.0.9.tar.gz contains the binary and https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.9.tar.gz contains the source code

While I don't mind helping, I personally think that future questions should go to https://discourse.brew.sh

publicarray avatar Apr 15 '18 22:04 publicarray

Oh, of course. That makes total sense.

And yes, I agree. Thanks for your patience with all this. :)

jdmartin avatar Apr 15 '18 22:04 jdmartin

Thanks again

rr0ss0rr avatar Apr 15 '18 23:04 rr0ss0rr

Thanks for understanding and Welcome to the brew community! 😃

publicarray avatar Apr 15 '18 23:04 publicarray