yuuki / homebrew-gokc

Homebrew formula for gokc
https://github.com/yuuki1/gokc
MIT License
0 stars 1 forks source link

can't install using brew #2

Closed do-su-0805 closed 5 years ago

do-su-0805 commented 5 years ago

Overview

I found that this application can not be installed via brew. Apparently, sha256 of gokc.rb seems to be misaligned. I have created a pull-request for gokc which corresponds to v0.4.0 and v0.4.1 two. Please use whichever you like.

log

[bash] do-su-0805@MBP2018-i7:~ $ brew install gokc
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from ef5366dac to 32d1c688a.
No changes to formulae.

==> Installing gokc from yuuki/gokc
==> Downloading https://github.com/yuuki/gokc/releases/download/v0.4.0/gokc_darwin_amd64.zip
Already downloaded: /Users/do-su-0805/Library/Caches/Homebrew/downloads/1531615b1bb208aff66f56913cc1bdb228e2dac80c6c40975c3231de49d7a774--gokc_darwin_amd64.zip
Error: An exception occurred within a child process:
  ChecksumMismatchError: SHA256 mismatch
Expected: d9272381eae14b3b113dcbea77918be3e978fcbf4a7cf28b4642edbba5d46244
Actual: b0c8ebbed2d1d52f3dd2965bc4fef8d9083b1378aacd4f3961bcee4fadd519d6
Archive: /Users/do-su-0805/Library/Caches/Homebrew/downloads/1531615b1bb208aff66f56913cc1bdb228e2dac80c6c40975c3231de49d7a774--gokc_darwin_amd64.zip
To retry an incomplete download, remove the file above.

日本語 概要

私は、このアプリケーション (https://github.com/yuuki/gokc) が brew 経由で install できないことに気づきました。 どうやら、 gokc.rb に記載のある、sha256 に誤りがあるようです。 私は、 v0.4.0 あるいは v0.4.1 に対応した 2 つの Pull-Request を作りました。 お好きな方をご利用ください。

yuuki commented 5 years ago

Thanks! I have already merged your 0.4.1 fix.

do-su-0805 commented 5 years ago

yy

[bash] do-su-0805@MBP2018-i7:~ $ brew install gokc
==> Installing gokc from yuuki/gokc
==> Downloading https://github.com/yuuki/gokc/releases/download/v0.4.1/gokc_darwin_amd64.zip
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/49673132/5c66bb9e-7949-11e7-96d6-0e4540cc0f43?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190225%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190225T035400Z&
######################################################################## 100.0%
�  /usr/local/Cellar/gokc/0.4.1: 5 files, 2.7MB, built in 6 seconds
[bash] do-su-0805@MBP2018-i7:~ $ gokc -v
gokc version 0.4.1

thanks!