SwiftInfo icon indicating copy to clipboard operation
SwiftInfo copied to clipboard

A checksum was not provided for this resource, when upgrading with brew.

Open byaruhaf opened this issue 5 years ago • 3 comments

Hi

I got the following warning when upgrading with brew.

==> Upgrading rockbruno/swiftinfo/swiftinfo 2.3.10 -> 2.3.11 ==> Downloading https://github.com/rockbruno/SwiftInfo/releases/download/2.3.11/swiftinfo.zip ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/176599382/369ae300-a25d-11ea-82c2-72ce3809b305?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credent ######################################################################## 100.0% Warning: Cannot verify integrity of 32aac5d39164ee68da70ad7412ead817bcc3f3d879417ecc2a48cfc1f6c9b49c--swiftinfo.zip A checksum was not provided for this resource. For your reference the SHA-256 is: 92602f34d828dd70d277fb4dfa46465ae9fadb051c406eb783ca289e692ebeef 🍺 /usr/local/Cellar/swiftinfo/2.3.11: 26 files, 29.8MB, built in 9 seconds Removing: /usr/local/Cellar/swiftinfo/2.3.10... (26 files, 26.4MB) Removing: /Users/alphabo/Library/Caches/Homebrew/swiftinfo--2.3.10.zip... (6.8MB)

byaruhaf avatar Jun 10 '20 07:06 byaruhaf

Hi, this is harmless. I should provide a hash to avoid it though.

rockbruno avatar Jun 10 '20 08:06 rockbruno

Adding the help wanted label because only the author can submit the hash to brew AFAIK :) although it seems to be a low priority task.

rogerluan avatar Jun 18 '20 01:06 rogerluan

Nevermind, I see that this was just left behind on purpose because it requires manual work on every release. So what we're looking for really is a way to automate the distribution of the brew package and its Formula file (including the checksum in the file).

I'm removing the help wanted tag as anyone can open a PR proposing a fix for this :)

rogerluan avatar Jun 18 '20 02:06 rogerluan